Question

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.

Was it helpful?

Solution

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

OTHER TIPS

I think symbolic links work fine and should be more maintainable when deploying the app on MT

You can create a symbolic link by going into the MT's /html folder.

ln -s /home/000000/domains/some.domain.com/public/index.php index.php

Similary for CSS or JS folders you might have

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top