Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. // works
  2. Route::get('/', 'HomeController@showWelcome');
  3.  
  4. // 404
  5. Route::get('/map', 'HomeController@showMap');
  6.  
  7. // 404
  8. Route::get('/assets/{filename}', 'HomeController@getAsset');
  9.  
  10. Options +FollowSymLinks
  11. RewriteEngine On
  12.  
  13. RewriteCond %{REQUEST_FILENAME} !-d
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteRule ^ index.php [L]
  16.  
  17. location / {
  18. try_files $uri $uri/ /index.php?$query_string;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement