FORBIDDEN: Can't access my project. Tried everything. 15 hours spent so far.
Requested information:
Windows 7 32-bit
Apache 2.4.9
PHP 5.5.12
MySQL 5.6.17
WampServer icon: green
Re Question 7:
127.0.0.1 localhost
127.0.0.1 first-project
::1 localhost
::1 first-project
Re Question 8: Yes, I have access to absolutely everything except my procjects (under 'Your Projects').
Re Question 9: Yes, I can access phpMyAdmin.
Re Question 10: 'Forbidden. You don't have permission to access / on this server. Apache/2.4.9 (Win32) PHP/5.5.12 Server at first-project Port 80.'
Re Question 11: Windows Firewall and Microsoft Security Essentials.
Re Question 12: C:\wamp.
----------------------------
Hello everyone
I wonder if you might be able to help me with this damned thing. I've spent over fifteen hours on this so far today and have now reached the point of delirium.
I am trying to set up WampServer so that I can test a contact form script for my website. As I fully expected before I even started this, nothing worked properly. To cut a long story short, I eventually found this thread:
[
forum.wampserver.com]
I have followed every stage of those instructions, and confirmed that everything was working with a green WampServer icon after each and every change that I made. I can access everything in Local Host and phpMyAdmin except for my project files. The error I get is this:
Forbidden. You don't have permission to access / on this server. Apache/2.4.9 (Win32) PHP/5.5.12 Server at first-project Port 80.
I have been through every thread I can find on the subject, mainly on StackOverflow, and I found that either my configuration already had what appeared to be the suggested settings, or that what was indicated didn't seem to exist in the indicated form in my set-up.
Just in case this is of any significance, I tried a 'ping localhost' command (as suggested in a different forum) and it came back as an under 1ms reply from ::1:.
---------------------------
My Apache access log has this in it (not the whole file, just the latest end of it):
token=7943b7d5e8345d2493a556c9b8b8f765&scripts[]=jquery/jquery-1.8.3.min.js&scripts[]=ajax.js&scripts[]=keyhandler.js&scripts[]=jquery/jquery-ui-1.9.2.custom.min.js&scripts[]=jquery/jquery.sprintf.js&scripts[]=jquery/jquery.cookie.js&scripts[]=jquery/jquery.mousewheel.js&scripts[]=jquery/jquery.event.drag-2.2.js&scripts[]=jquery/jquery-ui-timepicker-addon.js&scripts[]=jquery/jquery.ba-hashchange-1.3.js&scripts[]=jquery/jquery.debounce-1.0.5.js&scripts[]=jquery/jquery.menuResizer-1.0.js&scripts[]=cross_framing_protection.js&scripts[]=rte.js&scripts[]=tracekit/tracekit.js&scripts[]=error_report.js&scripts[]=doclinks.js&scripts[]=functions.js&scripts[]=navigation.js&scripts[]=indexes.js&scripts[]=common.js&scripts[]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/sql/sql.js&scripts[]=codemirror/addon/runmode/runmode.js HTTP/1.1" 200 1039434
127.0.0.1 - - [17/Dec/2014:20:42:21 +0000] "GET /phpmyadmin/version_check.php?&_nocache=1418848940935634221 HTTP/1.1" 200 39
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET / HTTP/1.1" 200 4929
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=gifLogo HTTP/1.1" 200 4549
127.0.0.1 - - [17/Dec/2014:20:44:26 +0000] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
----------------------------------
My Apache error log shows the following (again, just the latest end of the file):
Starting 64 worker threads.
[Wed Dec 17 20:17:16.339090 2014] [mpm_winnt:notice] [pid 2808:tid 396] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Dec 17 20:17:18.367094 2014] [mpm_winnt:notice] [pid 4648:tid 312] AH00364: Child: All worker threads have exited.
[Wed Dec 17 20:17:18.429494 2014] [mpm_winnt:notice] [pid 2808:tid 396] AH00430: Parent: Child process 4648 exited successfully.
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Wed Dec 17 20:17:20.114297 2014] [mpm_winnt:notice] [pid 3108:tid 396] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Wed Dec 17 20:17:20.114297 2014] [mpm_winnt:notice] [pid 3108:tid 396] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Wed Dec 17 20:17:20.114297 2014] [core:notice] [pid 3108:tid 396] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Wed Dec 17 20:17:20.114297 2014] [mpm_winnt:notice] [pid 3108:tid 396] AH00418: Parent: Created child process 5456
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Wed Dec 17 20:17:20.722698 2014] [mpm_winnt:notice] [pid 5456:tid 312] AH00354: Child: Starting 64 worker threads.
---------------------------------------------
I have been through everything I can find mentioned to do with the following files:
Wampmanager.tpl
Httpd-vhosts.conf
Hosts (in Windows System 32 drivers)
Httpd.conf
Phpmyadmin.conf
Anything I changed in any of these files was copied from the original setting, then the original setting commented out to preserve it. Afterwards the things I tried were deleted and the original settings un-commented to restore them. I used administrator access to edit files where instructed. After every stage of every single change I confirmed I still had the green WampServer icon, which I had throughout.
I have no idea what else to try as I have now got to the stage of having read everything available and keep coming up with the same information when I search for answers.
Thank you very much in advance if you can advise me what might be wrong. I must admit that this has turned out precisely as I expected, although I did dare to hope that it might be a straight forward case of installing the program, then using it!