A Fishy Wiki

Stuff and things

User Tools

Site Tools


Apache Config Tweaks

Don't show the server version

Add to apache2.conf

ServerTokens ProductOnly
ServerSignature Off

Proxy example vhost

<VirtualHost *:80>
    ServerName example.org
    ProxyRequests off
    ProxyPreserveHost On
    SSLProxyEngine on
    SSLProxyVerify none 
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off
    DocumentRoot /var/www/html/generic
    ProxyPass /e/ !
    ErrorDocument 503 /e/503.html
    ProxyPass / http://host.example.com/
    ProxyPassReverse /  http://host.example.com/
/var/www/dokuwiki/data/pages/admin/apache.txt ยท Last modified: 2019-03-17 07:57 by Tom