No subject


Wed Mar 7 00:37:19 UTC 2012


it.

I Will take phpMyAdmin for example, stock config.

By default, access is denied.

So even with

<Directory /usr/share/phpMyAdmin/>
   order deny,allow
   deny from all
   allow from 127.0.0.1
   allow from ::1
</Directory>

I got an "access denied" (from authz_core)

[authz_core:error] [pid 10848] [client ::1:59237] AH01630: client denied
by server configuration: /usr/share/phpMyAdmin/, referer: http://localhos=
t/

After adding a trivial default access with

	<Directory />
		Require all granted
	</Directory>

phpMyAdmin works, and mod_access_compat allow to protect some folders

Example, with

<Directory /usr/share/phpMyAdmin/setup/lib>
    Order Deny,Allow
    Deny from All
    Allow from None
</Directory>


I got the expected "access denied" (from access_compat)

[access_compat:error] [pid 11130] [client ::1:59330] AH01797: client
denied by server configuration:
/usr/share/phpMyAdmin/setup/lib/common.inc.php


So I mainly see 2 options

1/ allow default access
	seems really uggly...

2/ fix all web app in fedora 18
	just a big job...


Perhaps there is another solution... any idea ?


Regards,
Remi


More information about the devel mailing list