From c5a8caeb531021bbdd222b195cf0964d42c4c7a9 Mon Sep 17 00:00:00 2001 From: picca Date: Mon, 8 Dec 2014 09:18:16 +0000 Subject: formating --- ...ed_doesn_not_update_the_apache_config_file.mdwn | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file.mdwn') diff --git a/doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file.mdwn b/doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file.mdwn index 23f54727..b678d8d0 100644 --- a/doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file.mdwn +++ b/doc/forum/Apache.siteEnabled_doesn_not_update_the_apache_config_file.mdwn @@ -4,24 +4,24 @@ Still working on the reprepro property :) Here A property that I am using to publish a repository via apache (this is a prototype) -website :: String -> Property -website hn = toProp $ Apache.siteEnabled hn apachecfg - where - apachecfg = [ "" - , "DocumentRoot " ++ basePath - , "" - , " Options Indexes FollowSymLinks Multiviews" - , " Order allow,deny" - , Apache.allowAll - , "" - ] ++ concatMap deny ["db", "conf", "incoming"] - ++ [""] - - deny dir = [ "" - , " Order deny,allow" - , " Deny from all" - , "" - ] + website :: String -> Property + website hn = toProp $ Apache.siteEnabled hn apachecfg + where + apachecfg = [ "" + , "DocumentRoot " ++ basePath + , "" + , " Options Indexes FollowSymLinks Multiviews" + , " Order allow,deny" + , Apache.allowAll + , "" + ] ++ concatMap deny ["db", "conf", "incoming"] + ++ [""] + + deny dir = [ "" + , " Order deny,allow" + , " Deny from all" + , "" + ] during my test I am runing the config.hs with runhaskell config.hs (it work the first time, the apache config files are ok) -- cgit v1.2.3