質問

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.

役に立ちましたか?

解決

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

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top