nich/smart_sample_apps/master/direct_apps/.htaccess - Htaccess File

nich/smart_sample_apps/master/direct_apps/.htaccess

<Files main.py>
    SetHandler wsgi-script
    Options ExecCGI FollowSymLinks
</Files>
<IfModule mod_rewrite.c>      
  RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_URI} !^/icons
  RewriteCond %{REQUEST_URI} !^/static
  RewriteCond %{REQUEST_URI} !^/favicon.ico$
  RewriteCond %{REQUEST_URI} !^/smartapp/smart_manifest-msg.json$
  RewriteCond %{REQUEST_URI} !^/smartapp/smart_manifest-apps.json$
  RewriteCond %{REQUEST_URI} !^/smartapp/icon-msg.png$
  RewriteCond %{REQUEST_URI} !^/smartapp/icon-apps.png$
  RewriteCond %{REQUEST_URI} !^(/.*)+main.py/
  RewriteRule ^(.*)$ main.py/$1 [PT]
</IfModule>
AddType text/html py

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI, static

Comments

Apache