httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] RewriteBase is not working in apache configuration file
Date Mon, 16 Nov 2009 13:08:23 GMT
On Mon, Nov 16, 2009 at 8:17 AM, J. Bakshi <joydeep@infoservices.in> 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@gmail.com
krist@vanbesien.org
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message