Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 12th, 2005, 2:21 AM   #1
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
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?
bja888 is offline   Reply With Quote
Old Nov 12th, 2005, 7:37 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Nov 12th, 2005, 10:25 AM   #3
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
Quote:
Originally Posted by DaWei
Where's that five years of server technology study?
2. 5 is html
bja888 is offline   Reply With Quote
Old Nov 12th, 2005, 10:34 AM   #4
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
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...
__________________

tempest is offline   Reply With Quote
Old Nov 12th, 2005, 11:44 AM   #5
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
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"
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Old Nov 12th, 2005, 11:59 AM   #6
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
[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?
bja888 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:42 PM.

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