Everything is working fine - hosting a couple of my own sites, but would like to be able to maintain them from other PC's on the LAN.
Works fine, except for phpmyadmin
.
Everything is set up to be able to do so.
On other PC's I get a 403 error (access denied - and apache's logs tells me it is caused by server configuration).
I have to use the PC's name, tho - using localhost
, actual IP, or 127.0.01 gives a server not found from the browser - but this would be OK, as I only want access from LAN - not from the internet.
In \wamp\alias\phpmyadmin.conf
I have:
Alias /phpmyadmin "Q:/wamp/apps/phpMyAdmin4.5.0.2/"
\# to give access to phpmyadmin from outside
\# replace the lines
\#
\# Require local
\#
\# by
\#
\# Require all granted
\#
<Directory "Q:/wamp/apps/phpMyAdmin4.5.0.2/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<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>
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>
Also I tried adding this to Q:\wamp\bin\apache\apache2.4.9\conf\httpd.conf
:
<Directory "Q:/wamp/apps/phpMyAdmin4.5.0.2">
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Require local granted
Allow from localhost ::1 127.0.0.1
</Directory>
But to no avail - all i can get is a 403 access denied or allow everybody access to my databases - which is not really useful, as it does not even ask for a password...
which is not really usefull either... ;) – Birger Sørensen Nov 06 '15 at 16:22