Instantly share code, notes, and snippets.

@Guibzs Guibzs/.htaccess
Last active Feb 21, 2019

Embed
What would you like to do?
Symfony 4 ~ .htaccess
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch 302 ^/$ /index.php/
</IfModule>
</IfModule>
@elexfreeman

This comment has been minimized.

Copy link

elexfreeman commented Nov 30, 2018

thx very mach

@DmytroUhlach

This comment has been minimized.

Copy link

DmytroUhlach commented Feb 6, 2019

Thank you!

@Sindidi

This comment has been minimized.

Copy link

Sindidi commented Feb 14, 2019

Thank you

@furkan54gs

This comment has been minimized.

Copy link

furkan54gs commented Feb 21, 2019

Thank you very much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment