Posts by Mateus Pastori • 11 points
2 posts
-
1
votes1
answer635
viewsA: Redirect Rest service with . htaccess
After several trial and error tests I found that directing by .htaccess must be done with the full address. I first tried to redirect with the code HTTP 301 ([R=301,L]), but I realized that when I…
-
0
votes1
answer635
viewsQ: Redirect Rest service with . htaccess
I have a folder in my project called api, and within it a file .htaccess that should redirect the requests (made via jquery) to the folder app/controllers/rest/ which also has a file .htaccess and a…