summaryrefslogtreecommitdiff
path: root/doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file/comment_4_54281604c588a7229f9d987e8cdee802._comment
blob: a920154141877f7943e68bcae15093b86a4c1302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!comment format=mdwn
 username="joey"
 subject="""comment 4"""
 date="2014-12-09T04:35:12Z"
 content="""
Pretty obvious why if you look at the code:

	enable = check (not <$> isenabled) $
		cmdProperty "a2ensite" ["--quiet", hn]
			`describe` ("apache site enabled " ++ hn)
			`requires` siteAvailable hn cf

So that property was skipped entirely if the site was already enabled and never looked at the config file.

I've put in a fix.
"""]]