I am trying to serve Laravel 4 routes using Angular-UI over HTTPs. Without HTTPs it works but over the same it brings a 404 error.
Thanks for any assistance.
htaccess file:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Route:
Route::get('index', array('as'=>'index','uses'=>'PagesController@getIndex'));
Angular-UI
state('home', {
url: '/home',
templateUrl: 'index'
})