Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. # En .env
- SLIM_BASE_PATH=''
- 2. # Crear un .htaccess en raĆz con
- ### Rewrite Rules Added by CyberPanel Rewrite Rule Generator
- RewriteEngine On
- RewriteCond %{HTTPS} !=on
- RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
- ### End CyberPanel Generated Rules.
- RewriteEngine on
- RewriteRule ^$ public/ [L]
- RewriteRule (.*) public/$1 [L]
- 3. # Crear un .htaccess en public con
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ index.php [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement