Link to home
Start Free TrialLog in
Avatar of webauk
webauk

asked on

Perl under IIS 5.1 giving 404s

Hi folks - I'm asking here 'cause this is driving me nuts :-)

Scenario: I have  laptop onto which our IT guys have installed XP Pro (and a Whole Bunch of Other Stuff, but that shouldn't be relevant - I hope) They know next to nothing about IIS so it's a vanilla-flavoured install. I have the task of recreating our two corporate intranets to demonstrate to our parent company in a location where they have *no* network connection in, oh... another fifteen hours time...

But I digress.

I've got everything working *except* I cannot get Perl CGI files to run - I just get a 404. Now I realise this is what happens if URLSCAN is installed, but  I don't think our IT guys even know what URLSCAN is and I certainly cannot find any evidence either URLSCAN or IISLOCKDOWN has been installed/run on this laptop. (Question 1 - what does URLSCAN look like under XP Pro?)

I know Perl is installed OK (I've installed it on dozens of IIS servers before,  I've checked the application mappings - they are OK and I can run Perl from the command line) To prove that I'm using the correct URL I've turned on directory browsing and all the scripts are listed in the browser (oh, IE5.5 and IE6 if that makes any difference) If I click on "fred.txt" I get to see the contents of that file, but if I click on "fred.pl" (Hello world) I simply get a 404. The IIS log file also shows a 404.

I've got lots of experience with IIS4, 5 & 6 but IIS 5.1 seems a bit odd, but that could be because it's XP Pro and not a Server version of Windows hence a lot of IIS options are missing.

I wonder if it's some bizarre security thing. I never use anonymous access as all users are part of NT Domains here. Because this is a stand-alone demonstration I have set the EVERYONE group to have full access to everything (R/W and Execute) so I can't see how it's permissions-related. And in any case I would have expected errors other than a 404.

I've run out of ideas. Over to you :-)

Avatar of webauk
webauk

ASKER

Problem solved!  Well, at least the problem went away.

The solution was to switch the laptop off, go get a coffee, come back, switch the laptop back on and... it works!

Computers. Dontcha just hate 'em.

Thanks anyway. Erm.. am I supposed to ask the Moderators for a refund or something?

If that's the case, I'm guessing it had something to do with the power switch  :)
Avatar of alimu
post a 0 point question in community support with a link to this question to ask for question to be closed & points refunded.
cheers,
AJ.
Avatar of webauk

ASKER

>post a 0 point question in community support

Where is "community siupport" ?

All topic areas are listed at the bottom of the home page of EE.
Alternatively, here's a link: https://www.experts-exchange.com/Community_Support/

Cheers,
AJ.
ASKER CERTIFIED SOLUTION
Avatar of PashaMod
PashaMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial