Jump to content

Access forbidden! Error 403


rahulkadukar

Recommended Posts

Hi All,

 

I have XAMPP installed on Windows 7 and I changed the following settings in the httpd.conf file

 

#

# DocumentRoot: The directory out of which you will serve your

# documents. By default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.

#

DocumentRoot "C:/Rahul Kadukar/Coding/PHP"

 

I changed this from the default htdocs location but now when I try to open the address

 

http://127.0.0.1 I get the Error shown above. Can anyone help me please  :confused:

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/210128-access-forbidden-error-403/
Share on other sites

Make sure you have reflected this change a few lines further down (the <Directory></Directory>) bit

<Directory "C:/Program Files/XAMPP/htdcos">
... etc ... 
</Directory>

Change C:/Program Files/XAMPP/htdocs (or whatever the old path was) to your new path. Save the httpd.conf and restart Apache

 

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.