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

"403 Forbidden" on LAN after updating WAMP and Apache (1 reply)

$
0
0
Hello,

I just updated my WAMP to version 3.3.3 and Apache to 2.4.58.1 x64. And I can no longer access my websites over LAN – I get the "403 Forbidden" error.

I checked – the settings in \wamp64\alias\phpmyadmin.conf remain unchanged:


Alias /phpmyadmin "c:/wamp64/apps/phpmyadmin5.2.1/"

<Directory "c:/wamp64/apps/phpmyadmin5.2.1/">
<ifDefine APACHE24>
Require local
Require ip 192.168.1
</ifDefine>
<ifDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
Allow from 192.168.1
</ifDefine>
# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>

I also noticed that all my virtual hosts have been deleted during the update – from both the

\wamp64\bin\apache\apache2.4.58.1\conf\extra\httpd-vhosts.conf – new version

and

\wamp64\bin\apache\apache2.4.54.2\conf\extra\httpd-vhosts.conf – old version.

This happened despite selecting the option to transfer the settings during the update, as I have done during previous updates.

I have now recreated all my virtual hosts and they work.


EDIT: I have also manually added "Require ip 192.168.1" to each virtual host, so it now looks like this:


"<VirtualHost *:80>
ServerName vinyls
DocumentRoot "c:/wamp64/www/vinyls"
<Directory "c:/wamp64/www/vinyls/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>


But the problem persists. Please help.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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