This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
bashupload-docker/htaccess

10 lines
269 B
Text

<IfModule mod_rewrite.c>
RewriteEngine on
# RewriteRule ^path/to/protected/directory/(.*) error [R=301,L]
# Rewrite any request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.* index.php [L]
</IfModule>