Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache and default configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Sat Mar 08, 2008 12:17 am    Post subject: apache and default configuration Reply with quote

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
View user's profile Send private message
ckenda1
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2004
Posts: 126

PostPosted: Sat Mar 08, 2008 12:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Sat Mar 08, 2008 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Sat Mar 08, 2008 1:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Sat Mar 08, 2008 1:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Sat Mar 08, 2008 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum