I have a perl site which is running on a Red Hat server here just fine but I'm consolidating our web servers here and some of our apps are .NET so I have to find a way to port our linux web apps over which isn't so bad since all of it is 'supposedly' supported on Windows as well.
Anyways, I have most of the site working and I checked the code (which works in Linux) but when I call an action it gets ignored and just shoots me to the default page instead of the specified one based off my URL input. Below is a code example
if ($in{'action'} eq "loadnav" { &display_content }
Any one of these specific actions that gets requested in the URL gets ignored. Has anyone seen this in a Windows environment before? I've searched online and found nothing worth a shit.
Last edited by raw on Fri Jan 13, 2006 4:34 am, edited 5 times in total.
by far a better place to ask, awesome ppl, just dont post any links to your site as thats seen as advertising
webmasterworld is the place all pro's flock together, I am also there (not that I consider myself a pro), so maybe post there for additional help?
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
On a side note, I wrote some small test code to test the functionality and eliminate the application and the problem still exists which tells me it is a Perl running on IIS problem. Hopefully it's just a setting.
riddla wrote:I seem to recall reading somewhere there are some perl functions which simply dont work on an IIS install. Perhaps you found one of them...
You could also try defining the literal to a string before the compare. They may perform string compares differently from Linux to Windows.
$dummy = "loadnav"
if $in('action') eq $dummy {}
I had a couple of kinks in my test script which I wrote today to test the basic functions of the server. This appears to be working now but for some reason that other app still isn't which I'm going to have to look into.