ServerAlias sunny.wleiden.net DocumentRoot /usr/local/www/empty # RewriteEngine On # RewriteRule ^/$ /wleiden/ [R] ErrorLog "/var/log/httpd/sunny.wirelessleiden.nl-error.log" CustomLog "/var/log/httpd/sunny.wirelessleiden.nl-access.log" combined DirectoryIndex index.html Allow from all # Main Index page DirectoryIndex index.html Allow from all # Various statistics Alias /wleiden/stats/ /usr/local/www/stats/ Order allow,deny Allow from all DirectoryIndex index.php AddHandler application/x-httpd-php .php AddExternalAuth md5 /usr/local/bin/apache-md5check SetExternalAuthMethod md5 pipe AuthType Basic AuthName "WL Volentueers only" AuthBasicProvider external AuthExternal md5 Require valid-user # Logs Alias /wleiden/logs /usr/local/www/loganalyzer Order allow,deny Allow from all # mrtg Alias /wleiden/mrtg /usr/local/mrtg DirectoryIndex index.html Order allow,deny Allow from all # Player ProxyPass /wleiden/feed/ http://172.16.4.46:8091/wleiden/feed/ ProxyPassReverse /wleiden/feed/ http://172.16.4.46:8091/wleiden/feed/ Order allow,deny Allow from all ProxyPass /wleiden/feeds/ http://127.0.0.1:8090/wleiden/feeds/ ProxyPassReverse /wleiden/feeds/ http://127.0.0.1:8090/wleiden/feeds/ Order allow,deny Allow from all Alias /wleiden/player /usr/local/www/player DirectoryIndex index.html Order allow,deny Allow from all # Nagios Monitoring Alias /wleiden/nagios/pnp /usr/local/www/pnp Order allow,deny Allow from all AddHandler application/x-httpd-php .php DirectoryIndex index.php RewriteEngine on RewriteBase /wleiden/nagios/pnp # Protect application and system files from being viewed RewriteRule ^(application|modules|system) - [F,L] # Allow any files or directories that exist to be displayed directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Rewrite all other URLs to index.php/URL RewriteRule .* index.php/$0 [PT,L] Order allow,deny Allow from all AuthType Basic AuthName "Wireless Leiden :: Nagios Access" AuthUserFile /usr/local/etc/apache22/wleiden.htpasswd Require valid-user ScriptAlias /wleiden/nagios/cgi-bin /usr/local/www/nagios/cgi-bin Options ExecCGI Alias /wleiden/nagios /usr/local/www/nagios Order allow,deny Allow from all ScriptAlias /wleiden/nagios.experimental/cgi-bin /usr/local/www/nagios.experimental/cgi-bin Options ExecCGI Alias /wleiden/nagios.experimental /usr/local/www/nagios.experimental Order allow,deny Allow from all # Cacti Monitoring ProxyPass /wleiden/cacti http://172.16.4.46/cacti ProxyHTMLEnable On ProxyHTMLExtended On ProxyHTMLURLMap /cacti /wleiden/cacti ProxyPassReverse / Alias /cacti "/usr/local/share/cacti/" Order allow,deny Allow from all RedirectMatch ^/wleiden/release$ /wleiden/release/ ScriptAlias /wleiden/release /usr/local/users/www/release-www.py RedirectMatch ^/wleiden/users$ /wleiden/users ScriptAlias /wleiden/users /usr/local/users/www/users-www.py Allow from all AcceptPathInfo On RedirectMatch ^/wleiden/config$ /wleiden/config/ ScriptAlias /wleiden/config /usr/local/www/genesis/tools/gformat.py Allow from all AcceptPathInfo On #AliasMatch ^/wleiden/config/$ /usr/local/www/config-static/node_list.txt #Alias /wleiden/config /usr/local/www/config-static # # Allow from all # Alias /wleiden/smokeping /usr/local/smokeping/htdocs AddHandler cgi-script .cgi Allow from all Options ExecCGI DirectoryIndex smokeping.cgi Include etc/apache22/Includes/wleiden-services.conf.common Alias /wleiden/ /usr/local/www/index/ ScriptAliasMatch /dyndns/ /usr/local/www/dyndns/dyndns.py Order allow,deny Allow from all ProxyPass /wleiden/pentaho/ http://127.0.0.1:8099/ ProxyPassReverse /wleiden/pentaho Order allow,deny Allow from all