View previous topic :: View next topic |
Author |
Message |
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Mon Jan 24, 2011 7:30 pm Post subject: Looking for a Howto for Apache2 |
|
|
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 |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 621 Location: Yeovil, Somerset, UK
|
Posted: Tue Jan 25, 2011 12:27 am Post subject: Re: Looking for a Howto for Apache2 |
|
|
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 |
|
|
forrestfunk81 Guru
Joined: 07 Feb 2006 Posts: 565 Location: münchen.de
|
Posted: Tue Jan 25, 2011 10:13 am Post subject: |
|
|
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Jan 25, 2011 10:32 am Post subject: Re: Looking for a Howto for Apache2 |
|
|
@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 |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 25, 2011 4:51 pm Post subject: |
|
|
@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 |
|
|
|