Files
mtdb_movie/htaccess.example
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

27 lines
776 B
Plaintext
Executable File

<FilesMatch "(?i)\.(php[0-9]?|phtml)$">
Require all denied
</FilesMatch>
<FilesMatch "index.php">
Require all granted
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine On
##
## You may need to uncomment (remove #) the following line for some hosting environments,
## if you have installed to a subdirectory, enter the name here also.
## Example: for https://site.com enter: "/", for https://site.com/something enter: "/something/"
##
## RewriteBase /
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# php -- END cPanel-generated handler, do not edit