Thank you all for your help. There were a couple problems I was having. The
biggest turned out to be an .htaccess file in another directory interfering
with this one, which made it very hard to figure out what was going on.
Thanks again,
Ben
chengas123 wrote:
>
> Thanks noodl. Thi
Thanks noodl. This is a good idea, which I would like to use. I can't
figure out how %{REQUEST_FILENAME} works though!
If I use "RewriteCond %{REQUEST_FILENAME} -d" it only ever returns when I
visit my homepage at lumidant.com. I used only this rule in my .htaccess
and had it redirect to Yaho
Yes, that essentially is exactly what I'd like to do. However, I'm not sure
how to. I know how to test if the requested resource is a directory, but
does anyone have any ideas on how I would test if the rewritten URL is an
existing directory?
Also, thanks for the tip on disabling directory slash
Hi,
I signed up for a hosting account that can support many domains. One domain
is the root web folder and all the others are subdirectories in that folder.
This gets confusing to maintain, so I’d like to move the main domain into a
sub directory too.
I’ve gotten pretty far using mod_rewrite: