(IIS & Win2k Server) How do I make directory work with global.asa? **Resolved**
How do I make directory work with global.asa? I have a global.asa in the inetpub and one that is in a directory one level down. I don't car about the first one but want to use the 2nd one.... stuck here. I don't know what IIS vers it is but it is Win2k Server.
Thanks
Michael
Last edited by msimmons; Jun 21st, 2002 at 08:26 AM.
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
As far as I know (i'm new to IIS) it is set as its own site. I have a session variable that I am setting in both the inetpub's root and in the directory in question's root and it is getting the value of the one in the inetpub root.
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
Use ISM to create "Web Applications" (see the bottom part of the Directory/Home Directory tab) - each Application can have a global.asa in its root folder - hence the ASP Application object.
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Thats exactly what I have done and it still isnt working. I even "removed" the app name and re added it and its still using the wrong global.asa
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
in inetpub? Preferrably you should put your application into a folder outside inetpup...usually directly under wwwroot is fine and then relink your Virtual directories to there. You do know what I mean by Virtual Directory do you? I dont mean a folder listed in IIS. That is not necessarily a Virtual Directory. If you dont know how to create one: Right click on 'Default Web Site'. Then choose New > Virtual Directory...follow the steps from there.
Sorry it is inetpub>wwwroot>site1.
It is working now! I had it set up as a 'site' but never realized that I should just hit the + on default website and properties on the site1 that was listed there, then create application.
Thanks!
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
FYI, don't set Execute permissions unless you want CGI to run in a folder - that includes *.exe files and probably anything the OS considers executable (*.bat, etc).
Anyway, see the image I've attached - to make a new application for my "images" folder, I right click it, pick properties, then click the "Create" button circled.
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
You figured it out while I was making the nice picture!
Josh
Get these: MozillaOperaOpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.