All pastes #767945 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-10 03:39 UTC
rendered paste body
<VirtualHost *:80>
        DocumentRoot /usr/local/www/apache22/data/example.com
	# ...
        <Directory "/usr/local/www/apache22/data/example.com">
                Options -Indexes
                RewriteEngine on
                RedirectMatch permanent ^/$ /news
                RewriteRule ^blabla/(.+)/([0-9]+)$ index.php?page=blehblah&foo=$1&bar=$2
                #... and lots of similar rules...

		RewriteCond %{REQUEST_URI} !^index.php
                RewriteRule ^(.+)$ index.php?page=$1
        </Directory>
</VirtualHost>