Frage

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.

War es hilfreich?

Lösung

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

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top