|
Posted by Rik on 12/15/06 18:34
Kentor wrote:
> Oh but this only works if I remove these previous lines I had for all
> my other normal redirects...
>
> Options +FollowSymLinks
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
>
> once i put them back with your lines, it shows the main page even with
> http://monteal.mysite.com or just montreal.mysite.com =/
>
> ok i put everything back except for RewriteCond %{REQUEST_FILENAME}
> !-d
> and it still works... so its that line thats messing everything up...
> but i had this line for my normal redirects... whats the purpose of
> this -d ? do i really need it?
It sais: only apply this rule if it isn't an existing directory. Your
webroot exists (/), therefor the rule isn't applied.
You probably don't need it. Then again, different RewriteCond's can
offcourse be applied to different RewriteRules, so just apply them if
they're needed on the other rules.
--
Rik Wasmus
Navigation:
[Reply to this message]
|