Just a quick note about the pay rent thing

28 Apr 2008


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


RewriteRule .* – [F]

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

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

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

RewriteCond %{REQUEST_URI} !^/bandwidth$

RewriteRule ^/(.*)$


cd /etc/apache2/mods-enabled

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

«« Previous Post Next Post »»