18 lines
		
	
	
		
			423 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			423 B
		
	
	
	
		
			ApacheConf
		
	
	
	
	
	
| php_flag display_errors on
 | |
| Options -Indexes
 | |
| 
 | |
| RedirectMatch 404 /\.idea
 | |
| RedirectMatch 404 /\.git
 | |
| RedirectMatch 404 /src
 | |
| RedirectMatch 404 /test
 | |
| RedirectMatch 404 /core
 | |
| 
 | |
| RewriteEngine On
 | |
| RewriteRule ^api(/.*)?$ /index.php?api=$1 [L,QSA]
 | |
| 
 | |
| <IfModule mod_rewrite.c>
 | |
|     RewriteEngine On
 | |
|     RewriteCond %{REQUEST_FILENAME} !-f
 | |
|     RewriteCond %{REQUEST_FILENAME} !-d
 | |
|     RewriteRule ^(.*)$ /index.php?site=$1 [L,QSA]
 | |
| </IfModule> |