Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Feb 2013, 12:46
WildRover WildRover is offline
 
Join Date: Jan 2007
Base url Redirect - won't function.

Hello, I can't figure what's gone wrong here.

The url of my site is http://www.xpower-racing.com - if you click here it shows the file structure.

The Forum is: http://www.xpower-racing.com/forum/forum.php

It stopped functioning after the Forum was updated.

There's a gallery at http://www.xpower-racing.com/gallery

If I place a redirect using Cpanel from http://www.xpower-racing.com to http://www.xpower-racing.com/forum/forum.php The gallery then becomes the same and is unusable.

Help....
Reply With Quote
  #2  
Old 16 Feb 2013, 13:23
nhawk nhawk is offline
 
Join Date: Jan 2011
The problem is you don't have anything in your home directory telling browsers where to go.

Create an index.php file and put this code in it...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save it to your home directory, which is what shows now when you go to http://www.xpower-racing.com

Last edited by nhawk; 16 Feb 2013 at 13:30.
Reply With Quote
  #3  
Old 16 Feb 2013, 13:29
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
is that something new in PHP?

thought they needed to be
<?php

?>

never seen that way before
{?php

?}
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #4  
Old 16 Feb 2013, 13:31
nhawk nhawk is offline
 
Join Date: Jan 2011
Oops.. it's early here and I'm still having my first coffee..

Corrected it.
Reply With Quote
  #5  
Old 16 Feb 2013, 13:33
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
I wasn't trying to be sarcastic, I just wasn't sure if that was something new or not. no problem. Kind of how they went from commenting with "#" to using ";" in ini files I don't keep up with the changes. If i see someone doing something "new" I assume that it may be a change with PHP.
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #6  
Old 16 Feb 2013, 13:40
nhawk nhawk is offline
 
Join Date: Jan 2011
Nope, nothing new. Just the same old brain not firing on all cylinders until my second cup of coffee.

I didn't think you were being sarcastic and I appreciate your pointing out the error.
Reply With Quote
  #7  
Old 16 Feb 2013, 13:42
WildRover WildRover is offline
 
Join Date: Jan 2007
Thumbs up

Originally Posted by nhawk View Post
The problem is you don't have anything in your home directory telling browsers where to go.

Create an index.php file and put this code in it...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save it to your home directory, which is what shows now when you go to http://www.xpower-racing.com
nhamk - you are an absolute saviour. Thankyou for helping me out - much appreciated.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Login Redirect - Redirect your users to their User CP or Profile when logging on sockwater vBulletin 3.7 Add-ons 29 19 Jun 2012 19:07
Redirect to Register Hack - Redirect from newreply.php, newthread.php & usercp.php... Chris M vBulletin 2.x Full Releases 27 04 Oct 2003 22:02



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 00:56.

Layout Options | Width: Wide Color: