# # Example of a virtual host overriding the defaults # # A Virtual host is required if you want to change default settings # like # DocumentRoot # SSL credentials # # It is not required otherwise, in which case you can use # the default SSL cerdentials set in "ssl.conf" # -------------------------------------------------------------------------------# # # RMI GU Apps Virtual Hosts # ServerName na-dev-rmiapps-0.itc.griffith.edu.au Options FollowSymLinks Alias /service /app/guapps/f5_check Require all granted ServerName amis-apps-dev.itc.griffith.edu.au:443 DocumentRoot "/app/guapps/f5_check" Options FollowSymLinks Alias /owncloud /app/guapps/OwnCloud Alias /teampass /app/guapps/TeamPass Alias /files /app/guapps/TeamPass/files SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key Require all granted Require all granted Dav off ------------------------------------------------------------------------------- # # A non-virtualhost example (using default ssl settings) # # phpMyAdmin - Web based MySQL browser written in php # Alias /phpMyAdmin /opt/phpMyAdmin Alias /phpmyadmin /opt/phpMyAdmin # For apache 2.4 (not 2.2) Require ip 132.234. Require ip 10.250. Require ip 127.0.0.1 Require ip ::1 # Force use of HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}