15 lines
		
	
	
		
			430 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			430 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
# Use PHP5 Single php.ini as default
 | 
						|
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
 | 
						|
 | 
						|
#Deny access to git files (actually, return 404 errors)
 | 
						|
RedirectMatch 404 /\\.git(/|$)
 | 
						|
RedirectMatch 404 /\\.gitignore$
 | 
						|
RedirectMatch 301 ^/home/(.*) /blog/$1
 |