GarretHandel/pyblog/master/.htaccess
Options -Indexes DirectoryIndex index.py Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !-d RewriteCond %{REQUEST_URI} !-f RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.py -f RewriteRule ^/admin/(.*)$ index.py?a=admin&p=$1 RewriteRule ^(.+)/?(.*)$ index.py?a=$1&p=$2 [L,QSA]
Files
![REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/GarretHandel/pyblog-htaccess.png)