A Google Csoportok már nem támogatja az új Usenet-bejegyzéseket és -feliratkozásokat. A korábbi tartalmak továbbra is megtekinthetők.

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

18 megtekintés
Ugrás az első olvasatlan üzenetre

bir...@bredelund.dk

olvasatlan,
2017. máj. 27. 7:43:482017. 05. 27.
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

olvasatlan,
2019. júl. 29. 0:11:222019. 07. 29.
0 új üzenet