Jump to content

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

 

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.