Tuesday, March 23, 2010

403 forbidden error fix.

Problem:

Gettng a 403 error whilst accessesing a new directory/application

I messed around with .htaccess and all the conf files for 4 hours. NOT IT.

Solution: Apache needs to be the owner, so it can do edits and access.

As root
%: chmod 755 -R //
%: chown apached /

From a browser access http://localhost/drupal

Now it works.

Damn it.

No comments:

Post a Comment