----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


I've been butting my head up against setting up separate zones for separate
virtual hosts for 3 days now. It seems that I've got everything set up
according to the documentation, but I can't get past either the 500 error
message or a simple timeout.

This is an example of how I've added the virtual host with the mount point:

<VirtualHost 192.168.0.75>
  ServerName host1.mydomain.com
  DocumentRoot /vhost/host1
  <IfModule mod_jserv.c>
    ApJServDefaultHost host1.mydomain.com
    ApJServMount /servlets /host1
  </IfModule>
</VirtualHost>

Presumably, I could then use the following URL:

http://host1.domain.com/servlets/IsItWorking

I have created host1.properties and listed it properly in jserv.properties.
host1.properties has its own servlets folder in /vhost/host1/servlets.
IsItWorking.class exists in this servlets folder. 

I'm running Apache 1.3.12 and JServ 1.1.1. I have also tried using the full
ajpv12://host1.mydomain.com URL in the mount directive, but to no avail.

Has anyone else run into issues with setting up multiple zones on virtual
hosts? Nothing seems to be showing up in the logs. What I'm trying to do is
set up an aliased servlet, 1 instance of it in each of 4 zones for 4 virtual
hosts. I've gotten to the point where all 4 servlets start up neatly, write
out their log files, authenticate to the database, etc. I just can't access
them via URL, and the logs aren't showing anything either.

Any help would be greatly apreciated.

Thanks,
John Stotler
Eutectics Corporation
http://www.SocratEase.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to