|< 1 2 >| | 16 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
RewriteEngine on
RewriteBase /-/
# RULE 1: Datei aus Cache holen, wenn diese existiert.
#
RewriteCond %{REQUEST_URI} (.*)\.htm$
RewriteRule (.*)\.htm$ /-/Cache/$1 [L]
#
# RULE 2: Datei über Script holen, wenn diese NICHT exisitiert.
#
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(.*)\.htm$ /-/?PID=$1 [T=application/x-httpd-cgi,L]
#
1
2
3
RewriteCond %{REQUEST_URI} (.*)\.htm$
RewriteCond /-/Cache/%{REQUEST_FILENAME} -s
RewriteRule (.*)\.htm$ /-/Cache/$1 [L]
QuoteThe full local filesystem path to the file or script matching the request.
.*/([^/]*)$
.*/([^/]*)$
RewriteCond /-/Cache/.*/([^/]*)$ -s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Datei aus Cache holen, wenn diese existiert.
#
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} (.*)\.htm
RewriteCond /-/Cache/.*/([^/]*)$ -s
RewriteRule (.*)\.htm$ /-/Cache/$1 [L]
#
# Datei über Script holen, wenn diese NICHT exisitiert.
#
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} (.*)\.htm
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(.*)\.htm$ /-/?PID=static/$1 [T=application/x-httpd-cgi,L]
#
1
2
3
4
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} .*/([^/]+\.htm)$
RewriteCond /-/Cache/%1 -s
RewriteRule .* /-/Cache/%1 [L]
1
2
3
4
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} .*/([^/]+\.htm)$
RewriteCond /-/Cache/%1 !-s
RewriteRule .* /-/?PID=static/%1 [T=application/x-httpd-cgi,L]
|< 1 2 >| | 16 Einträge, 2 Seiten |