Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Apache 2.4.18 Win10 no permission to access 403 (6 replies)

$
0
0
I've used Wampserver many times over the years. I've spent a day, including a full reinstall, and many hours with Google FAILING to install it on a new machine on my LAN.

On a "simple" LAN, with some Win7, some Win10 machines, I put the Wampserver current 15 Jly 16 (details below) on a "virgin" Win10 machine. The machine has a static local IP address. Access to index.php works fine from the machine the server is on.

If I put the machine's IP address into a browser running on a different machine on the LAN, I get an "answer" from the server: "Forbidden. You don't have permission to access / on this server."

The server's access log shows the attempt...

192.168.0.2 - - [15/Jul/2016:18:55:45 +0100] "GET / HTTP/1.1" 403 298

The server's error log shows...

[Fri Jul 15 18:55:45.236345 2016] [authz_core:error] [pid 352:tid 1144] [client 192.168.0.2:2031] AH01630: client denied by server configuration: C:/wamp/www/

====
So I'm thinking that there isn't a firewall issue, or somesuch? Or that the Apache is poorly installed? (Yes, I installed the VC++ redistribs... as admin. 32 AND 64 bit versions. Before Wampserver.)

Am I too optimistic? Does the exchange of messages between client and server make a firewall, etc, issue unlikely as culprit?

====
I've spent hours on the <Directory "c:/wamp/www/"> block of httpd.conf file. My fingers do "save file"/"restart Apache"/Retry fetching webpage on autopilot.

The number of variations out on the web as to what you do and do not need there boggle the mind... it seems that the move to Apache 2.4 from earlier is leaving some very confused httpd.conf files in its wake! Scraps of the old mixed up with "the right way" from the new. I've tried to consider carefully how "authoritative" the sources I've used have been.

====
I'd like to avoid all the complexities of Virtual Hosts. I've never needed them before. My wants are very modest. (I'll try to "be good", and try Virtual Hosts later... once I get the basic Wampserver working! I don't want to start working on "extra" stuff before "the basics" work, do I? How do I know if any problems lie in the Virtual Host element or the foundations?)

====
Where do you think I should put my next debugging energies?

Tom

File I downloaded, installed, on my 64 Bit Win 10 machine....

wampserver3.0.4_x86_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4

Wampserver's index.php reports....


Version 3.0.4 - 32bit

Server Configuration

Apache Version:
2.4.18 - Documentation
PHP Version:
5.6.19 - Documentation
Server Software:
Apache/2.4.18 (Win32) PHP/5.6.19 - Port defined for Apache: 80

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>