All pastes #412089 Raw Edit

Unnamed

public text v1 · immutable
#412089 ·published 2007-03-27 14:13 UTC
rendered paste body
#restore canonical domain
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.(.*)$
RewriteRule  http://temcodirect.com{REQUEST_URI} [R=301,L]


#<FLOW>
DirectoryIndex index.php index.html /_/dispatcher.php

RewriteCond %{REQUEST_URI} !(^|/)_/
RewriteCond %{REQUEST_URI} !(^|/)favicon.ico
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* _/dispatcher.php?_flow_not_index_ [QSA,L]

# those could be Directory / Files combo if put in httpd.conf
RewriteCond %{REQUEST_URI} ((^|/)_/temp/)|(^.*\.[a-z]+.php($|/.*$))
RewriteRule .* - [F,L]

#</FLOW>