tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Re: include for server.xml
Date Sun, 02 Feb 2003 21:17:13 GMT
There is no such concept associated with server.xml.But there is in XML 
:-) You can define an ENTITY element at the top of your server.xml file 
and reference it inside the body of the <server> element. Do something 
like this:

<!ENTITY coyoteConnector SYSTEM "http://your_configuration.xml">

and then inside the <server> element:

<server .....>
    &coyoteConnector
</server>

-- Jeanfrancois


Ward Vandewege wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>
>I have a tomcat/apache setup with several virtual hosts. The information for
>the virtual hosts lives in a database. In the apache config file, I can just
>use the 'Include' directive to include my automatically generated
>configuration file (with all the virtual host definitions) in the httpd.conf.
>
>I've been looking all over the archives of this list, the jakarta site, and
>google, but have not been able to locate an equivalent for use in the
>server.xml file. Is there one?
>
>Bye for now,
>Ward.
>
>- -- 
>Pong.be         -(   "Those who do not understand Unix are condemned to    )-
>Virtual hosting -(         reinvent it, poorly." -- Henry Spencer          )-
>http://pong.be  -(                                                         )-
>GnuPG public key: http://gpg.dtype.org
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.0 (GNU/Linux)
>
>iD8DBQE+PYaBqC3O5tzmh5wRAsKtAJ9376Ne/7o9iX/oe0YwysUtSvNukACfTt3s
>JzWbEwo6Y+ETChW0FEWTZec=
>=a2/6
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message