Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

apache2.4 seems to ignore access_compat module

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
bastibasti
Guru
Guru
Posts: 590
Joined: Mon Nov 27, 2006 6:34 am

apache2.4 seems to ignore access_compat module

  • Quote

Post by bastibasti » Thu Dec 08, 2016 6:36 pm

hi,

i have installed

Code: Select all

[ebuild   R    ] www-servers/apache-2.4.23-r2:2::gentoo  USE="ssl -debug -doc -ldap (-libressl) (-selinux) -static -suexec -threads" APACHE2_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers imagemap include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -cern_meta -charset_lite -dbd -dumpio -http2 -ident -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -prefork -worker" 0 KiB
and enabled the module in httpd.conf

Code: Select all

LoadModule access_compat_module modules/mod_access_compat.so
but however my error-log states

Code: Select all

AH01630: client denied by server configuration:
(and I get a 403) - if I use the 2.4 syntax the 403 is not shown any longer. so it seems the access_compat module is inop. any advice??

[Moderator edit: added

Code: Select all

 tags to preserve output layout. -Hu][/color][/i]
Top
gerdesj
l33t
l33t
User avatar
Posts: 622
Joined: Thu Sep 29, 2005 1:44 pm
Location: Yeovil, Somerset, UK
Contact:
Contact gerdesj
Website

Re: apache2.4 seems to ignore access_compat module

  • Quote

Post by gerdesj » Mon Dec 26, 2016 11:17 pm

Never used it myself but have a look in /etc/apache2/modules.d and grep for "compat" There may be a config for it with a corresponding -D option to put in /etc/conf.d/apache2 (can't check now: big emerge running on my laptop - sorry)

I can't recall ever having to resort to editing httpd.conf to get a module running.

If there isn't a modules.d entry then I recommend that you create one - see https://wiki.gentoo.org/wiki/Apache#Files - that way you will avoid messing with httpd.conf which may be overwritten on updates or at least avoid dealing with etc-update/dispatchconf for it.

Cheers
Jon
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic