diff options
-rw-r--r-- | README | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +INSTALL +======= + +Copy files to the directory of your choice (i.e. /var/www) + +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=SITE:index,PT] + RewriteRule ^/([^/]*)\.html$ /index.shtml [env=SITE:$1,PT] + RewriteRule ^/([vh])([1-9]|(1[0-3]))$ /essid.shtml [env=CHAN:$2,env=POL:$1,PT] + + +You might need to enable the Rewrite and Include Module. |