#1 (permalink)  
Old 04-05-2005, 03:06 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Re-directs Without htaccess

Hey all - I've recently set up a new YaBB board on the server that I use (rented hosting account from Netfirms). Unfortunately, YaBB's index file is called YaBB.pl, not index.pl. So, I was wondering if there is a way to set up my server so that the index page will be YaBB.pl.

I have tried using .htaccess files, but the server doesn't seem to recognize them (they are not hidden, and they don't seem to affect anything). I also attempted to make an index.php that simply included my YaBB.pl file, and I tried to make an index.shtml that included my YaBB.pl file, but neither of those ideas worked.

I wouldn't be too worried about it, except that I just set up a subdomain to lead to our forums, and I can't get it to do so, since there is no recognizable index file in that directory.

If there are no ideas, I will take a look at how much work needs to be done to change the name of YaBB.pl file.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote

  #2 (permalink)  
Old 04-05-2005, 08:35 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,049
easiest way would be to create a index.php with a meta refresh to the other page...
Reply With Quote
  #3 (permalink)  
Old 04-13-2005, 09:11 AM
tthurgo's Avatar
Moderator
 
Join Date: Jan 2002
Location: Lebanon, PA
Posts: 357
Quote:
Originally Posted by Allen
easiest way would be to create a index.php with a meta refresh to the other page...
But meta refresh looses search engines.

Rather create a Perl script with this:

Code:
use CGI; 
my $q = CGI->new(); 
print $q->redirect( 
  -location => 'http://someothersite.com/page1.cgi', 
  -status => 301, 
);
__________________
Tom Thurgo
my future is coming on
Reply With Quote
  #4 (permalink)  
Old 04-13-2005, 10:30 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Very nice info. I'll give that a try. I knew that Meta refreshes were a no-no, but I hadn't seen any other suggestions, so that's what I had been using. You've been extremely helpful to me today Tom.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 02:15 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter