473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Windows 2003 Web Edition - 404 errors on href that ends in .log

Is there a workaround to allow .log files to be accessed

Like: http://127.0.0.1/Test.log

The access is just so it can be downloaded.

I get 404 errors for Windows 2003 but not for Windows 2000 for this.
Jul 22 '05 #1
2 1169
Are you using URLScan or some other ISAPI filter on IIS? This can register
a 404 error if the request for the file is rejected for any reason (e.g.
permissions) because a filter can't utilize custom errors.

What program does windows say .log is associated with?

IIS basically has three common types of 404:

(a) a file extension that is not registered with IIS, disabled in IIS, or
not associated with a mime type. You can see the mime types in Control
Panel > Administrative Tools > IIS Manager, right-click the server name, hit
Properties, and click on the MIME Types... button. .log isn't listed on my
server by default, so unless you've explicitly listed it and something else
is going wrong, you will likely resolve your error by hitting New... and
adding .log with a MIME type of text/plain (if you want the browser to
display the .log file directly) or application/octet-stream if you want them
to be prompted to open it (which will open the file in the program *their*
system is registered to read .log files with) or save it to disk.

(b) the file really isn't there...

(c) the oddball rare error I mentioned above.
HTH

On 3/1/05 11:25 PM, in article
2F**********************************@microsoft.com, "MarkP"
<Ma***@discussions.microsoft.com> wrote:
Is there a workaround to allow .log files to be accessed

Like: http://127.0.0.1/Test.log

The access is just so it can be downloaded.

I get 404 errors for Windows 2003 but not for Windows 2000 for this.


Jul 22 '05 #2
Aaron,

you were right. I added a MIME type with the .log extension as text/plain
and this did the job.

Funnily enough I discovered this right before you posted your response.

Thanks for your effort.
Mark
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
2
by: Raptor | last post by:
I'm a complete Javascript n00b, using a snippet I found on the web. I'll probably be buying a Javascript book. What's the authoritative on-line resource for Javascript, like php.net is for PHP? ...
18
by: steve.anon | last post by:
Hi I'm a Java developer moving to windows only applications. Of course the first thing I thought was "well at least, without the VM now I can write desktop applications that run real fast". So I...
2
by: Robbo | last post by:
I recentlly finished a 4 page asp.net app in Visual Studio 2002. Works great on Localhost running windows XP. I move the files to Windows Server 2003 where they will hopefully run, and get errors....
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
5
by: Bob Nelson | last post by:
Right next to K&R2 on my bookshelf is _C Programming: A Modern Approach_ by Professor K.N. King. The second edition of this book is now available. See this URL for details: ...
1
by: c.splittgerber | last post by:
We have some trouble with C-written application and UDF on 64-bit Windows ... Given the following production environment: - Windows 2003 Server on AMD64 - Microsoft C/C++ Compiler of Visual...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.