httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From -bill- <b...@TechServSys.com>
Subject Re: mod_rewrite and apache
Date Wed, 16 Jan 2002 11:32:57 GMT
darren chamberlain wrote:
> 
> Erik Parker <eparker@mindsec.com> said something to this effect on 01/15/2002:
> > JS> Can't be done with any standard Apache module.  You want apache to scan
> > JS> through each document as it is served and do a search/replace.  Mod_rewrite
> > JS> acts only on the URL that is actually requested, not on the document
> > JS> contents.
> >
> > After you said that, it became very clear :)
> >
> > I guess for now, I'm going to use SSI and do an if $SSL == on, write out
> > img src="https:/foo
> > else
> > img src="http://foo
> 
> Did you know that you can just use src="//..." without specifying
> a protocol?  The browser will use the protocol it is currently
> using, so a https request will request that image using https.
> 
> (darren)
> 
> --

That is an interesting piece of info, but why would you want to encrypt/decrpyt
an image ?
-- 
- bill -

bill@TechServSys.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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message