![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
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? |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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."
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 | |
|
Hobbyist Programmer
|
Quote:
|
|
|
|
|
|
|
#4 | |
|
Programming Guru
![]() |
Quote:
fyi, HTML is not a server technology, it's a client side technology...
__________________
|
|
|
|
|
|
|
#5 | |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Frankly speaking, I could not figure out what the question is demanding...?
Can someone put it in simpler words ------------------------------------ Quote:
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
[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? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|