JSidrach/NetWatcher/master/.htaccess - Htaccess File

JSidrach/NetWatcher/master/.htaccess

DirectoryIndex index.php
Options -Indexes

<IfModule mod_rewrite.c>

  RewriteEngine On
  # Name of the app (folder)
  RewriteBase /NetWatcher
  
  # Comment out to keep trailing slashes (/)
  RewriteRule ^(.+)/$ $1 [R=307,L]
  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  
  RewriteRule ^(.*)$ index.php?$1 [QSA,L]

</IfModule>

<Files *.*>
    Order Deny,Allow
    Deny from all
</Files>

<Files index.php>
    Order Allow,Deny
    Allow from all
</Files>

<Files proxy.php>
    Order Allow,Deny
    Allow from all
</Files>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache