Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iis 5.0: web-access to logfiles?

Status
Not open for further replies.

weekender

Programmer
Sep 27, 2001
1
CH
hi

i tried to make my logfiles avaible on my webserver. if i try to look at them over the net, i always get 404 error. do i have to register a new mime type? if yes, what is the exact mime-type to register?

thanks for help
boris

try it yourself at:
 
seems to be the same problem as me, only i can't access exe's.
To test your problem, I also put a log file on my server, and get a 404 error when trying to access it.
I then added a mime type for "log" extensions and used Notepad for the Executable path..
This didn't help...
It's good to know I'm not the only one out there with this problem :). That means we're more likely to find an answer. Just hope someone else on this forum has been here and fixed it..

Please help us. We're hopeless!
 
maybe we should ask microsoft...
i have a feeling it's the result of one of their patches.

-Adam
 
I don't know about your .exe's, because I don't know exactly what the .exe is trying to do, but if you want to see a .log file off your web server, try this...

Goto the virtual directory you created and right click, choose properties.

Under Virtual Directory, at the bottom there is a section for application settings. Choose the "configuration" button.

(This setting is also available in Home Directory tab if you wish to enable this at the site level instead of the virtual directory level. It can also be enabled for the entire web server if you wish to do it at that level as well...)

This brings up the ISAPI extentions page. Add an extention for .log using the the asp.dll. The Default path to the asp.dll is winnt\system32\inetsrv\asp.dll

That asp.dll is your executable, the extention is of coarse .log

To be on the safe side, restart your web server service and your all set.

Let me know if this fixes your problem, if not I know another way just as easy.

Raymond
 
Well, I tried that, restarted IIS, went to the url and it doesn't work.
Maybe weekender will have better luck...

As far as the exe's, I can't even download them from my server.

I've never gotten a 404 when trying to download a file that was there until recently....that's why I'm assuming it's the cause of a Microsoft patch I've installed...
 
actually, that does work for log files :)
i just re-read what you wrote and i had it pointing to notepad.exe instead of asp.dll
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top