14 lines
		
	
	
		
			349 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			349 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
| php_flag display_errors on
 | |
| Options -Indexes
 | |
| 
 | |
| DirectorySlash Off
 | |
| 
 | |
| SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
 | |
| RewriteEngine On
 | |
| RewriteRule ^api(/.*)?$ /index.php?api=$1 [L,QSA]
 | |
| 
 | |
| RewriteEngine On
 | |
| RewriteOptions AllowNoSlash
 | |
| RewriteRule ^((\.idea|\.git|src|test|core|docker|files)(/.*)?)$ /index.php?site=$1 [L,QSA]
 | |
| 
 | |
| FallbackResource /index.php |