Thread: IIS Question
-
December 15th, 2003, 10:39 PM #1
IIS Question
I am more an Apache guy (Windows and Unix) but this time I don't have a choice so here goes:
I have an asp app I copied to wwwroot\aspapp and when I go into the folder displays all the files in it, but when I click on the ASP file it gives me a 404 which I know is wrong. Scripts CAN execute, they have permission. Ideas?You're still using Windows? When are you going to upgrade to Linux?
-
December 15th, 2003, 10:53 PM #2
Look at the logs and see what is 404ing. Not much to do with asp, something is calling a document that isnt there. If it was an execute permission problem it would be a 500 or a 403.
My computer is bigger than yours!
-
December 15th, 2003, 11:43 PM #3
I actually searched my machine for the log files because I couldn't find them heh (they still didn't show up... but I'm using XP Pro so they're probably in some wierd spot)... But I also forgot that I ran the IIS lockdown tool (which I did when I set this machine up a month ago)... The problem viola:
Installed URLScan
Removed script map: .asp, C:\WINDOWS\System32\inetsrv\asp.dll
Removed script map: .cer, C:\WINDOWS\System32\inetsrv\asp.dll
Removed script map: .cdx, C:\WINDOWS\System32\inetsrv\asp.dll
Removed script map: .asa, C:\WINDOWS\System32\inetsrv\asp.dll
Removed script map: .asp, C:\WINDOWS\System32\inetsrv\asp.dll
Installed 404.dll to system32\inetsrvYou're still using Windows? When are you going to upgrade to Linux?
-
December 15th, 2003, 11:51 PM #4
C:\WINDOWS\system32\Logfiles\W3SVC1
Is where the logs are... and the file extention is not txt
so that's why they didn't show up.
Last edited by trieder; December 16th, 2003 at 12:02 AM.
You're still using Windows? When are you going to upgrade to Linux?
-
December 16th, 2003, 08:37 PM #5
how are you trying to open the file. from IE did you enter
http://servername/path/filename.aspmy signature was so lame i deleted it.
-
December 17th, 2003, 03:12 PM #6Sure did! I messed around with the settings more, but it seems IIS configuration can get ugly especially if you never did it before.Originally posted by capybara
how are you trying to open the file. from IE did you enter
http://servername/path/filename.aspYou're still using Windows? When are you going to upgrade to Linux?
-
December 18th, 2003, 11:23 PM #7
well, heres my 0.02 worth. create a new dir., dont use
wwwroot, its for default only and has screwy properties,
permissions, and redirects. the new dir can be under inetpub
or it can be virtualmy signature was so lame i deleted it.
-
December 19th, 2003, 11:50 AM #8
I should have just made it a Virtual Directory to being with, but I didn't feel like setting one up. In any event I got it to work (finally) by rerunning the lock down tool and making a few manual changes. I am disappointed, however, that I changed the port number for IIS to 8080 and it hasn't changed from 80 (ie I edited the registry just like Microsoft said and it still listens on 80 even after a service stop/reboot)
Anyway, thanks for the help guys.You're still using Windows? When are you going to upgrade to Linux?
-
December 20th, 2003, 01:36 PM #9
heres my xp-erience from my w2k server class at college
(finals was 2 days ago). chapter 14 = iis. set up home directory
c:\inetpub\test2. setup document at the top of the list as
default.asp which is created and it runs fine when opened
from explorer, click on the file, "open with" IE.
now i go to IE, enter http://localhost:80
and what comes up? a different file, iisstart.asp.
wtf? neither the guy who sits next to me (a network admin)
nor the teacher, could fix it.
so you xperience not being able to set ports reminds me,
iis sux. time to learn apache, huh?my signature was so lame i deleted it.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks




Reply With Quote

4GB is about the minimum you want for good performance. I kicked up to 8 and I noticed the difference. Especially in games.
Is It Just Me? v233893843