cirene Posted July 12, 2008 Share Posted July 12, 2008 I installed wamp, the latest version. I went into httpd.confg and changed the document root to my projects directory... DocumentRoot "f:/work-related/websites/" I have an index.html file in this directory. I restart all services. When I goto http://localhost/index.html I get... 403 Forbidden You don't have permission to access /index.html on this server. Any idea what I'm doing wrong? Thanks! Link to comment https://forums.phpfreaks.com/topic/114367-solved-you-dont-have-permission-to-access-indexhtml-on-this-server/ Share on other sites More sharing options...
DarkWater Posted July 12, 2008 Share Posted July 12, 2008 I think there's like, a Deny from all line in some WAMP configuration file. Look for it or Google it. Link to comment https://forums.phpfreaks.com/topic/114367-solved-you-dont-have-permission-to-access-indexhtml-on-this-server/#findComment-588113 Share on other sites More sharing options...
cirene Posted July 12, 2008 Author Share Posted July 12, 2008 Thanks for your response. My wampserver.conf file is simply this... <?php $apacheConf['apacheExeDir'] = 'bin'; $apacheConf['apacheConfDir'] = 'conf'; $apacheConf['apacheExeFile'] = 'httpd.exe'; $apacheConf['apacheConfFile'] = 'httpd.conf'; $apacheConf['apacheServiceInstallParams'] = '-n wampapache -k install'; $apacheConf['apacheServiceRemoveParams'] = '-n wampapache -k uninstall'; ?> It must be something else. I did notice some sections like this in my httpd.confg... <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> Am I close? Any ideas? Link to comment https://forums.phpfreaks.com/topic/114367-solved-you-dont-have-permission-to-access-indexhtml-on-this-server/#findComment-588114 Share on other sites More sharing options...
DarkWater Posted July 12, 2008 Share Posted July 12, 2008 Precisely. <Directory /> Options FollowSymLinks AllowOverride All Order allow, deny Allow from all </Directory> I changed the access and AllowOverride so you can use .htaccess files too. Link to comment https://forums.phpfreaks.com/topic/114367-solved-you-dont-have-permission-to-access-indexhtml-on-this-server/#findComment-588117 Share on other sites More sharing options...
cirene Posted July 12, 2008 Author Share Posted July 12, 2008 DarkWater u r awesome! Thanks very much. Link to comment https://forums.phpfreaks.com/topic/114367-solved-you-dont-have-permission-to-access-indexhtml-on-this-server/#findComment-588118 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.