samedi 28 mars 2015

Routing with Polymer App-Router and Apache


Vote count:

0




I understand that I need to point all URI requests to the the root URL in order for the app-router to work. Ex: URLs like /services should point to /. Also, if the base URL is /v3, the sub URLs would be like /v3/services


And I've been trying apache rewrite stuff for a couple of weeks now and no luck so far.


This is the closest I could find. But even this results in a redirect loop.



RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ #/$1 [NC,R,NE]


AngularJS routing issue with apache



asked 26 secs ago







Routing with Polymer App-Router and Apache

Aucun commentaire:

Enregistrer un commentaire