Re: [users@httpd] redirect only if a URL does not exists

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

 



The simplest way to achieve what you want would be with

ErrorDocument 404 /where/you/want/to/go

On 23/08/06, Bob Ionescu < bobsiegen@xxxxxxxxxxxxxx> wrote:
Lothar Krenzien wrote:
> Hi there,
>
> Now I want to redirect a request *ONLY* if the URL does not exist. I know the !-U flag for a RewriteCond but can't get it working.

-U checks only access controls and not if your URL-path resolves to an
existing resource.

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




--
Steve Swift
http://www.swiftys.org.uk
[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