.htaccesslaravellaravel-4mediatemple

Document root of my Mediatemple Gridserver to access public folder of Laravel 4


I am trying to set up my gridserver to point to my public folder when i go to my domain: example.com should point to example.com/public.

I have tried a few things in .htaccess, but they have failed. Do you have any idea of how to do this? Thank you.

Also, if you know how to run php artisan commands from the terminal, but pointing them at my FTP to get at my project on my gridserver.


Solution

  • Rename your public folder to html (as is (gs) convention) and then update the path to the public folder in bootstrap/paths.php.