configure PassengerLogFile
This commit is contained in:
parent
2beb2045f2
commit
a6297473fb
@ -47,7 +47,7 @@ public class MySqlDatabaseProcessorFactory implements EntityProcessorFactory {
|
|||||||
String aOwner = AbstractEntity.escapeString(db.getOwner());
|
String aOwner = AbstractEntity.escapeString(db.getOwner());
|
||||||
JDBCProcessor aJDBCP = null;
|
JDBCProcessor aJDBCP = null;
|
||||||
aJDBCP = createMySqlAdminProcessor();
|
aJDBCP = createMySqlAdminProcessor();
|
||||||
aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%'");
|
aJDBCP.addSQL("GRANT ALL ON " + aName + ".* TO '" + aOwner + "'@'%' WITH GRANT OPTION");
|
||||||
return aJDBCP;
|
return aJDBCP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
PassengerUser ${dom.user.name}
|
PassengerUser ${dom.user.name}
|
||||||
PassengerGroup ${pac.name}
|
PassengerGroup ${pac.name}
|
||||||
PassengerAppRoot /home/doms/${dom.name}/app/
|
PassengerAppRoot /home/doms/${dom.name}/app/
|
||||||
|
PassengerLogFile /var/log/apache2/passenger.log
|
||||||
|
|
||||||
DocumentRoot /home/doms/${dom.name}/htdocs
|
DocumentRoot /home/doms/${dom.name}/htdocs
|
||||||
|
|
||||||
@ -79,7 +80,7 @@
|
|||||||
<VirtualHost ${pac.curINetAddr.inetAddr}:443 ${pac.oldINetAddr.inetAddr}:443>
|
<VirtualHost ${pac.curINetAddr.inetAddr}:443 ${pac.oldINetAddr.inetAddr}:443>
|
||||||
ServerName ${dom.name}
|
ServerName ${dom.name}
|
||||||
ServerAlias ${dom.serveraliases}
|
ServerAlias ${dom.serveraliases}
|
||||||
ServerAdmin ${dom.user.name}@${dom.name}
|
ServerAdmin webmaster@${dom.name}
|
||||||
|
|
||||||
SuexecUserGroup ${dom.user.name} ${pac.name}
|
SuexecUserGroup ${dom.user.name} ${pac.name}
|
||||||
|
|
||||||
@ -87,6 +88,7 @@
|
|||||||
PassengerUser ${dom.user.name}
|
PassengerUser ${dom.user.name}
|
||||||
PassengerGroup ${pac.name}
|
PassengerGroup ${pac.name}
|
||||||
PassengerAppRoot /home/doms/${dom.name}/app-ssl/
|
PassengerAppRoot /home/doms/${dom.name}/app-ssl/
|
||||||
|
PassengerLogFile /var/log/apache2/passenger.log
|
||||||
|
|
||||||
SSLEngine On
|
SSLEngine On
|
||||||
SSLCertificateFile /etc/apache2/pems-enabled/${dom.name}.crt
|
SSLCertificateFile /etc/apache2/pems-enabled/${dom.name}.crt
|
||||||
@ -119,7 +121,7 @@
|
|||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Location /fastcgi-bin/>
|
<Location /fastcgi-bin/>
|
||||||
PassengerEnabled Off
|
PassengerEnabled Off
|
||||||
SetHandler fcgid-script
|
SetHandler fcgid-script
|
||||||
Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
|
Options +ExecCGI -Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
|
||||||
</Location>
|
</Location>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#if( ${www} )
|
#if( ${www} )
|
||||||
Redirect permanent / https://www.${dom.name}/
|
Redirect permanent / https://www.${dom.name}/
|
||||||
#else
|
#else
|
||||||
Redirect permanent / https://${dom.name}/
|
Redirect permanent / https://${dom.name}/
|
||||||
#end
|
#end
|
||||||
|
Loading…
Reference in New Issue
Block a user