[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#303228: apache2-common: a2(en|dis)(mod|site) scripts should make apache2 reload



Daniel Stone wrote:
> Also, think of this case: you enable a module such as proxy, which sets
> up proxying, but you need to configure it first so it's not an open
> proxy, or whatever.
This is counter-intuitive, too, IMHO. You would only want to enable
something that is already configured. How about the following behavior:

1. Create symlink in "enabled" dir.
2. Run "apache2ctl configtest" to do basic syntax checking.
3. If 2) fails, remove symlink created in 1), complain, exit. If 2) is
successful, restart apache2.


Yours,
Sebastian



Reply to: