Jump to content

Apache changed foler problem


Guest

Recommended Posts

I have changed my www folder to /media/Drive2/projects/localserver/www/ but now I keep getting a 403 error.

I have changed the owner to www-data even chmodded it to 777 for now

 

here is my default website config

<VirtualHost *:80>
ServerName usualbeings.com
ServerAlias *.usualbeings.com
ServerAdmin [email protected]

#DocumentRoot /var/www
DocumentRoot /media/Drive2/projects/localserver/www/
<Directory /media/Drive2/projects/localserver/www/>
	Options FollowSymLinks
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>
</VirtualHost>

 

And this is the error I am getting in the error.log

[Tue Mar 01 07:48:53 2011] [crit] [client 127.0.0.1] (13)Permission denied: /media/Drive2/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

 

I cant figure out why in the world its trying to read /media/Drive2/.htaccess it should be trying to read /media/Drive2/projects/localserver/www/.htaccess

Link to comment
https://forums.phpfreaks.com/topic/229248-apache-changed-foler-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.