views:

365

answers:

2

hi

How do I set the root of the application?

What I mean, is that when I work locally, everything is under the root of my local website (i.e www.in cake.local/).

Now I made an application that will not be at the root of a website (i.e. www.outsite.com/sciences/biology/here_is_my_app).

Is there a way to make absolute URL in my app point to the app directory and not to the root of the website?

+1  A: 

Let's say that www.outside.com is pointing to directory www.outside.com/ on Your hosting. Putting Your app in www.outside.com/sciences/biology/ directory should do the trick.

meta
Arghh, It didn't work cause I didn't use htmlhelper to write links.Thanks
kaklon
A: 

You can also use the HTML base tag to achieve this, set it to Route::url('/');

sibidiba

related questions