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! Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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.