Re: ErrorDocument 401 problem

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

 



On 5/7/07, Christian HAESSIG <christian.haessig@xxxxxxxxxxxxxxxxxx> wrote:

        ErrorDocument 401 /var/www/sites/untranet_redirect/index.php

As you can see, the redirection should be done to the file
/var/www/sites/untranet_redirect/index.php when an 401 error occurs.
Unfortunately, I get always the following error :

[notice] cannot use a full URL in a 401 ErrorDocument directive ---
ignoring!

ErrorDocument must be a web-path -- that is, relative to the
DocumentRoot, not the filesystem root.

But that isn't the main problem here. Apache will only give you that
error message if the ErrorDocument doesn't start with a "/". So there
must be somethign else funny going on here.

Perhaps you are editing the wrong config file? Perhaps there is an
.htaccess file someplace with a faulty ErrorDocument?

Joshua.

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