rahulkadukar Posted August 8, 2010 Share Posted August 8, 2010 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 Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/210128-access-forbidden-error-403/ Share on other sites More sharing options...
wildteen88 Posted August 8, 2010 Share Posted August 8, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/210128-access-forbidden-error-403/#findComment-1096648 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.