logo       

RE: setting an app has a web site: msg#00024

java.enhydra.general

Subject: RE: 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 "/"
If you supply a URL like http://host/app2/ 
      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.
 
 
-----Original Message-----
From: Camila Piñeiro [mailto:camila@xxxxxxxxxxxx]
Sent: Monday, December 09, 2002 10:32 AM
To: enhydra@xxxxxxxxxxx
Subject: Enhydra: setting an app has a web site

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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise