Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP (http://www.programmingforums.org/forum32.html)
-   -   global.asax (http://www.programmingforums.org/showthread.php?t=6949)

bja888 Nov 12th, 2005 2:21 AM

global.asax
 
I just changed hosting. My prevoius host put all sites in one folder and you had to write a re-dir script. My new host lets you point domains to specific floders. So then I want to know how the global.asax file will work.

Your supposed to put it in the root for the site. My hosting says to put it in the main folder and the domain folder. The thing is though, I want diffrent global.asax files for each of my sites. I tested it out and it doesn't make since.

The url says http://www.bja888.com/, how can the root for that site be one folder back?!?

Anyone have an explanation or a way around?

DaWei Nov 12th, 2005 7:37 AM

Where's that five years of server technology study? The directory structure of the file system and the directory structure of the material as it's presented to the web are two different things, often. File-system wise, my www and cgi-bin directories are on the same level. URL-wise, the cgi-bin directory is contained within the www directory. Security control is one reason for this dichotomy. Again, your server technology studies must have been "How to maximize tips when working as a waiter."

bja888 Nov 12th, 2005 10:25 AM

Quote:

Originally Posted by DaWei
Where's that five years of server technology study?

2. 5 is html

tempest Nov 12th, 2005 10:34 AM

Quote:

Originally Posted by bja888
2. 5 is html

I started out with HTML, and it took me 4 months... that's weak.

fyi, HTML is not a server technology, it's a client side technology...

java_roshan Nov 12th, 2005 11:44 AM

Frankly speaking, I could not figure out what the question is demanding...?
Can someone put it in simpler words
------------------------------------
Quote:

tempest
Not a Moderator
tempest sir, what's wrong...why the shift from "Moderator" to "Not a Moderator"

bja888 Nov 12th, 2005 11:59 AM

[quote=java_roshan]Frankly speaking, I could not figure out what the question is demanding...?
Can someone put it in simpler words

I was hopeing people could read it. I worte it right before going to sleep.

I have 8 domiains on one hosting account. Each domain allows me to redir to a specific folder.
Example...
FTP says: root/bja888/index.aspx
URL says: http://www.bja888.com

I want a diffrent global.asax file for each domin. I chacked and it only seems to run form the root. Does anyone know a weay around it. So I can have a global.asax for each site?


All times are GMT -5. The time now is 11:42 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC