|
@@ -1,23 +1,15 @@
|
|
-<VirtualHost omnimaga.org:80>
|
|
|
|
- UseCanonicalName Off
|
|
|
|
|
|
+<VirtualHost *:80>
|
|
ServerName omnimaga.org
|
|
ServerName omnimaga.org
|
|
- VirtualDocumentRoot /var/www/omnimaga
|
|
|
|
|
|
+ ServerAlias www.omnimaga.org
|
|
|
|
+ DocumentRoot /var/www/omnimaga
|
|
<Directory /var/www/omnimaga>
|
|
<Directory /var/www/omnimaga>
|
|
- AddHandler cgi-script .cgi
|
|
|
|
Options +ExecCGI +Indexes +FollowSymLinks +MultiViews
|
|
Options +ExecCGI +Indexes +FollowSymLinks +MultiViews
|
|
AllowOverride All
|
|
AllowOverride All
|
|
RewriteEngine On
|
|
RewriteEngine On
|
|
- # Require all granted
|
|
|
|
Order allow,deny
|
|
Order allow,deny
|
|
allow from all
|
|
allow from all
|
|
</Directory>
|
|
</Directory>
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
- # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
ServerAdmin [email protected]
|
|
ServerAdmin [email protected]
|
|
-</VirtualHost>
|
|
|
|
-<VirtualHost www.omnimaga.org:80>
|
|
|
|
- Redirect 301 / http://omnimaga.org/
|
|
|
|
-</VirtualHost>
|
|
|
|
-Listen omnimaga.org:80
|
|
|
|
-Listen www.omnimaga.org:80
|
|
|
|
|
|
+</VirtualHost>
|