Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WAMP 2.5 (apache 2.4.9, MySql 5.6.17 PHP 5.5.12) Local net problems

27 views
Skip to first unread message

bir...@bredelund.dk

unread,
May 27, 2017, 7:43:48 AM5/27/17
to
Small web server running in Win7.
A few domains and my own email server (hMail).
In local network with 3-8 other PC's (Win7, Vista, XP).
And it is atually working fine.
(Problem may be a windows networking problem...)

I can access phpmyadmin via internet (http://my.ip.adress/phpmyadmin).

I would like to access phpmyadmin from the local network, and block all access from internet.
Like http://servername/phpmyadmin

Problem is, that when I do, I get a 403 error.

Config of phpmyadmin is like this:
<Directory "path to phpMyAdmin4.5.2/">
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Require all denied
Require local
Require ip 192.168.1
Require ip "my.ip.adress"
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>

In access.log, I get:
"a mac-adress" - - [27/May/2017:11:53:10 +0200] "GET /phpmyadmin HTTP/1.1" 403 180
That is access-denied, dispite the "Require local" and "Require 192.168.1", that should allow all PC's on the local net access.

Any way to get around this?
Can't find autorization involving mac-adresses...
Or is this using mac-adresses instead of local ip, a Window "feature"?
And if it is, how do I turn it off?

paezkr...@gmail.com

unread,
Jul 29, 2019, 12:11:22 AM7/29/19
to
0 new messages