Menu

Home

Leander Schäfer




You may want to add an Apache vHost if you

because Apache can proxy in order to aim for a) and secure by the help of SSL in order to aim for b)




here is a solution for a)

ProxyErrorOverride  On
ProxyPreserveHost   On
ProxyRequests       Off
ProxyVia            Off
ProxyPass           /favicon.ico !
ProxyPass           /awstatsclasses/ !
ProxyPass           /awstatscss/ !
ProxyPass           /awstatsicons/ !
ProxyPass           /awstats/ !
ProxyPass           /stats !
ProxyPass           /error/ !
ProxyPass           / http://127.0.0.1:3689/
ProxyPassReverse    / http://127.0.0.1:3689/

into the relevant section of your SSL vHost configuration (e.g. apache24/extra/httpd-ssl.conf)

Please note that I have AWStats as well as individual HTTP-error sites on this vHost as well - you may want to leave those lines out, if you don't have such a setup.



and here is a solution for b)

ServerAdmin    User@MyDomain.TLD
DocumentRoot   "/usr/local/www/Firefly.MyDomain.TLD"
ServerName     Firefly.MyDomain.TLD:80
ServerAlias    www.Firefly.MyDomain.TLD
Redirect       permanent / https://Firefly.MyDomain.TLD/

into the relevant section of your regular vHost configuration (e.g. apache24/extra/httpd-vhosts.conf)




Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.