RewriteEngine On
Options +Followsymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.* - [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^./images/(.)$ /images/$1 [L]
On Mon, Feb 23, 2009 at 04:20:05AM +0100, Big Bet wrote:
RewriteEngine On
Options +Followsymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.* - [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^./images/(.)$ /images/$1 [L]
Probably so
root ...
location / {
...
}
location ~ /images/ {
error_page 404 @404;
}
location @404 {
rewrite (/images/.+)$ $1 break;
}