On Mon, Nov 16, 2009 at 8:17 AM, J. Bakshi <joydeep@xxxxxxxxxxxxxxx> wrote: > > Thanks a lot to clarify it. I was banging my head with it. Is there any > alternative to force document root in side <Directory> then ? Actually I > need to run some experimental sites from a location which is totally > different from main apache document root. And my rewritrules try to > access /var/www as the document root where it should look into > /var/personal_work_area/ If you have trouble understanding what your RewriteRules do start by enabling the RewriteLog. You should understand that in your httpd.conf the RewriteRule will operate directly on the URL, so it is really immaterial what Docroot etc... has been set to. With RewriteRules you can translate URL to filename entirely bypassing all other directives... Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx