I can't get a redirect using the PHP Header command to work on Windows 7 Pro X64 with Apache 2.2 and PHP 5.3.3.
Code worked fine with the old version of Apache and PHP but I can't figure out why it is not working now. I'm not getting a PHP error and the PHP header command does get processed but no redirection occurs (I verified this by writing to a log file after the header command was issued).
Thinking it must be the new Apache (I was using Apache/1.3.27 (Win32) PHP/4.3.9)
I changed AllowOverride from None to All
I added AccessFileName dot.htaccess (Windows does not like .htaccess) and put RewriteEngine on in it.
Any help greatly appreciated.
Rich K.
Code worked fine with the old version of Apache and PHP but I can't figure out why it is not working now. I'm not getting a PHP error and the PHP header command does get processed but no redirection occurs (I verified this by writing to a log file after the header command was issued).
Thinking it must be the new Apache (I was using Apache/1.3.27 (Win32) PHP/4.3.9)
I changed AllowOverride from None to All
I added AccessFileName dot.htaccess (Windows does not like .htaccess) and put RewriteEngine on in it.
Any help greatly appreciated.
Rich K.