diff options
-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.... |