|
Posted by frizzle on 05/27/06 21:13
Rik wrote:
> 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
Thank you both for pointing this out to me!
I reposted the message (slightly modified thanks to Rik) on
alt.apache.configuration
under
http://groups.google.com/group/alt.apache.configuration/browse_thread/thread/0bd6bc52b4feece4/d030661280f74a29#d030661280f74a29
Frizzle.
Navigation:
[Reply to this message]
|