2011-03-30 22:19:18 -06:00
|
|
|
#Use PHP5 Single php.ini as default
|
2011-02-24 12:25:26 -07:00
|
|
|
AddHandler application/x-httpd-php5s .php
|
|
|
|
|
|
|
|
#Custom error pages
|
|
|
|
ErrorDocument 400 /errors/400.php
|
|
|
|
ErrorDocument 401 /errors/401.php
|
|
|
|
ErrorDocument 403 /errors/403.php
|
|
|
|
ErrorDocument 404 /errors/404.php
|
|
|
|
ErrorDocument 500 /errors/500.php
|
2011-02-24 12:36:54 -07:00
|
|
|
|
|
|
|
#Deny access to git files (actually, return 404 errors)
|
|
|
|
RedirectMatch 404 /\\.git(/|$)
|
|
|
|
RedirectMatch 404 /\\.gitignore$
|
2011-03-30 22:19:18 -06:00
|
|
|
#Deny access to php.ini from web
|
|
|
|
RedirectMatch 404 ^/php.ini$
|
2011-04-14 20:53:33 -06:00
|
|
|
|
|
|
|
#Redirect from old blog location to the new
|
2011-03-22 22:21:26 -06:00
|
|
|
RedirectMatch 301 ^/home/(.*) /blog/$1
|
2011-03-30 22:19:18 -06:00
|
|
|
RedirectMatch 301 ^/home /blog/
|
2011-04-14 20:53:33 -06:00
|
|
|
#Redirect from old resume position to new
|
|
|
|
RedirectMatch 301 ^/Resume.pdf /resume/AaronLindsay-Resume.pdf
|
|
|
|
RedirectMatch 301 ^/Resume.tex /resume/AaronLindsay-Resume.tex
|