Forum Moderators: phranque
I have a apache with several virtualhosting, but just one scriptalias. I needed to give some especific virtualhosting a separate cgi-bin, so I've created a sub folder cgi-bin/domain1. Then, every url must be changed from "http://domain1/cgi-bin" to "http://domain1/cgi-bin/domain1".
Is there some way to avoid that , but without tooching the scriptalias?
I have read something about RewriteRule, and seemed to be usefull, but a really dont know how.
So, can you tell me if can be donde with RewriteRule, and second, where can I get some tutorial or something to learn it?
Thanks a lot.
Julio
Welcome to WebmasterWorld!
Yes, it is possible to rewrite the URLs with mod_rewrite. See our forum charter [webmasterworld.com] for links to documentation on mod_rewrite. The URL Rewriting Guide contains examples to look at while studying the documentation.
Jim