Solved

Perl under IIS 5.1 giving 404s

Posted on 2004-08-15
6
220 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now