Posted by Paul Lautman on 05/27/06 18:55
frizzle wrote:
> Hi group,
>
> I have the htaccess code that is below to redirect everything to
> index.php exept for the mentioned folders. (img, swf, js and css)
> Now when i try to access domain.com/testfolder/img
> in Firefox i get redirected to domain.com/testfolder/img/?img
> How can i prevent this?
>
> And i was wondering if i could 'tell' the htaccess to use the folder
> it's in as root automatically.
> And somehow my values don't get passed to index.php. That doesn't make
> sense to me either ...
>
> # S T A R T H T A C C E S S # # # # # # # # # # # # # # # #
>
> RewriteEngine On
>
> RewriteBase /testfolder/
> RewriteRule ^((img|swf|js|css)(/.*)?){1}?$ - [PT]
> RewriteRule ^(.*)$ index\.php?$1 [L]
>
> # E N D H T A C C E S S # # # # # # # # # # # # # # # # # #
>
> Frizzle.
I would suggest asking this in alt.apache.configuration.
[Back to original message]
|