[Zope] authentication to apache from zope
Jamie Heilman
jamie@audible.transient.net
Mon, 24 Feb 2003 16:35:06 -0800
AM wrote:
> I have an apache folder :
> <apache_doc_root>/images/
> which is password protected via htpasswd and has images that I would
> like apache to serve.
> The folder has a user called zope/zpass in the .htpasswd file.
>
> In zope I have a page that has the tag
> <img src=/ images/img1.jpg>
>
> Is there a way I can pass the authentication to apache (zope/zpass) so
> that the client can view the images and the username password doesnt
> appear in the client.
Not directly, its not zope asking apache for the image, its the
client.
Its not clear why you would desire this though, there are ways to sort
of kludge it into working, but without knowing exactly what you're
trying to accomplish I'm hesitent to suggest them.
--
Jamie Heilman http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile?
I liked you better when you weren't saying squat kid." -Buddy