Jump to content

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 jeff8j@gmail.com

#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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.