Welcome, Guest. Please Login or Register.
April 26, 2025, 06:08:15 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Converters  |  Redirect from cgi to se « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Redirect from cgi to se  (Read 1123 times)
Extreme
Noobie
*
Posts: 13


3D freak

WWW
Redirect from cgi to se
« on: August 04, 2002, 01:39:25 AM »
Reply with quote

Hi
What my problem is I have just converted from Yabb SP1 to SE (very smoothly Great job) but now I have 2 boards I have a 110 members that's r all still going to my old CGI board I have emailed them all the new link but what I am looking for is something to redirect them from the CGI board to the SE one
Any help is appreciated
Thanks

P.S Is there a way i can change all my buttons to flash not gif?
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Redirect from cgi to se
« Reply #1 on: August 04, 2002, 03:04:21 AM »
Reply with quote

Hi, glad the conversion was somoth.  I am sure there is a way to do a redirect with cgi.

* David looks to find out how

#!/usr/bin/perl

print "Location: http://newdomain.com/newfile.pl

As for making flash buttons you would have to edit english.lng and change all of them from gif to flash.
Logged

Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #2 on: August 04, 2002, 04:15:33 AM »
Reply with quote

Ok thats the info i wanted the english.lng bit ::)

Thanks
Logged

Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #3 on: August 04, 2002, 06:55:39 PM »
Reply with quote

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

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Redirect from cgi to se
« Reply #4 on: August 04, 2002, 06:59:12 PM »
Reply with quote

you should edit the index.cgi file of your SP1 board to be.

#!/usr/bin/perl

print "Location: http://www.yoursite.com/yabbse/index.php
Of course replace http://www.yoursite.com/yabbse with the address to your board.
Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Redirect from cgi to se
« Reply #5 on: August 04, 2002, 07:10:43 PM »
Reply with quote

index.cgi = YaBB.cgi or YaBB.pl btw
Logged
Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #6 on: August 04, 2002, 07:16:55 PM »
Reply with quote

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.php

and 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!!

WWW
Re:Redirect from cgi to se
« Reply #7 on: August 04, 2002, 07:49:39 PM »
Reply with quote

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

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #8 on: August 06, 2002, 01:50:29 AM »
Reply with quote

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

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Redirect from cgi to se
« Reply #9 on: August 07, 2002, 06:46:44 AM »
Reply with quote

Damn that flash kicks ass!!!!!  ;D ;D ;D ;D
Logged

Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #10 on: August 07, 2002, 10:36:39 PM »
Reply with quote

Thanks if I can do anything for you let me know all free im not that good yet lol

Did you see the new all the new gray folder images and icons? iv got a few more to do yet but if anyone wants them there can

Extreme
Logged

kingPhil72
Noobie
*
Posts: 1


Not the Llama!

Re:Redirect from cgi to se
« Reply #11 on: August 08, 2002, 05:34:58 PM »
Reply with quote

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
Extreme
Noobie
*
Posts: 13


3D freak

WWW
Re:Redirect from cgi to se
« Reply #12 on: August 09, 2002, 02:42:50 AM »
Reply with quote

Yes the path to my perl is right Iv had the cgi board working for over a year so i know thats right lol
I still must be doing something wrong it dont really matter now my little flash movie seems to be doing the job
Thanks
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Redirect from cgi to se « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.026 seconds with 17 queries.