Create reload virtualhost, so that test applications configuration can be safely removed (#130)
This commit is contained in:
parent
34d93c277e
commit
00ef7ef782
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1 auth.__DNSDOMAIN__ manager.__DNSDOMAIN__ test1.__DNSDOMAIN__ test2.__DNSDOMAIN__
|
||||
127.0.0.1 auth.__DNSDOMAIN__ manager.__DNSDOMAIN__ test1.__DNSDOMAIN__ test2.__DNSDOMAIN__ reload.__DNSDOMAIN__
|
||||
|
||||
|
|
|
@ -40,6 +40,11 @@ ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500
|
|||
DirectoryIndex index.pl index.html
|
||||
</IfModule>
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost __VHOSTLISTEN__>
|
||||
ServerName reload.__DNSDOMAIN__
|
||||
|
||||
# Configuration reload mechanism (only 1 per physical server is
|
||||
# needed): choose your URL to avoid restarting Apache when
|
||||
# configuration change
|
||||
|
@ -60,3 +65,4 @@ ErrorDocument 500 http://auth.__DNSDOMAIN__/error.pl?error=500
|
|||
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
|
|
|
@ -208,4 +208,4 @@ status = 0
|
|||
[apply]
|
||||
|
||||
# URL used to reload configuration
|
||||
test1.__DNSDOMAIN__=http://test1.__DNSDOMAIN__/reload
|
||||
reload.__DNSDOMAIN__ = http://reload.__DNSDOMAIN__/reload
|
||||
|
|
Loading…
Reference in New Issue
Block a user