Or, specify a virtualhost and deploy the connector within that virtualhost.
----- NameVirtualHost 192.168.1.1 <VirtualHost 192.168.1.1> ServerName www.blah.com DocumentRoot /blah WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples [other statements go in here too.....] </VirtualHost> ----- This has the advantage of allowing you to deploy more virtual hosts with different webapps easily. Example: <VirtualHost 192.168.1.1> ServerName ADMIN.blah.com DocumentRoot /admin WebAppConnection conn2 warp localhost:8008 WebAppDeploy admin conn2 /admin [other statements go in here too.....] </VirtualHost> Ken Cynthia Jeness wrote: > I believe that this is a known problem and one suggested workaround is > to do the following: > > "Uncomment the line "ServerName=localhost" and changed > "localhost" to "www.ajug.org". Unless this line is uncommented, then > Apache will generate an error (Invalid virtual host name) when > restarted. " > > Of course, change "localhost" to the correct name of your server. > "www.ajug.org" is my web server. You can find our Tomcat4 how-to at > this URL: > > http://www.ajug.org/howto/tomcat4.html > > > Cynthia Jeness > Web Chair, Atlanta Java Users Group > > > Karoly VEGH wrote: > > >>Hello, >> >>i try to get apache communicate with tomcat, >> >>i have the following section in my httpd.conf: >> >>-------->8------------------------- >> >><IfModule mod_webapp.c> >> WebAppConnection conn warp localhost:8008 >> WebAppDeploy examples conn /examples >># WebAppInfo /webapp-info >></IfModule> >> >>-------------8<-------------------- >> >>WebAppDeploy takes three arguments, <name> <connection> <uri-path> >> >>the problem is at apachectl configtest: >> >>Syntax error on line 1039 of /etc/apache/httpd.conf: >>Invalid virtual host name >> >>the 1039th line is WebAppDeploy examples conn /examples >> >>what virtual host does he await? >> >>tia, >> >>Charlie >> >>-- >>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>For additional commands: <mailto:[EMAIL PROTECTED]> >>Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
