I am new to the slim framework (and rest api’s in general).
and i wonder how i can make slim work when i push it to my registered domain. i could not find a way on how to do this.
the request i am looking for should look something like this: “http://www.mywebsite.com/api”.
and catching the routes after that.
any suggestions on tutorials/guides or an explenation on how to do this would be very much appreciated
Can you explain a bit about your setup and the steps you have tried? It shouldn’t work any different hosted versus locally. What does your route definition look like? Are you using Apache? Have you setup AllowOverride? What does your .htaccess file look like? What error do you see either on the page or in your server’s error log?
After searching alot i figured that i had to put the classes and vendor etc in the source folder of the server and the public in my public_html together with the .htacces file. it works flawless now,
thanx for the reply though