anujgarg Posted May 20, 2009 Share Posted May 20, 2009 Hi Everyone, Previously, I was using the following versions for my working setup: Apache 2.0.63 PHP 5.1.3 But now I have upgraded these two by following: Apache 2.2.11 (with openssl enabled) PHP 5.2.9 The problem that I am facing is "Forbidden...You don't have permission to access / on this server." This error message comes all the time when I open the http://localhost on the web browser. And also at the time when I open the direct path to my DocumentRoot that has been set to D:/web. I have four directories under D:/web. The directory names are as follows for D:/web: secure mml mm share I have changed the file httpd.conf accordingly (after googling a lot) but nothing happened. I am also looking for the ssl to be enabled in my Apache. For that I have used openssl and generated the key. Please suggest me how to get rid of the error message: "Forbidden...You don't have permission to access / on this server." Also, to configure the ssl in Apache 2.2.11 TIA Anuj Link to comment https://forums.phpfreaks.com/topic/158927-forbiddenyou-dont-have-permission-to-access-on-this-server/ Share on other sites More sharing options...
anujgarg Posted May 20, 2009 Author Share Posted May 20, 2009 I found following on the site of Apache itself: Search your conf/httpd.conf file for this exact string: <Files ~>. If you find it, that's your problem -- that particular <Files> container is malformed. Delete it or replace it with <Files ~ "^\.ht"> and restart your server and things should work as expected. I applied same in my httpd.conf but it did not work Link to comment https://forums.phpfreaks.com/topic/158927-forbiddenyou-dont-have-permission-to-access-on-this-server/#findComment-838177 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.