[PLUG] Making a link on a web site not appear...

Sandy Herring sandy at herring.org
Sat Aug 30 19:12:02 UTC 2003


On Sat, 30 Aug 2003, Michael C. Robinson wrote: 
> 
> > You may do some scripting and check the IP of the caller.  Do some
> > decision from there.  Apache provides lots of information on the
> > caller/referrer.
> > 
> > Ken
> 
> My outside server has mod_perl, do I write a standard perl script
> or is mod_perl a different scripting language?  Do I link
> index.htm to the script and have the script then redirect
> the client to the proper version of what was index.htm, 
> perhaps, main_i.htm or main_o.htm?  Is there a name to give
> my perl script like index.htm that will cause it to be the
> first thing served?
> 
>      --  Michael

Michael,

It's waaaay simpler than that if the page can be parsed with a server side
include...

<!--#IF EXPR="${REMOTE_ADDR} = /^192.168./" -->
<A HREF="http://foo.bar.org/baz.html">this is the hidden link</A>
<!--#ENDIF -->

Sandy
-- 
Sandy Herring, RHCE                        o              sandy at herring.org
Peck of Pickled Pisces               __  o               http://herring.org/
UNIX or Web authoring questions?  |\/ o\  o  http://herring.org/finger.html
->http://herring.org/techie.html  |/\__/     http://herring.org/pub-key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20030830/34e3e65a/attachment.asc>


More information about the PLUG mailing list