initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:57:21 -06:00
commit fd8ad64063
22097 changed files with 1960930 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
Options +FollowSymLinks +ExecCGI
<IfModule mod_rewrite.c>
RewriteEngine On
# redirecting for jasoc.org (Jairus Society)
RewriteCond %{HTTP_HOST} ^(www\.)?jasoc\.org$ [NC]
RewriteCond %{REQUEST_URI} !^/jairussociety
RewriteRule ^(.*)$ /jairussociety/$1 [NC,L]
# uncomment the following line, if you are having trouble
# getting no_script_name to work
#RewriteBase /
# we skip all files with .something
# comment the following 3 lines to allow periods in routes
RewriteCond %{REQUEST_URI} !^/jairussociety
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} !\.html$
RewriteRule .* - [L]
# we check if the .html version is here (caching)
RewriteCond %{REQUEST_URI} !^/jairussociety
RewriteRule ^$ index.html [QSA]
RewriteCond %{REQUEST_URI} !^/jairussociety
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_URI} !^/jairussociety
RewriteCond %{REQUEST_FILENAME} !-f
# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
# big crash from our front web controller
ErrorDocument 500 "<h2>Application error</h2>symfony application failed to start properly"