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:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to