Re: [users@httpd] htaccess with mod_auth_mysql

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

 



On 1/28/06, Joshua Slive <joshua@xxxxxxxx> wrote:
> On 1/28/06, Daniel Silva <danielnsilva@xxxxxxxxx> wrote:
>
> > > The fix is to use only absolute URLs (starting in http:// or at least
> > > /) in the errordocument.
>
> >
> > I´ve tried to use absolute URLs, like this:
> >
> > ErrorDocument 401 http://200.xxx.xxx.xxx/solicitar_acesso.php
> >
> > But, the browser shows the default ErrorDocument...
> > Why?
>
> I meant to use absolute references inside the php file pointed to by
> ErrorDocument.  The Errordocument directive itself must not use an
> absolute url, as the docs or error_log would tell you.
>
> 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
>
>

Ok, Joshua. But the apache documentation says:

-------------------------------------------------------------
URLs can begin with a slash (/) for local web-paths (relative to the
DocumentRoot), or be a full URL which the client can resolve.
Alternatively, a message can be provided to be displayed by the
browser. Examples:

ErrorDocument 500 http://foo.example.com/cgi-bin/tester
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access today"
-------------------------------------------------------------

Therefore I thought that you spoke about the directive ErrorDocument.
But now i know that absolute references must not used for Error 401.

Thanks for support.

Daniel

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