Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Header Location redirect NOT working with Apache2Traid 1.4.4
Google
Post new topic Reply to topic
Author Message
gammonish
 
 


Joined: 13 Jan 2007
Posts: 1

PostPosted: Sat Jan 13, 2007 9:49 pm Reply with quoteBack to top

I have installed a vanilla installation of Apache2Traid 1.4.4 on a Windows 2003 Server and tried to put a simple php header location redirect script but it does NOT redirect with Apache2Traid 1.4.4 vanilla configurations!? Sad

Code:
<?php
header("Location: http://www.example.com/"); /* Redirect browser */

exit;
?>


I have tested this script on other servers of mine and it works fine but not with Apache2Traid 1.4.4 vanilla configurations!?

I guess it must be something with http.conf directives or php?

Can anyone offer a solution?

(I know I can do such a thing with .htaccess file but I need it with header location as I a lot of domains on this server)

Thanks,

Jane
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Sat Jan 20, 2007 1:28 pm Reply with quoteBack to top

should work , if not something gone wrong with your installation
is php working ? see cp php tests
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT