LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > PHP redirect issue

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2008, 02:33 PM
alex alex is offline
Senior Member
 
Join Date: Jan 2006
Posts: 51
Default PHP redirect issue

I am trying to redirect this page - www.disboards.com/search.php to www.disboards.com/searchbt.php

Search.php now consists of :

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header("Location: http://www.disboards.com/searchbt.php");
?>

I am getting a blank page but if I show source I get the proper code, it just doesn't work

Is this a litespeed issue?
Reply With Quote
  #2  
Old 02-18-2008, 07:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Use "<?php" instead of "<?"
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -7. The time now is 03:17 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.