Hi, currently my index.php file is in public/index.php…
How and where to reference the cloud to look for to deploy it ?
Hi, currently my index.php file is in public/index.php…
How and where to reference the cloud to look for to deploy it ?
I’m not sure what you mean? There is no cloud and there is no deployment. I’m assuming you mean “where should the server look for the file to serve to the user”.
It’s set to “index.html/.php” by default, but you can change it in htaccess although I really would not understand why you would.
What exactly are you trying to accomplish?
It’s not possible to change the document root of your website on our hosting. However, you can direct the server to load things from the public
subfolder with .htaccess rules.
To do so, create a file with the name .htaccess
in your htdocs folder, with the following contents:
RewriteEngine On
RewriteRule (.*) /public/$1 [L]