Big pipe server/Services/Apache
From Whitespace (Hackerspace Gent)
< Big pipe server | Services(Difference between revisions)
| Line 3: | Line 3: | ||
<pre> | <pre> | ||
# apt-get install apache2 | # apt-get install apache2 | ||
| + | </pre> | ||
| + | * General config: | ||
| + | <pre> | ||
| + | vi /etc/apache2/conf.d/security | ||
| + | ServerTokens Prod | ||
| + | ServerSignature Off | ||
</pre> | </pre> | ||
* Enable user-dir: | * Enable user-dir: | ||
Revision as of 17:30, 13 August 2011
Document Apache config
- Install apache:
# apt-get install apache2
- General config:
vi /etc/apache2/conf.d/security ServerTokens Prod ServerSignature Off
- Enable user-dir:
# cd mod_userdir # ln -s ../mods-available/userdir.load userdir.load # ln -s ../mods-available/userdir.conf userdir.conf