IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 16th, 2005, 12:35 PM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 47 m 22 sec
Reputation Power: 4
Red face 404 even though file exists, mappings and permissions set

I have locked down my IIS on XP Pro, and am now testing the config. I have navigated to 127.0.0.1 and 'Default.asp' is parsed and displayed as its in my default documents list. When I rename the file to 'foo.asp' and try navigating to 127.0.0.1/foo.asp I get a 404.

What gives?

Thanks.

Reply With Quote
  #2  
Old March 16th, 2005, 10:33 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 59 sec
Reputation Power: 688
Try restarting IIS after you rename the file, or add a new file rather than renaming the default file.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old March 17th, 2005, 03:26 AM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 47 m 22 sec
Reputation Power: 4
Cool

Thanks for the reply Doug, I have tried that but I'm still getting a 404. I think I will go through the various log files and see if that helps, else I will have to reinstall IIS and lockdown manually so that I can see what's causing the problem.

Reply With Quote
  #4  
Old March 18th, 2005, 12:35 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 57 m 59 sec
Reputation Power: 688
If you ran the IIS lockdown tool I believe you can run it again to undo changes.

You might take a look at the NTFS file permissions on your virtual directory, maybe new files don't inherit proper permissions for the anonymous IIS user account.

Just a couple guesses.

Reply With Quote
  #5  
Old March 18th, 2005, 02:15 AM
Markup's Avatar
Markup Markup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: The Holographic Universe
Posts: 75 Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level)Markup User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 47 m 22 sec
Reputation Power: 4
Talking

Thanks for your suggestions.

I think I've fixed it

I have found out that static pages and cgi scripts don't have the problem as described with the asp file. So I re-mapped asp files to the html extension and it works now.

I think it might have been some kind of persistancy error, when I checked the mappings after lockdown the asp files were all mapped to the 404 dll. I have since overrided the asp mappings to re-enable them, but it seems that the previous config was still live some how?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > 404 even though file exists, mappings and permissions set


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway