Re: RewriteRule - webspace vs. filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 8, 2010 at 8:23 AM, Edgar Frank <ef-lists@xxxxxxxx> wrote:
> The problem I have is, that Apache complains that /www/index.php
> is not found - which is absolutely right, as index.php only
> exists in the webspace and not in the filesystem. But I would
> expect Apache to consider the Location section instead and not
> to try URL-to-file-mapping.
>

Apache only complains when no handler steps up to generate a response
for the URL, and the default/core static-file handler kicks into gear.

Your <Location> doens't match the result of your rewrite. Perhaps
you're missing RewriteBase or using a "relative" string for your
substitution, or not using the 'PT' flag for your rules if they're in
<virtualhost> context.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux