You are here: redirect on apache 2.0 « PHP Programming Language « IT news, forums, messages
redirect on apache 2.0

Posted by Akimeu on 06/28/05 19:54

Hello all... I have a site running http/https on it. I would like to
redirect all http incoming requests to the https (SSL). Unfortunately, what
I'm trying does not work.... I basically created an index.php in the
DocumentRoot, modified http.conf file and restarted apache w/out any luck.

The contents of the index.php file are as follows:

<?
header("location:https://sitename.com/index.html");
exit;
?>

What I get back is a blank, white web page.

Thanks for any assistance.

Al

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация