resolve #19, Probleme mit Basepac
This commit is contained in:
parent
eb9c4b0a80
commit
83a6dee5bd
@ -113,9 +113,11 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
||||
templateVars = new HashMap<String, String>();
|
||||
templateVars.put("DOMAIN", domName);
|
||||
templateVars.put("USER_NAME", domUser.getComment());
|
||||
templateVars.put("PROTOCOL", "http");
|
||||
domDirsProcessor.appendProcessor(
|
||||
new CreateFileProcessor("/de/hsadmin/mods/dom/htaccess.jtpl", templateVars, domainDir + "/htdocs/.htaccess", userName, pacName, "644")
|
||||
);
|
||||
templateVars.put("PROTOCOL", "https");
|
||||
domDirsProcessor.appendProcessor(
|
||||
new CreateFileProcessor("/de/hsadmin/mods/dom/htaccess.jtpl", templateVars, domainDir + "/htdocs-ssl/.htaccess", userName, pacName, "644")
|
||||
);
|
||||
|
@ -1,2 +1,2 @@
|
||||
<!-- BEGIN: main -->Redirect permanent / http://www.{DOMAIN}/
|
||||
<!-- BEGIN: main -->Redirect permanent / {PROTOCOL}://www.{DOMAIN}/
|
||||
<!-- END: main -->
|
@ -85,7 +85,7 @@ public class Pac extends AbstractEntity implements Serializable {
|
||||
private BasePac basepac;
|
||||
|
||||
public Pac() {
|
||||
basepac = null;
|
||||
basepac = new BasePac();
|
||||
}
|
||||
|
||||
public Pac(String name, Customer cust, BasePac basePac, Hive hive) {
|
||||
|
Loading…
Reference in New Issue
Block a user