Create reload virtualhost, so that test applications configuration can be safely removed (#130)

This commit is contained in:
Clément Oudot 2010-07-28 14:34:38 +00:00
parent 34d93c277e
commit 00ef7ef782
3 changed files with 8 additions and 2 deletions

View File

@ -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__

View File

@ -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>

View File

@ -208,4 +208,4 @@ status = 0
[apply]
# URL used to reload configuration
test1.__DNSDOMAIN__=http://test1.__DNSDOMAIN__/reload
reload.__DNSDOMAIN__ = http://reload.__DNSDOMAIN__/reload