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

Access forbidden (3 replies)

$
0
0
I have installed Wampserver 3.0.4 successfully and have tested some simple PHP files.
I want to be able to view these files from different devices all on my LAN.
I have viewed many pages of hints and tips as to how to allow access to the Wampserver installation files.
Some of these do not appear to refer to the my versions of Apache, PHP or MySQL.
This has resulted in my being unable to get the access correct.

I run all my PCs with Windows 10 64bit.
They are all connected using a single router which has allocated static IPs to all the devices including the Wi-Fi devices I want to test access to the files from

Wampserver 3.0.4 32 bit.
Icon is green and has been put online.
I am using NetBeans IDE 8.1 to control my files.
I have added Virtual Hosts for the project PHPtesting which is in the path C:/wamp/www/phptesting.
I found that the access from another PC on the LAN was getting the response

Forbidden
You don't have permission to access /phptesting/adduser.php on this server.

--------------------------------------------------------------------------------

Apache/2.4.18 (Win32) PHP/5.6.19 Server at vbxwa2 Port 80

I also noted that the Apache error log had the entry

[Sun Jul 31 11:38:29.242177 2016] [authz_core:error] [pid 7828:tid 1188] [client 192.168.1.3:60105] AH01630: client denied by server configuration: C:/wamp/www/phptesting/adduser.php

and the Apache access log had the entry

192.168.1.3 - - [31/Jul/2016:11:38:29 +0100] "GET /phptesting/adduser.php HTTP/1.1" 403 313

I can provide the current httpd.conf, httpd-vhosts.conf and php.ini which I guess are too big to include here.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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