Just a quick note about the pay rent thing

28 Apr 2008

/blog/?p=18

In this post near the end I mentioned something about redirecting all web redirects to a the installed web server.

You should make a slight modification to the apache config to capture all requests correctly

Near the top below the part add

RewriteEngine on

RewriteCond %{REQUEST_METHOD} ^(TRACE TRACK)

RewriteRule .* – [F]

RewriteCond %{REQUEST_URI} !^/index.html$

RewriteCond %{REQUEST_URI} !^/index.php$

RewriteCond %{REQUEST_URI} !^/bandwidth/.*$

RewriteCond %{REQUEST_URI} !^/bandwidth$

RewriteRule ^/(.*)$ http://192.168.1.1/index.html

then

cd /etc/apache2/mods-enabled

ln -s ../mods-available/rewrite.load .

«« Previous Post Next Post »»