X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fapache2%2Fsite.d%2Fhc.80.www.heureux-cyclage.org%2FVirtualHost.conf;fp=etc%2Fapache2%2Fsite.d%2Fhc.80.www.heureux-cyclage.org%2FVirtualHost.conf;h=c027e7d964e283f9b3bef94bbf4fbb2a1c3cac78;hb=08bfdef225ec9d8d83a6658d64d462404be011a3;hp=0000000000000000000000000000000000000000;hpb=61ac98ca6513d9941d235c782a1d9a48977a27fd;p=lhc%2Fateliers.git diff --git a/etc/apache2/site.d/hc.80.www.heureux-cyclage.org/VirtualHost.conf b/etc/apache2/site.d/hc.80.www.heureux-cyclage.org/VirtualHost.conf new file mode 100644 index 0000000..c027e7d --- /dev/null +++ b/etc/apache2/site.d/hc.80.www.heureux-cyclage.org/VirtualHost.conf @@ -0,0 +1,49 @@ + + Allow From All + AllowOverride None + Options Indexes FollowSymlinks + Order Allow,Deny + + + AddHandler cgi-script .cgi + Allow From All + AllowOverride None + Options +ExecCGI + Order Allow,Deny + + + + AllowOverride All + ErrorDocument 404 default + + Allow From All + Order Allow,Deny + + + Deny From All + Order Deny,Allow + + Options MultiViews Indexes FollowSymLinks IncludesNoExec + + + AddHandler cgi-script .cgi + Options +ExecCGI + + + Allow From all + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Order Allow,Deny + + RewriteCond %{ENV:REDIRECT_PHPRC} (.+) + RewriteRule .* - [E=PHPRC:%1] + # NOTE: permet de faire un SetEnv PHPRC dans les .htaccess + # SEE: http://stackoverflow.com/questions/3050444/when-setting-environment-variables-in-apache-rewriterule-directives-what-causes + UserDir pub/www + UserDir disabled root + UserDir disabled + UserDir enabled julm lchevalier + +ServerAdmin contact+www@heureux-cyclage.org +ServerAlias heureux-cyclage.org +ServerAlias ateliers