Guest Posted January 9, 2006 Posted January 9, 2006 I am using osC 2.2, Win2k Server, IIS 5, PHP ISAPI 5 What I have noticed is that with a IIS ISAPI install of PHP, clicking any osC link that requires a secure connection results in a page not found. This includes checkout, creating accounts, etc. However, when doing an IIS CGI install of PHP, there is not a problem. I would really like to continue development w/ the ISAPI install. Has anyone else seen this problem, or have an idea how to fix it? I know there are other issues w/ the ISAPI on IIS, but those have been worked though so far, with help from the forums. Windows is my native environment, so that is why I am not in Unix/Apache. Thanks in advance, Pualee
kgt Posted January 9, 2006 Posted January 9, 2006 http://us3.php.net/manual/en/function.getenv.php Read the user notes, specifically the notes from vlad at afian dot om renko at <remove>virtual-life dot net OSC uses getenv() to test for SSL. Contributions Discount Coupon Codes Donations
Guest Posted January 9, 2006 Posted January 9, 2006 Yah, thnx for the pointer. I am aware of that issue and have written a program to recurrsively parse every php file in a directory and replace the getenv( ) w/ $_SERVER[ ] I didn't have time to work through it because I had to run an errand, but am in the process now. Any more heads up for ISAPI issues? Pualee
kgt Posted January 9, 2006 Posted January 9, 2006 Sorry, I rarely work with PHP/windows, so I don't know of any offhand. I would imagine though, that you'll find more issues using PHP on Windows more than PHP as ISAPI, specifically. I can't think of any functions OSC uses that fail on windows, though. Contributions Discount Coupon Codes Donations
Guest Posted January 9, 2006 Posted January 9, 2006 Well, replacing the getenv() w/ $_SERVER[ ] only gets so far. As it turns out, there are several documented PHP varialbes (www.php.net) which are not defined in IIS. I'm going to have to read through this osC code a little closer and figure out exactly what it is trying to do, hoping that I can find another way around it. An interesting note is that the ISAPI and the CGI installs I'm working with are missing different variables, and are both on IIS 5 w/ Win2K server. Does anyone have a Win2k IIS5 osCommerce store up and running? Its starting to look like this will be a big job, I may even have to switch to Apache :( Pualee
Recommended Posts
Archived
This topic is now archived and is closed to further replies.