Fixes in proxy virtualhost
This commit is contained in:
parent
b2b879c3f8
commit
d3d041f569
9 changed files with 84 additions and 21 deletions
|
|
@ -48,9 +48,9 @@ if os.path.isfile(apache_php):
|
|||
|
||||
apache_webapp='/etc/{}/vhosts.d/extra/{}-{}.conf'.format(apache_cmd, args.domain, args.webapp)
|
||||
|
||||
apache_sub0_webapp='/etc/{}/vhosts.d/extra/{}-000-{}.conf'.format(apache_cmd, args.domain, args.webapp)
|
||||
apache_sub0_webapp='/etc/{}/vhosts.d/extra/proxy/{}-{}.conf'.format(apache_cmd, args.domain, args.webapp)
|
||||
|
||||
apache_sub1_webapp='/etc/{}/vhosts.d/extra/{}-001-{}.conf'.format(apache_cmd, args.domain, args.webapp)
|
||||
apache_sub1_webapp='/etc/{}/vhosts.d/extra/proxyphp/{}-{}.conf'.format(apache_cmd, args.domain, args.webapp)
|
||||
|
||||
if os.path.isfile(apache_webapp):
|
||||
if subprocess.call("sudo rm %s" % (apache_webapp), shell=True) > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue