Re: OT: PHP Website running on IIS - need to stay on WWW ver…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Phillip Waclawski
Date:  
To: Main PLUG discussion list
Subject: Re: OT: PHP Website running on IIS - need to stay on WWW version.
I really need to read this more carefully. Twice now I've responded to one of the PLUG posts, assuming it was one of my students :)
Phil W.

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

From: "Phillip Waclawski" <>
To: "Main PLUG discussion list" <>
Sent: Wednesday, September 28, 2011 10:48:18 PM
Subject: Re: OT: PHP Website running on IIS - need to stay on WWW version.


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" <>
To: "Main PLUG discussion list" <>
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 -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss