 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
gammonish
Joined: 13 Jan 2007
Posts: 1
|
| Posted: Sat Jan 13, 2007 9:49 pm Post subject: Header Location redirect NOT working with Apache2Traid 1.4.4 |
|
|
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!? :(
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 |
|
| Back to top |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 1538
|
| Posted: Sat Jan 20, 2007 1:28 pm Post subject: |
|
|
should work , if not something gone wrong with your installation
is php working ? see cp php tests |
|
| Back to top |
|
| |
|