Guest User

Untitled

a guest
Oct 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. /**
  2. * @Route("/login", name="app_login")
  3. */
  4. public function login(AuthenticationUtils $authenticationUtils): Response
  5. {
  6. }
  7.  
  8. DirectoryIndex index.php
  9.  
  10. <IfModule mod_negotiation.c>
  11. Options -MultiViews
  12. </IfModule>
  13.  
  14. <IfModule mod_rewrite.c>
  15. RewriteEngine On
  16.  
  17. RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::2$
  18. RewriteRule ^(.*) - [E=BASE:%1]
  19.  
  20. RewriteCond %{HTTP:Authorization} .
  21. RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  22.  
  23. RewriteCond %{ENV:REDIRECT_STATUS} ^$
  24. RewriteRule ^index.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L]
  25.  
  26. RewriteCond %{REQUEST_FILENAME} -f
  27. RewriteRule ^ - [L]
  28.  
  29. RewriteRule ^ %{ENV:BASE}/index.php [L]
  30. </IfModule>
  31.  
  32. <IfModule !mod_rewrite.c>
  33. <IfModule mod_alias.c>
  34. RedirectMatch 307 ^/$ /index.php/
  35. </IfModule>
  36. </IfModule>
  37.  
  38. <IfModule mod_rewrite.c>
  39. RewriteEngine On
  40. RewriteRule ^$ /public/index.php [L]
  41. </IfModule>
Add Comment
Please, Sign In to add comment