OT: PHP Website running on IIS - need to stay on WWW version.

Phillip Waclawski waclawski at mesacc.edu
Wed Sep 28 22:48:18 MST 2011


There is a way to do it in PHP, but I have NO clue how to fix that on IIS, none at all. Normally I would use .htaccess, or use mod_rewrite in the virtual hosts, but IIS? Truly, no clue and not much interest in learning it. They can run Apache on windows if they have to :) 
Phil W. 

----- Original Message -----

From: "keith smith" <klsmith2020 at yahoo.com> 
To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us> 
Sent: Wednesday, September 28, 2011 7:51:30 PM 
Subject: OT: PHP Website running on IIS - need to stay on WWW version. 



Hi, 

I have done all my PHP development on Linux and the solution on a Linux box is a simple .htaccess file. 

I am doing some development on a PHP site served by IIS and need to stay on the www version of the site. www.someDomain.con vs. someDomain.com. 

I'm having problems with the session variables between the www version and the none www version. If I create a session variable on the none www page and then change the page to the www version I lose my session variables. Maybe I have another problem I am not aware of. I have not experienced this problem before. Maybe it is something I am doing and it has been masked because I always use a .htaccess file to force the site to the www version. 

Any insight is much appreciated!! 

------------------------ 
Keith Smith 
--------------------------------------------------- 
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us 
To subscribe, unsubscribe, or to change your mail settings: 
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110928/a72de53a/attachment.html>


More information about the PLUG-discuss mailing list