Solved

Perl under IIS 5.1 giving 404s

Posted on 2004-08-15
6
219 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
Comment Utility
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
Comment Utility
If that's the case, I'm guessing it had something to do with the power switch  :)
0
 
LVL 14

Expert Comment

by:alimu
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:webauk
Comment Utility
>post a 0 point question in community support

Where is "community siupport" ?

0
 
LVL 14

Expert Comment

by:alimu
Comment Utility
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
Comment Utility
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

18 Experts available now in Live!

Get 1:1 Help Now