This may sound like a simple request... but I am having all kinds of trouble
figuring
out a way to do this:
we host many sites. we build the same servlets that are used among many
sites.
depending on the site, we may write to different database tables, or perfom
different reads from files or db.
my problem is this... I am trying to make a url that looks clean. that is
just our
domain, and then the hosted customer name like so:
http://ourdomain.com/abc
http://ourdomain.com/xyz
I want to make my servlet aliased to /
this would allow me to parse the abc and xyz appropriately. I realize
that all
request at that domain will go through that servlet. thats ok. I have set up
a domain
just for that reason.
I have set up a zone called slash with a mounting point of / but it seams
that the
alias name starts after the slash. I use several different servlet engines,
(all with
apache) and can accomplish this with what they call a mapping. (Jrun term)
Set up
a map for my servlet name ie ( store.class -> /) to slash.
Is there any idea's on how to get this same functionality with jserv.
Everything else
works so good... I they really did a great job of cleaning up the install...
went
perfect first time through...
Thanks for any ideas...
p.s. we also offer another option to our cust. that let them get a dns
entry. this would
then look like :
abc.<ourdomain>.com/store (servlet here is store)
but this requires a new dns entry, and a KILHUP on dns. we would like to
have a realtime, non disruptive way like above for an alternative...
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]