All pastes #467121 Raw Edit

Something

public text v1 · immutable
·published 2007-05-02 10:30 UTC
rendered paste body
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.)?valdez\.hr$ [NC]
RewriteRule ^ - [L]

RewriteCond %{HTTP_HOST} ^valdez.hr$ [NC]
RewriteRule ^/(.*)$ http://www.valdez.hr/$1 [L,R=301]

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteRule ^uploads/.*$ - [L]
RewriteRule ^fileadmin/.*$ - [L]
RewriteRule ^typo3conf/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*[^/])$ http://%{HTTP_HOST}/$1/ [L,R]

RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule / %{REQUEST_URI}/index.html [L]

RewriteCond %{REQUEST_FILENAME}/index.htm -f
RewriteRule / %{REQUEST_URI}/index.htm [L]

RewriteCond %{REQUEST_FILENAME}/index.php -f
RewriteRule / %{REQUEST_URI}/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php