mhonarc-users

Re: Marc and HTTP_REFERER

2000-10-24 14:25:06
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 24 Oct 2000, Laurent Rathle wrote:

I've got a little problem with Marc, and since I can't reach the author, I ask
my question here if someone has encountered the problem. When I launch
marc-search.cgi with my web page, I've always got this error : 

Sorry, your client needs to set HTTP_REFERER This error occured in the main
package of /home/httpd/cgi-bin/marc-search.cgi at line 80

Do you know HTTP_REFERER and what value I have to give it?

HTTP_REFERER is a variable set by the web client that contains the URL of
the last page visited (the referring page). I had the same problem because
I was using Junkbuster to hide this information.  Instead of giving up
Junkbuster, I found that there was only one place in marc-search where
HTTP_REFERER was being used and it wasn't really necessary that the value
be supplied by the client.  Do you know Perl?  It's an easy fix as I
remember.

Erik Rossen                         ^
rossen(_at_)freesurf(_dot_)ch                 /e\
http://www.multimania.com/rossen   ---   GPG key ID: 2935D0B9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: Made with pgp4pine 1.75

iD8DBQE59dvsY88aPik10LkRAiGFAKCWTpUSqrXxzaJDbljYu8IP/PT3PwCfQu80
whdkHQJos9bjUlbVboylys8=
=mKuf
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>