|
|
|
Extreme
Noobie

Posts: 13

3D freak
|
 |
Re:Redirect from cgi to se
« Reply #3 on: August 04, 2002, 06:55:39 PM » |
|
Sorry as u can tell Im very new to all this but if this is the code I need "#!/usr/bin/perl print "Location: http://newdomain.com/newfile.pl" In witch file do I put it and where Thanks
|
|
|
Logged
|
|
|
|
|
|
Extreme
Noobie

Posts: 13

3D freak
|
 |
Re:Redirect from cgi to se
« Reply #6 on: August 04, 2002, 07:16:55 PM » |
|
Thats what i done the first time but i but be doing something wrong cos i get an error my Yabb.cgi looks like the now #!/usr/local/bin/perl print "Location: http://www.mysite.com/yabbse/index.phpand this is what i get Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster Sorry about this
|
|
|
Logged
|
|
|
|
Stud Muffin
Full Member
  
Posts: 120

Oh baby!!
|
 |
Re:Redirect from cgi to se
« Reply #7 on: August 04, 2002, 07:49:39 PM » |
|
or if you have .htaccess put this in the file Redirect old-directory new-url-address e.g. Redirect /cgi-bin/Yabb http://www.blah.com/forum/index.php
|
|
|
Logged
|
|
|
|
Extreme
Noobie

Posts: 13

3D freak
|
 |
Re:Redirect from cgi to se
« Reply #8 on: August 06, 2002, 01:50:29 AM » |
|
Thanks for your help I might of been doing something wrong but i dont think so I Done it with flash for now it seems to be working anyway lol Thanks again CHECK IT OUT
|
|
|
Logged
|
|
|
|
|
|
kingPhil72
Noobie

Posts: 1

Not the Llama!
|
 |
Re:Redirect from cgi to se
« Reply #11 on: August 08, 2002, 05:34:58 PM » |
|
You could try... #!/usr/local/bin/perl
print "Location: http://www.yoursite.com/yabbse/index.php\n\n";
exit; Make sure the #!/usr/local/bin/perl is the path to your perl, if your not sure open up your YaBB.cgi in notepad and take at look at what it is there. Also change www.yoursite.com to the URL for your site. You knew that already though didn't you?
|
|
|
Logged
|
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. ~Albert Einstein
|
|
|
|