You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rama <ru...@yahoo.com> on 2001/12/29 05:01:01 UTC

A little help for apache vhost & tomcat

How to set up mod_webapps in the secure virtual host?
How to make JSPs work at https://secure/ instead of
https://secure/secure/ ?


Rama


this is the snippets from my httpd.conf:

<VirtualHost secure:443>
  ErrorLog logs/secure-ssl-error_log
  TransferLog logs/secure-ssl-access_log
  SSLEngine on
  SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
  SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
  SSLCACertificatePath /etc/httpd/conf/ssl.crt
  SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt
  DocumentRoot /home/myapp/secure
  ServerName secure
  WebAppConnection	conn1		warp		secure:8008
  WebAppDeploy		secure	conn1		/secure
</VirtualHost>

================
this is my full server.xml:

<Server port="8005" shutdown="SHUTDOWN" debug="0">

  <Service name="Tomcat-Apache">

    <Connector
className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="0"/>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0" appBase="webapps">

      <Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt" timestamp="true"/>

      <Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">
         <Context path="/examples" docBase="examples" debug="0"
reloadable="true" />
      </Host>

      <Host name="secure" debug="0" appBase="/home/myapp"
unpackWARs="true">
        <Context path="/secure" docBase="secure" debug="99"
reloadable="true" />
      </Host>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

    </Engine>

  </Service>

</Server>

==================





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


apache and tomcat with mod_webapp

Posted by Hitesh Sharma <sh...@yahoo.com>.
hi all
I am using apache as my webserver and tomcat as the servlet runner. I am
able to run servlets transparently with help of warp connector module
"mod_webapp".
My concern is can I use the webdav capablities of tomcat over warp
connector. I tried that but failed.
Looking into logs I found that apache is not passing the DAV specific
requests to tomcat. Are there some option to tell apache to forward DAV
requests also.
My httpd.conf contains the following lines.
-----
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp buildserver:8008
WebAppDeploy webdav warpConnection /webdav
----

Please note that I can open the index file residing in the "webdav" folder
when I point the explorer to it but I fail to add the same folder as a
webfolder on my win2000 box.

Any suggestions ?
Thanks in advance

hitesh






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


apache and tomcat with mod_webapp

Posted by Hitesh Sharma <sh...@yahoo.com>.
hi all
I am using apache as my webserver and tomcat as the servlet runner. I am
able to run servlets transparently with help of warp connector module
"mod_webapp".
My concern is can I use the webdav capablities of tomcat over warp
connector. I tried that but failed.
Looking into logs I found that apache is not passing the DAV specific
requests to tomcat. Are there some option to tell apache to forward DAV
requests also.
My httpd.conf contains the following lines.
-----
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp buildserver:8008
WebAppDeploy webdav warpConnection /webdav
----

Please note that I can open the index file residing in the "webdav" folder
when I point the explorer to it but I fail to add the same folder as a
webfolder on my win2000 box.

Any suggestions ?
Thanks in advance

hitesh






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>