The simplist  thing to do would be something like this:

#!/usr/bin/perl
@loc=split(/\?/, $ENV{REQUEST_URI};
shift @loc;
$theurl=join('?',@loc);
print "Location: $theurl\n\n";



Hope it helps!
Warren


-----Original Message-----
From: Gary Nielson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 1:37 PM
To: [EMAIL PROTECTED]
Subject: Looking for perl url redirect script

Does anyone know of a script like this one listed below that would be in
perl and run under Unix? I am trying to find a way to do this, but this
executable is for NT.

http://www.analogx.com/contents/download/network/cgirdir.htm






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to