I've deployed a WAR for "Railo" (a CFML processor) and I have a site working
just fine through apache (with mod_jk) to point to my domain. My problem is
I want to be able to host multiple sites on my server using the Railo
application and have the httpdocs in a structure like /home/www/domain/ as
of now I have the site in tomcatdir/railo/. I'll include excerpts from my
httpd.conf and server.xml below, how do I run as many as I want? FOR BONUS
POINTS: run one on ssl

HTTPD.CONF:
NameVirtualHost *:80
+VirtualHost *:80+
 DocumentRoot /usr/java/tomcat-5.5/webapps/railo-2.0.0.026
 ServerName aquariumdb.com
 ServerAlias www.aquariumdb.com
 DirectoryIndex index.cfm
 JkMount /*.cfm default
 JkMount /*.cfc default
+/VirtualHost+

+VirtualHost *:80+
 ServerName blog.aquariumdb.com
 DirectoryIndex index.php
 DocumentRoot /home/www/blog.aquariumdb.com/httpdocs/
 ScriptAlias /cgi-bin/ /home/www/blog.aquariumdb.com/cgi-bin/
 +Location /cgi-bin+
   Options +ExecCGI
 +/Location+
 ErrorLog /home/www/blog.aquariumdb.com/logs/error.log
 CustomLog /home/www/blog.aquariumdb.com/logs/custom.log combined
+/VirtualHost+

SERVER.XML:
+Host name="aquariumdb.com"
appBase="/usr/java/tomcat-5.5/webapps/railo-2.0.0.026"+
        +Context path="" docBase="."/+
        +Alias+www.aquariumdb.com+/Alias+
+/Host+

-- 
View this message in context: 
http://www.nabble.com/Need-help-with-multiple-sites-in-server.xml-file%2C-almost-there-but-not-quite%21-tp15217741p15217741.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to