You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by none none <ra...@gmail.com> on 2009/07/10 19:37:23 UTC

[users@httpd] Apache2.2 custom 401 ErrorDocument NO IMAGES

I've restricted one area with auth digest.
Tested it and worked.

Now I've created custom 401 ErrorDocument
Embedded images in it, and loaded it firstly like any .html page.
Happy with result, I've set it as custom 401 ErrorDocument
Code:

ErrorDocument 401 /401.html

I've loaded restricted zone and hit cancel in order to get 401.
It loaded everything except images! (PS: googled for 1h and nothing!)

I've even attempted to change location of 401.html outside web tree,
with adjacent permissions of course and still nothig(everything is
displayed except embedded images in that html document)

Why?
Is that auth digest "doing"?

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


Re: [users@httpd] Apache2.2 custom 401 ErrorDocument NO IMAGES

Posted by Eric Covener <co...@gmail.com>.
On Fri, Jul 10, 2009 at 1:37 PM, none none<ra...@gmail.com> wrote:
> I've restricted one area with auth digest.
> Tested it and worked.
>
> Now I've created custom 401 ErrorDocument
> Embedded images in it, and loaded it firstly like any .html page.
> Happy with result, I've set it as custom 401 ErrorDocument
> Code:
>
> ErrorDocument 401 /401.html
>
> I've loaded restricted zone and hit cancel in order to get 401.
> It loaded everything except images! (PS: googled for 1h and nothing!)


Are you applying access control to the images as well?   Don't if you
want to see them.

-- 
Eric Covener
covener@gmail.com

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