htaccess autoload
This commit is contained in:
parent
a1fc607f38
commit
5fded151f8
|
|
@ -367,20 +367,13 @@ class vhost:
|
|||
confFile.writelines(endPHPIniOverride)
|
||||
|
||||
|
||||
slashContext = """
|
||||
context / {
|
||||
location $DOC_ROOT/
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
enable 1
|
||||
RewriteFile .htaccess
|
||||
|
||||
}
|
||||
addDefaultCharset off
|
||||
htaccessAutoLoad = """
|
||||
rewrite {
|
||||
enable 1
|
||||
autoLoadHtaccess 1
|
||||
}
|
||||
"""
|
||||
confFile.write(slashContext)
|
||||
confFile.write(htaccessAutoLoad)
|
||||
|
||||
confFile.close()
|
||||
|
||||
|
|
@ -945,20 +938,13 @@ RewriteFile .htaccess
|
|||
confFile.writelines(procHardLimit)
|
||||
confFile.writelines(extprocessorEnd)
|
||||
|
||||
slashContext = """
|
||||
context / {
|
||||
location $DOC_ROOT/
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
enable 1
|
||||
RewriteFile .htaccess
|
||||
|
||||
}
|
||||
addDefaultCharset off
|
||||
htaccessAutoLoad = """
|
||||
rewrite {
|
||||
enable 1
|
||||
autoLoadHtaccess 1
|
||||
}
|
||||
"""
|
||||
confFile.write(slashContext)
|
||||
confFile.write(htaccessAutoLoad)
|
||||
|
||||
confFile.close()
|
||||
|
||||
|
|
|
|||
|
|
@ -52,3 +52,4 @@ urllib3==1.22
|
|||
zope.component==4.4.1
|
||||
zope.event==4.3.0
|
||||
zope.interface==4.5.0
|
||||
libvirt-python==4.6.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue