Mike,
thanks for your support.
I
tried the three options you gave me.
The third one, using the index.html where
it redirects to my app, worked, but we want to do it directly.
So I tried using the
<restrict
virtualserver=" www.ec.minbas.cu" />
in the
enhydra_director.conf, as a tag inside the EnhydraDirectorConfig tag and inside
my application :
<Application
prefix="/ec">
<restrict
virtualserver="www.ec.minbas.cu" />
<AppServer
host="10.16.16.245" port="8080" />
</Application>
and it
doens’t work.
I had set in the DNS that my PC deals
with www.ec.minbas.cu. And all worked ok using the index for
redirecting, before
introducing the
<restrict virtualserver=" www.ec.minbas.cu" /> tag.
Can you
explain me a little more how to do it.
I can not set the prefix as “/” because
it doesn’t work. I tried changing directly in the enhydra_director.conf and
multiserver.conf. Then I restarted the multiserver and the IIS. Is there
something that I’m missing?
Can you, please help, or tell who can I
ask?
Thanks a
lot,
Camila
----- Original Message -----
Sent: Monday, December 09, 2002 8:07
PM
Subject: RE: Enhydra: setting an app has
a web site
Hi,
You
can use a prefix like this in your Director conf file.
<Application prefix="/">
BUT---- You will
not be able to add more then 1 application to Director.
(At least that was my
experience)
So
if you wrote 2 applications, (Default "/" and "/app2")
If
you try to add your new app: <Application
Prefix="/app2">
Because you have a "/" for the first app, every url will always
match "/"
http://host/
already matches the single slash, so all URL's will be directed to the "/"
app.
No
one can ever get to your "/app2" prefix.
If
you plan to have more apps, I suggest you use a unique prefix for
each.
**Note, you might be able to use the <restrict
virtualserver="xxx.xxx.com" /> tag to have multiple "/" apps that work
on one server, but you will need to register more then 1 domain name for your
server to get that to work..
If
you really want a url, without the app prefix, you can put a simple index.html
in your web server root. The index.html page redirects all users to
your default app url. (eg redirect to http://host/app1).
Then
they can type a simple URL, and get directed to your app.
Hope
this helps.
Mike.
Hi
all!
I want to have my Enhydra application
directly in a web site, not in a virtual directory of a web site. The
Enhydra Director installation instructions only explain the
last.
In the multiserver, I tried to set a
different url server when creating a connection thru the Enhydra Director,
but it only sets the name of the server.
I don’t know what to do. Can you help
me?
Camila