All pastes #475715 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-07 17:17 UTC
rendered paste body

./htacces
Options +FollowSymLinks
RewriteEngine On

# PHP Image Processor
RewriteRule ^images/(.*)/([0-9]+)/([0-9]+)/ image.php?file=$1&width=$2&height=$3
RewriteRule ^images/(.*)/(.*)/([0-9]+)/([0-9]+)/ image.php?file=$1/$2&width=$3&height=$4

# PHP CSS Processor
RewriteRule ^css/ css.php

# Pages
RewriteRule ^pages/(.*)/ index.php?p=$1

Log:
27.0.0.1 - - [07/May/2007:19:06:32 +0200] [localhost/sid#639b28][rid#807a90/subreq] (2) init rewrite engine with requested uri /websites/myweb/index.php
127.0.0.1 - - [07/May/2007:19:06:32 +0200] [localhost/sid#639b28][rid#807a90/subreq] (1) pass through /websites/myweb/index.php
127.0.0.1 - - [07/May/2007:19:06:32 +0200] [localhost/sid#639b28][rid#801a60/initial] (2) init rewrite engine with requested uri /websites/myweb/pages/home/
127.0.0.1 - - [07/May/2007:19:06:32 +0200] [localhost/sid#639b28][rid#801a60/initial] (1) pass through /websites/myweb/pages/home/