Solved

Perl under IIS 5.1 giving 404s

Posted on 2004-08-15
6
223 Views
Last Modified: 2012-06-21
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 :-)

0
Comment
Question by:webauk
6 Comments
 

Author Comment

by:webauk
ID: 11804814
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?

0
 
LVL 5

Expert Comment

by:LlamaJoe
ID: 11817069
If that's the case, I'm guessing it had something to do with the power switch  :)
0
 
LVL 14

Expert Comment

by:alimu
ID: 11826104
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.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:webauk
ID: 11828080
>post a 0 point question in community support

Where is "community siupport" ?

0
 
LVL 14

Expert Comment

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

Cheers,
AJ.
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 12494491
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question