"You don't have permission to access / on this server"
I've searched numerous forums looking to find the answer to this problem. I have tried several and to no avail. Any help anyone can provide would be greatly appericated. I created and installed a basic Drupal site. I copied the "Drupal" database into a new database and named it "sandbox". I granted all permissions to user "adminsanbox" @localhost. I set the settings.php in the /wamp/www/drupal/sites/sandbox equal to the database settings $db_url = 'mysql://adminsandbox:pwd@localhost/adminsandbox';
I uncommented 'Include conf/extra/httpd-vhosts.conf' in the wamp\bin\apache\apache2.2.8\conf\httpd.conf .
The '\conf\extra\vhost' contains
NameVirtualHost *:80
ServerName sandbox
DocumentRoot /www/drupal/sites/
I also tried adding this block of code to vhost
NameVirtualHost *:80
ServerName sandbox
DocumentRoot /www/drupal/sites/
directory /wamp/www/drupal
AllowOverride All
[/directory]
**when I added the "directory" block, wamp would not come online - I received an error msg. Only when I returned the vhost to it's original state was I able to get wamp back online (thank goodness for "copy"-the orignal file before making any changes)
I've tried changing the name of the .htaccess file in "/wamp/www/drupal" to see if I would be able to access the site without .htaccess - received same message "You don't have permission to access/on this server".
Here's the error message from the log: [Sat Jul 05 21:54:43 2008] [error] [client 127.0.0.1] client denied by server configuration: C:/www
I know this error message has to do with permissions & Apache but I've finally hit the wall after 5 days. Please help :-)
Comments
Did you actually put the
Did you actually put the server online by selecting the "Put Online" option after clicking on the tray icon?
Surprised no one responded. This irresponsiveness is one of the problems that prevents more people from engaging with Drupal.
Thank You
Hi Taron,
Thank you for taking the time to respond :-)! All is well now. I received some assistance from a friend at work.
In the future
if you have found a solution... could you post it?