Manual modify a virtual host configuration

Discussion in 'ISPConfig 3 Priority Support' started by Atomino, Dec 5, 2019.

  1. Atomino

    Atomino New Member

    Hi, I need to use mod_jk on a virtual host to create a proxy for a tomcat application hosted on a different server.
    My host is something.domain.tld
    The proxy in under a folder like: something.domain.tld/MYAPP
    So I need to add two lines in in /etc/apache2/sites/available/someting.domain.tld.vhost
    JkMount /MYAPP app
    JkMount /MYAPP/* app
    Everything is working fine. But if i need to modify the host via ISPconfig i lost my modification.
    Is possible to do this without modifying every time the hos via shell?
    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Use the apache directives field to add these two lines, you find it on the options tab of the website in ISPConfig.
     

Share This Page