logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_access_compat and Apache 2.4 not working?
Author
Igor



Joined: 19 Jul 2013
Posts: 2

PostPosted: Sat 20 Jul '13 0:30    Post subject: mod_access_compat and Apache 2.4 not working? Reply with quote

Hi,

I was using Apache 2.2.x from ApacheLounge for years (thx for the good work!).

I now upgraded to Apache 2.4.x.

I am not yet ready to migrate an application to the new access control system. I thought that I can keep the old

Quote:

<Directory "D:/Sites/example.org">
AllowOverride All
Options +ExecCGI

Order allow,deny
Allow from all

</Directory>


configuration directive, thanks to mod_access_compat.

But this seems not to work.

I also found a bug report on Debian's bug tracker, where someone else experienced the same problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710412


So my question:
1) Should the old access control still work in 2.4?

2) Did somebody get mod_access_compat with old access control working with 2.4?

3) Am I doing something wrong? Smile


Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 22 Jul '13 12:30    Post subject: Reply with quote

I've tried it and it works fine for me.


And error message do you get? Apache does not start?

Tried httpd -S ?
Back to top
Igor



Joined: 19 Jul 2013
Posts: 2

PostPosted: Mon 22 Jul '13 15:57    Post subject: Reply with quote

Hi,

Apache was able to start, no error.

But when accessing a site, this was logged

Code:

[Mon Jul 22 15:43:21.621496 2013] [core:error] [pid 3988:tid 952] [client 127.0.0.1:49234] AH00027: No authentication done but request not allowed without authentication for /. Authentication not configured?

While preparing a testcase for this thread I disable almost everything in my CFG and got

Code:
[Mon Jul 22 15:45:15.798096 2013] [core:crit] [pid 224:tid 944] [client 127.0.0.1:49242] AH00025: configuration error:  couldn't check user: /

This error helped me to find out, that authz_core_module is required.

I now enabled authz_core_module on my realy system and my 2.2.x configuration seems to work with 2.4.x as expected.
Back to top


Reply to topic   Topic: mod_access_compat and Apache 2.4 not working? View previous topic :: View next topic
Post new topic   Forum Index -> Apache