diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 20:07:30 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 20:07:30 +0200 |
commit | b66a2af948b18b6413ce8a59396d664511e85040 (patch) | |
tree | 50fd6c9b24cc1d5afb05a736dc787f33e7d72c07 | |
parent | b6b301a1e1d766bc6ba2a6e661820dbe190a1023 (diff) |
whitespace fix
-rw-r--r-- | README | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -9,26 +9,26 @@ Apache2 Add the following to you Apache2 Vhost config: - DocumentRoot /var/www - <Directory /> - Options FollowSymLinks - AllowOverride None - </Directory> - <Directory /var/www> - AddType text/html .shtml - AddOutputFilter INCLUDES .shtml - Options FollowSymlinks MultiViews +Includes - AllowOverride None - Order allow,deny - Allow from all - </Directory> - - RewriteEngine on - RewriteRule ^/$ /index.shtml [env=LANG:de,env=SITE:index,PT] - RewriteRule ^/([^/]*)\.html$ /index.shtml [env=LANG:de,env=SITE:$1,PT] - RewriteRule ^/(de|en|si)/$ /index.shtml [env=LANG:$1,env=SITE:index,PT] - RewriteRule ^/(de|en|si)/([^/]*)\.html$ /index.shtml [env=LANG:$1,env=SITE:$2,PT] - RewriteRule ^/([vhrl])([1-9]|(1[0-3]))$ /essid.shtml [env=LANG:de,env=CHAN:$2,env=POL:$1,PT] + DocumentRoot /var/www + <Directory /> + Options FollowSymLinks + AllowOverride None + </Directory> + <Directory /var/www> + AddType text/html .shtml + AddOutputFilter INCLUDES .shtml + Options FollowSymlinks MultiViews +Includes + AllowOverride None + Order allow,deny + Allow from all + </Directory> + + RewriteEngine on + RewriteRule ^/$ /index.shtml [env=LANG:de,env=SITE:index,PT] + RewriteRule ^/([^/]*)\.html$ /index.shtml [env=LANG:de,env=SITE:$1,PT] + RewriteRule ^/(de|en|si)/$ /index.shtml [env=LANG:$1,env=SITE:index,PT] + RewriteRule ^/(de|en|si)/([^/]*)\.html$ /index.shtml [env=LANG:$1,env=SITE:$2,PT] + RewriteRule ^/([vhrl])([1-9]|(1[0-3]))$ /essid.shtml [env=LANG:de,env=CHAN:$2,env=POL:$1,PT] You might need to enable the Rewrite and Include Module. @@ -38,5 +38,5 @@ Nginx ~~~~~ If you want to use nginx: - - tba.... + + tba.... |