Last active
March 31, 2017 12:26
-
-
Save blackknight36/defe7fb3fcba550027c3653cf481121b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| #redirect user to new server | |
| use CGI qw(:standard); | |
| my $q = CGI->new; | |
| my $path = $q->path_info(); | |
| print $q->redirect(-url => "http://cvs2.example.com/cgi-bin/cvsweb.cgi$path"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment