Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Looking for a Howto for Apache2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Mon Jan 24, 2011 7:30 pm    Post subject: Looking for a Howto for Apache2 Reply with quote

Hi, i want to use apache2 under my gentoo linux, to do this i need a simple howto where everything is easily explained (the conf. files) can somebody recommend me a good howto or tutorial?

Looked already with google but only found some bad described howtos

Best Regards
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Tue Jan 25, 2011 12:27 am    Post subject: Re: Looking for a Howto for Apache2 Reply with quote

Have a look in the Gentoo Docs. Goto http://www.gentoo.org and follow the Docs link. There are a couple of guides there.

As far as I know the Gentoo install is the same as Apache themselves would do.

Gentoo specific
==========

/etc/conf.d/apache in which you turn on and off features with -D options. Look in /etc/apache2/modules.d files for what the -D options are and also the comments in the file.

/etc/make.conf to add/remove Apache modules:
Code:

APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd \
                 authn_dbm authn_default authn_file authnz_ldap authz_dbm \
                 authz_default authz_groupfile authz_host authz_owner \
                 authz_user autoindex cache cgi cgid dav dav_fs dav_lock \
                 dbd deflate dir disk_cache env expires ext_filter file_cache \
                 filter headers ident imagemap include info ldap log_config \
                 logio mem_cache mime mime_magic negotiation proxy proxy_ajp \
                 proxy_balancer proxy_connect proxy_http rewrite setenvif so \
                 speling ssl status suexec unique_id userdir usertrack vhost_alias"


/etc/apache2 is where all the configuration is and /var/www/<hostname> is where the content is.

If you set USE=vhost then you can have /var/www/<vhost> and you have to use webapp-config to install/upgrade/delete webapps, otherwise everything ends up in /var/www/localhost.

Apart from the above I think you can use Apache's excellent docs to do the rest.

Cheers
Jon
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Tue Jan 25, 2011 10:13 am    Post subject: Reply with quote

You can take a look at http://en.gentoo-wiki.com/wiki/Apache. This site is very simple, but there are some further links to more detailed docs.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Jan 25, 2011 10:32 am    Post subject: Re: Looking for a Howto for Apache2 Reply with quote

@selberbauer
After setting up the basics, do not forget to check the upstream documentation. Apache's httpd is well documented and there are also good and helpful newsgroups.
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Tue Jan 25, 2011 4:51 pm    Post subject: Reply with quote

@gerdes
Gentoo has many Manueals but i didnt found one for apache2

@forrestfunk81
the wiki says only how to emerge - so it tells the easiest to do

@charles
i looked threw it but there are some things missing

maybe it ist better when there is a working apache2 httpd.conf with good comments, the default .conf ist realy helpful

Best Regards
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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