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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 14th, 2004, 10:36 AM
jwpryor jwpryor is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 jwpryor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 14 sec
Reputation Power: 0
Red face .ini files not recognized by website

I'm not sure if this is the correct forum to use or not...
But our website(which is on a Windows 2000 server and using IIS) will not recognize ini files. When I enter the website address followed by the name of the ini file, it says the page is not found. However, when I rename that same file to have a txt extension, and then try to access that file as part of the URL it works just fine.

Is there some setting that is needed in the web server so that it recognizes an ini file?
Thank you,
Julia

Reply With Quote
  #2  
Old September 14th, 2004, 01:06 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 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 31 m 33 sec
Reputation Power: 688
What do you expect to happen when you point your browser at an ini file?

It's possible there is a filter in IIS since showing ini files could be quite a security problem in some servers.
__________________
======
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 September 14th, 2004, 01:13 PM
jwpryor jwpryor is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 jwpryor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 14 sec
Reputation Power: 0
At the least, when pointing to a file that does exist on a server, if the browser can't execute it, then it usually pops up with a prompt to open/save the file. That is what it does on our other server. On the server that is the problem - the browser just says that the file/page is not found. That is also what happens with the program that we are actually ultimately wanting to read the ini file with.
Julia

Reply With Quote
  #4  
Old September 14th, 2004, 08:03 PM
GaneshAnekar GaneshAnekar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 21 GaneshAnekar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 57 sec
Reputation Power: 0
Check for MIME types and make sure you have configured that extension on website.

Website>properties>home directory>Configuration>Application Mappings.

HTH.

Reply With Quote
  #5  
Old December 3rd, 2004, 11:14 AM
jwpryor jwpryor is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 jwpryor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 14 sec
Reputation Power: 0
Question

I'm just getting back to this problem as we found a work around, but now I have to figure out how to get the site to recognize ini files again because the work around no longer will do.

Thank you for the tip on looking at the extensions that are supported - ini is listed as an extension with notepad as the application. But the ini file can still not be accessed through the website. Any other suggestions?

THank you,
Julia

Reply With Quote
  #6  
Old December 3rd, 2004, 11:35 AM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
Odd timing, but I'm seeing a related issue right now. IIS sends back 404's for existing .log files, which is preferred, but it's also doing it to .ico files. I tried adding a lovely favicon.ico in the root of the web server and accessing it directly comes back with 404's. This doesn't make any sense to me, and I'm searching application mappings, machine.config, web.config, etc, I'm not seeing anything that should be denying it (and unless there's some security threat in the .ico format, I can't think of any reason why these would be denied like ini/log files).

Also, my local IIS is running v5 and I can see .log's, but the production server is running v6 and it denies them. There's got to be some central repository of these "hidden" file extentions somewhere, as this behavior really doesn't make much sense.
__________________
Andrew - Perl (and VB.NET) Monkey

Never underestimate the bandwidth of a hatchback full of tapes.

Reply With Quote
  #7  
Old December 4th, 2004, 04:32 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 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 31 m 33 sec
Reputation Power: 688
I don't remember for sure, but maybe there is some IIS setting to enable/disable favicons.

Reply With Quote
  #8  
Old December 6th, 2004, 02:01 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
After some issues this morning and a restart of IIS, favicon.ico started showing up. Maybe IIS caches it and only rechecks existance on startup? Dunno.

Another thing I ran across was in IIS Mgr, right click the computer name at the top (not the website) go to Properties and from there there's an Edit button for MIME types. Maybe that list is responsible for some of this. Julia, are .ini files listed there?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > .ini files not recognized by website


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 6 hosted by Hostway