respawner/uploader/master/.htaccess - Htaccess File

respawner/uploader/master/.htaccess

# Deny directory listing
Options -Indexes

# Deny access to the database
<Files uploader.db>
  Deny from all
</Files>

# Using mod_rewrite is mandatory
<IfModule !mod_rewrite.c>
  Redirect 500
</IfModule>

# Rewrite URL to set proper parameter
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule . index.php
</IfModule>

# Set max values for PHP (can bee changed)
php_value upload_max_filesize 2048M
php_value post_max_size       2048M

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache