Hi,

I need to modify apache config to accomplish the following characteristcis:

1- Have one domain with digital certificate.

2- Transform the production domains into applications below the domain.


I´ve set up a virtualhost to accomplish the task 1, it works ok. But I´m stuck 
in refactoring the existing configuration below. 

Original vhost.conf  with many VirtualHost entries:

<VirtualHost *:80>

ServerName app1
.....
JkMount /app dmb
.....
</VirtualHost>


<VirtualHost *:80>

ServerName app2
.....
JkMount /app dmb2
.....
</VirtualHost>

End of vhost.conf

As we can see dmb and dmb2 point to different tomcat instances that can be 
running at the same time.


I´ve created two virtualhost entries to handle the first task:

<VirtualHost *:80>

ServerName portaldmb

Redirect / https://portaldmb.ab/

</VirtualHost>


<VirtualHost *:443>

ServerName portaldmb.ab

JkMount /app dmb

</VirtualHost>

How can I configure the last VirtualHost to keep the two JkMounts?
OR
Do I´m using the worng config to solve the problem?


 Thanks,
André





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to