HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2018-06-12 a6297473fb9abdf423b18efe69ebfdbc05dd44de
configure PassengerLogFile
3 files modified
6 ■■■■■ changed files
hsarback/src/de/hsadmin/mods/db/MySqlDatabaseProcessorFactory.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm 4 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/htaccess.vm patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/db/MySqlDatabaseProcessorFactory.java
@@ -47,7 +47,7 @@
        String aOwner = AbstractEntity.escapeString(db.getOwner());
        JDBCProcessor aJDBCP = null;
        aJDBCP = createMySqlAdminProcessor();
        aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%'");
        aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%' WITH GRANT OPTION");
        return aJDBCP;
    }
hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
@@ -14,6 +14,7 @@
    PassengerUser ${dom.user.name}
    PassengerGroup ${pac.name}
    PassengerAppRoot /home/doms/${dom.name}/app/
    PassengerLogFile /var/log/apache2/passenger.log
    DocumentRoot /home/doms/${dom.name}/htdocs
@@ -79,7 +80,7 @@
<VirtualHost ${pac.curINetAddr.inetAddr}:443 ${pac.oldINetAddr.inetAddr}:443>
    ServerName ${dom.name}
    ServerAlias ${dom.serveraliases}
    ServerAdmin ${dom.user.name}@${dom.name}
    ServerAdmin webmaster@${dom.name}
    SuexecUserGroup ${dom.user.name} ${pac.name}
    
@@ -87,6 +88,7 @@
    PassengerUser ${dom.user.name}
    PassengerGroup ${pac.name}
    PassengerAppRoot /home/doms/${dom.name}/app-ssl/
    PassengerLogFile /var/log/apache2/passenger.log
    SSLEngine On
    SSLCertificateFile /etc/apache2/pems-enabled/${dom.name}.crt
hsarback/src/de/hsadmin/mods/dom/htaccess.vm