DocumentRoot /var/empty ServerName wleiden.vanderzwet.net ErrorLog /var/log/httpd/wleiden.vanderzwet.net-error_log CustomLog /var/log/httpd/wleiden.vanderzwet.net-access_log combinedio # Genesis configurator, maintained by rvdzwet ScriptAlias /wleiden/config /usr/local/www/genesis/tools/gformat.py SetHandler wsgi-script Options ExecCGI Allow from all WSGIProcessGroup gformat RedirectMatch ^/$ /wleiden/config/ RedirectMatch ^/wleiden/config$ /wleiden/config/ #ScriptAlias /wleiden/config /usr/local/www/genesis/tools/gformat.py # # Allow from all # AcceptPathInfo On # RewriteEngine On RewriteCond %{https} off RewriteRule ^/phpldapadmin/(.*) https://%{http_host}%{request_uri} Alias /phpldapadmin/ "/usr/local/www/phpldapadmin/htdocs/" DirectoryIndex index.php AddType application/x-httpd-php .php Options none AllowOverride none AuthType basic AuthName "Wireless Leiden Login" AuthBasicProvider ldap AuthLDAPURL ldap://127.0.0.1/ou=people,dc=wirelessleiden,dc=nl?uid AuthLDAPBindAuthoritative on Order allow,deny Allow from all Require valid-user RewriteCond %{HTTPS} off RewriteRule ^/phpmyadmin/(.*) https://%{HTTP_HOST}%{REQUEST_URI} Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/" DirectoryIndex index.php AddType application/x-httpd-php .php Options none AllowOverride Limit AuthType basic AuthName "Wireless Leiden Login" AuthBasicProvider ldap AuthLDAPURL ldap://127.0.0.1/ou=people,dc=wirelessleiden,dc=nl?uid AuthLDAPBindAuthoritative on Order allow,deny Allow from all Require valid-user Alias /ldaptest /usr/local/www/ldaptest AuthType basic AuthName "Wireless Leiden Login" AuthBasicProvider ldap AuthLDAPURL ldap://127.0.0.1/ou=people,dc=wirelessleiden,dc=nl?uid AuthLDAPBindAuthoritative on Order allow,deny Allow from all Require valid-user RewriteCond %{HTTPS} off RewriteRule ^/ssp/(.*) https://%{HTTP_HOST}%{REQUEST_URI} Alias /ssp /usr/local/www/self-service-password Order allow,deny Allow from all Require all granted DirectoryIndex index.php AddType application/x-httpd-php .php RewriteRule ^/?mediawiki/wiki(/.*)?$ /usr/local/www/mediawiki/index.php [L] Alias /mediawiki /usr/local/www/mediawiki AddType application/x-httpd-php .php Options Indexes FollowSymLinks DirectoryIndex index.php index.html AllowOverride None Order allow,deny Allow from all # Ignore .htaccess files AllowOverride None # Serve HTML as plaintext, don't execute SHTML AddType text/plain .html .htm .shtml .php # Don't run arbitrary PHP code. php_admin_flag engine off # If you've other scripting languages, disable them too.