 0928ae8a70
			
		
	
	
		0928ae8a70
		
	
	
	
	
		
			
			Preventing directory browsing via PrettyURLS plugin when .htaccess is deleted by the user. ...as an addition to #No. 174
		
			
				
	
	
		
			18 lines
		
	
	
		
			339 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			339 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Options -Indexes
 | |
| 
 | |
| <IfModule mod_rewrite.c>
 | |
| RewriteEngine On
 | |
| RewriteBase /~nowhereman/flatpress/branch/flatpress/
 | |
| 
 | |
| 
 | |
| RewriteCond %{REQUEST_FILENAME} !-f
 | |
| RewriteCond %{REQUEST_FILENAME} !-d
 | |
| 
 | |
| 
 | |
| RewriteRule ^([a-zA-Z0-9_-]+)/$ ./static.php?page=$1 [L]
 | |
| RewriteRule ^.+/comments/$ ./comments.php [L]
 | |
| 
 | |
| RewriteRule ^(.+)/$ blog.php [L]
 | |
| 
 | |
| </IfModule>
 |