Apache-Tomcat Virtualhost Configuration
I have one web application. Its war name is "example.war". I have deployed in Tomcat 6.0.

Centos Linux - Default Apache (/etc/httpd/) - Tomcat 6.0

In same application I have Three functionality. Admin Website, Customer Website and Public Website. Admin and Customer website need to authentication by login page.

Should be:

Note: "http" force to direct to "https"
        
    https://www.example.com   -> go to public page  ->   /webapps/example/home.jsp
    https://admin.example.com -> go to Admin page   ->   /webapps/example/adminLogin.jsp
    https://customer.example.con -> go to Customer page -> /webapps/example/customerLogin.jsp
        
I configured in Apache with VirualHost with proxyPass and proxyReverse but stil I am not happy to result. After below confiuration I am getting result is

    https://admin.example.com -> https://admin.example.com/example/adminLogin.jsp

I would like to see in URL only -> https://admin.example.com

Below, I am sharing my ssl.conf configuration. and I dont any changes in Tomcat configuration.

    
    <VirtualHost 11.11.111.111:443>

        ServerName admin.example.com

        DocumentRoot "/var/www/admin.example.com/htdocs/"
        DirectoryIndex adminLogin.jsp

        ErrorLog logs/admin.example.com_error.log
        TransferLog logs/admin.example.com_access.log

        LogLevel warn

    #   SSL Engine Switch:
    #   Enable/Disable SSL for this virtual host.
        SSLEngine on
        SSLProxyEngine on

    #   SSL Protocol support:
        SSLProtocol all -SSLv2

    #   SSL Protocol support:
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

    #   Server Certificate:
        SSLCertificateFile /etc/httpd/conf/ssl/admin.example.com.crt

    #   Server Certificate Chain:
        SSLCertificateKeyFile /etc/httpd/conf/ssl/admin.example.com.key


    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
    </Files>

    <Directory "/var/www/cgi-bin">
        SSLOptions +StdEnvVars
    </Directory>

        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0

        CustomLog logs/ssl_request_log \
                  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

        Redirect / https://admin.example.com/example/adminLogin.jsp
        ProxyPreserveHost on
        ProxyPass /example https://admin.example.com:8443/example
        ProxyPassReverse /example https://admin.my3gsim.com:8443/example

    </VirtualHost>

I will be appricate your help.
Thanks
Apache-Tomcat Virtualhost Configuration
===

I have one web application. Its war name is "example.war". I have deployed in Tomcat 6.0.

Centos Linux - Default Apache (/etc/httpd/) - Tomcat 6.0

In same application I have Three functionality. Admin Website, Customer Website and Public Website. Admin and Customer website need to authentication by login page.

Should be:

Note: "http" force to direct to "https"
        
    https://www.example.com   -> go to public page  ->   /webapps/example/home.jsp
    https://admin.example.com -> go to Admin page   ->   /webapps/example/adminLogin.jsp
    https://customer.example.con -> go to Customer page -> /webapps/example/customerLogin.jsp
        
I configured in Apache with VirualHost with proxyPass and proxyReverse but stil I am not happy to result. After below confiuration I am getting result is

    https://admin.example.com -> https://admin.example.com/example/adminLogin.jsp

I would like to see in URL only -> https://admin.example.com

Below, I am sharing my ssl.conf configuration. and I dont any changes in Tomcat configuration.

    
    <VirtualHost 11.11.111.111:443>

        ServerName admin.example.com

        DocumentRoot "/var/www/admin.example.com/htdocs/"
        DirectoryIndex adminLogin.jsp

        ErrorLog logs/admin.example.com_error.log
        TransferLog logs/admin.example.com_access.log

        LogLevel warn

    #   SSL Engine Switch:
    #   Enable/Disable SSL for this virtual host.
        SSLEngine on
        SSLProxyEngine on

    #   SSL Protocol support:
        SSLProtocol all -SSLv2

    #   SSL Protocol support:
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

    #   Server Certificate:
        SSLCertificateFile /etc/httpd/conf/ssl/admin.example.com.crt

    #   Server Certificate Chain:
        SSLCertificateKeyFile /etc/httpd/conf/ssl/admin.example.com.key


    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
    </Files>

    <Directory "/var/www/cgi-bin">
        SSLOptions +StdEnvVars
    </Directory>

        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0

        CustomLog logs/ssl_request_log \
                  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

        Redirect / https://admin.example.com/example/adminLogin.jsp
        ProxyPreserveHost on
        ProxyPass /example https://admin.example.com:8443/example
        ProxyPassReverse /example https://admin.my3gsim.com:8443/example

    </VirtualHost>

I will be appricate your help.
Thanks