| 
	
 | 
 Posted by Rik on 05/27/06 20:24 
frizzle wrote: 
> #  S T A R T   H T A C C E S S   # # # # # # # # # # # # # # # # 
> 
> RewriteEngine On 
> 
> RewriteBase /testfolder/ 
> RewriteRule ^((img|swf|js|css)(/.*)?){1}?$   -   [PT] 
------------------------------------------^ 
 
What's the questionmark doing there? 
Or the 'silly' {1} for that matter? (This is always implied, (#[.#]} is only 
needed when match isn't: 
- 1 (which it will assume if nothing is given). 
- 0 or 1 (the ?) 
- 0 or more (*) 
- 1 or more (+) 
I've never use PassThrough, but to me it seems it should be: 
RewriteRule ^(img|swf|js|css)/.*$   -   [PT] 
 
 
> RewriteRule ^(.*)$       index\.php?$1     [L] 
 
---------------------------------^ 
 
This dot doesn't need to be escaped 
 
As stated in another post, this isn't PHP, post in an apache ng. 
 
Grtz, 
--  
Rik Wasmus
 
  
Navigation:
[Reply to this message] 
 |