View previous topic :: View next topic |
Author |
Message |
Bash[DevNull] Guru


Joined: 10 Oct 2003 Posts: 333
|
Posted: Sat Mar 08, 2008 12:17 am Post subject: apache and default configuration |
|
|
Hello All,
I am little bit confused that new ebuild for apache do not provide full configuration like in old times.
I mean that new httpd.conf is completely clean out, it contains only minimum configuration. It even doesn't have section for INFO/STATUS.
Is there any ability to install full httpd.conf config file? _________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
 |
ckenda1 Tux's lil' helper

Joined: 19 Feb 2004 Posts: 126
|
Posted: Sat Mar 08, 2008 12:26 am Post subject: |
|
|
Some settings have been moved to /etc/apache2/vhosts.d/default_vhost.include and /etc/apache2/vhosts.d/00_default_vhost.conf and 00_default_ssl_vhost.conf
Check those out and you'll see some familiarity!  |
|
Back to top |
|
 |
Evileye l33t


Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Sat Mar 08, 2008 12:37 am Post subject: |
|
|
If you are upgrading from a previous version check out this. It gives you a long command you need to use to add the following to your make.conf.
Code: | APACHE2_MODULES=" " |
My make.conf looks like this..
Code: | APACHE2_MPMS="prefork"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_owner authz_user authz_host autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so spelling status unique_id userdir usertrack vhost_alias" |
|
|
Back to top |
|
 |
Bash[DevNull] Guru


Joined: 10 Oct 2003 Posts: 333
|
Posted: Sat Mar 08, 2008 1:50 am Post subject: |
|
|
ckenda1 wrote: | Some settings have been moved to /etc/apache2/vhosts.d/default_vhost.include and /etc/apache2/vhosts.d/00_default_vhost.conf and 00_default_ssl_vhost.conf
Check those out and you'll see some familiarity! :) |
I've checked them, and still there are no sections like:
<IfDefine INFO>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
</IfDefine>
No AddLanguage
No AddCharset
No log-formats
No config for mod_autoindex
and etc.... _________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
 |
Bash[DevNull] Guru


Joined: 10 Oct 2003 Posts: 333
|
Posted: Sat Mar 08, 2008 1:52 am Post subject: |
|
|
EvilEye wrote: | If you are upgrading from a previous version check out this. It gives you a long command you need to use to add the following to your make.conf.
Code: | APACHE2_MODULES=" " |
My make.conf looks like this..
Code: | APACHE2_MPMS="prefork"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_owner authz_user authz_host autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so spelling status unique_id userdir usertrack vhost_alias" |
|
I am using standard modules and configuration.
USE="ssl -debug -doc -ldap (-selinux) -sni -static -suexec -threads"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -version"
APACHE2_MPMS="-event -itk -peruser -prefork -worker" _________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
 |
Evileye l33t


Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Sat Mar 08, 2008 4:06 pm Post subject: |
|
|
Quote: |
No AddLanguage
No AddCharset
No log-formats
No config for mod_autoindex
and etc.... |
Most of this stuff should be in /etc/apache2/modules.d/
I have the following files in that directory...
Code: | 00_apache_manual.conf 00_mod_log_config.conf 40_mod_ssl.conf
00_default_settings.conf 00_mod_mime.conf 45_mod_dav.conf
00_error_documents.conf 00_mod_status.conf 46_mod_ldap.conf
00_languages.conf 00_mod_userdir.conf 70_mod_php5.conf
00_mod_autoindex.conf 00_mpm.conf 75_mod_perl.conf
00_mod_info.conf 10_mod_mem_cache.conf |
|
|
Back to top |
|
 |
|