Unable to access within LAN
Posted by: rui (168.121.252.---)
Date: April 25, 2019 08:08PM

I am trying to access a website I installed on a PC in my LAN and it is not being allowed. I went through many forum threads and I am still stucked.
On PC A (fixed IP address 192.168.55.34) with Win10 home I am running Wampserver64. On top of it I installed the website Projeqtor (projeqtor.org). If I try to access this website from this same PC (localhost 127.0.0.1), it works perfectly.
On PC B on the same LAN (dynamic IP address 192.168.55.*) also with Win10 home I try to access that website using “192.168.55.34/projeqtor” and it says “Forbidden – You don’t have permission to access /projeqtor/ on this sever”.
On the Apache access.log of PC A I get the errors:
192.168.55.48 - - [25/Apr/2019:14:21:32 -0300] "GET /projeqtor HTTP/1.1" 403 307
192.168.55.48 - - [25/Apr/2019:14:21:32 -0300] "GET /favicon.ico HTTP/1.1" 403 309
I am running Wampserver64 build 3.1.7. Below I show my configuration files, but only those lines that might be related with the remote access as the local access works perfectly well:

On httpd.conf of Apache, I have:

Listen 0.0.0.0:80
Listen [::0]:80

<Directory “$(INSTALL_DIR)/www/”>

Require all granted (I know that this is not recommended, but I am opening this until the problem is fixed)
</Directory>


On httpd-vhosts.conf of Apache, I have:
<VirtualHost *:80>
DocumentRoot "c:/wamp64/www/projeqtor"
ServerName projeqtor
ServerAlias projeqtor
<Directory "c:/wamp64/www/projeqtor">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

On phpMyAdmin.conf of Apache, I have:
<Directory "c:/wamp64/apps/phpmyadmin4.8.4/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all
<ifDefine APACHE24>
Require all granted
</ifDefine>
<ifDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</ifDefine>


The Windows Defender firewall is deactivated.

What am I missing?
It seems that the error is related with permissions but I wide opened all the accesses.
Thank you

Options: ReplyQuote
Re: Unable to access within LAN
Posted by: rui (168.121.252.---)
Date: April 25, 2019 11:09PM

I was able to solve it
On httpd-vhosts, besides granting permissions to the c:/wamp64/www/projeqtor folder, I also need to give permissions to the c:/wamp64/www folder

Options: ReplyQuote


Sorry, only registered users may post in this forum.