I'm trying to rewrite a url to point to a directory that's named the same
as the domain.

i.e.

RewriteRule   ^images/   some_dir/%{HTTP_HOST}/%{REQUEST_URI}

This works if 'www.' is not in the url because the directory is named
domain.com not www.domain.com.  I thought about making a link in some_dir
like `ln -s domain.com www.domain.com`, but I'd much rather do it by
rewriting the url.

Is this possible with Apache's Rewrite module?  Does anybody have any
suggestions on how to do this?  Any input is appreciated.

Thanks

Mark Courtney

http://www.MarkCourtney.com



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list