Yii Framework Forum: Apache2 Error Log Reports File Does Not Exist - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Apache2 Error Log Reports File Does Not Exist Rate Topic: -----

#1 User is offline   webdbapps 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 27-July 12

Posted 27 July 2012 - 01:38 PM

Hi,

I'm running an Ubuntu 12.04 server with Apache2 and have uploaded my application to /var/www/

The site loads fine. However, I receive an HTTP404 when I try to login. The error.log in /var/log/apache2 states file does not exist for the CSS, images folders and for favicon. These do exist but are not being rendered nor is the login process working. How can I resolve these issue?

Thanks,
Sid
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,336
  • Joined: 12-October 09
  • Location:Croatia

Posted 27 July 2012 - 06:53 PM

could be a permission problem... check if the web user has access and appropriate permissions to the mentioned folders/files
Find more about me.... btw. Do you know your WAN IP?
0

#3 User is offline   webdbapps 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 27-July 12

Posted 27 July 2012 - 09:13 PM

I gave www-data ownership of /var/www. The error now shows /users/login calamity be found.
0

#4 User is offline   chalist 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 16-December 12

Posted 06 January 2014 - 05:24 PM

I have this error and I write answer for other users that may have this error.

change AllowOverride to All in /etc/apache2/sites-available/default.
<?php 
/*
 * codeless documentation
 */
?>

@chalist
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users