0
I hope this message finds you well. I'm encountering a persistent issue while trying to install on my domain using mydomain.com/install. Unfortunately, I consistently receive a 404 error when attempting this route.
As a workaround, I've tried manually adding /public/ to the URL, which redirects me to /public/install. However, this leads to a frustrating white screen, impeding any progress with the installation process.
I want to note that I am not using a subdomain. Considering this, would it be necessary for me to set the root path to /public/? If so, could you please provide guidance on how to properly configure the root path?
I've thoroughly checked my server requirements, and everything appears to be in order as per the recommended specifications. Despite this, I'm unable to proceed with the installation.
Your prompt guidance and assistance in resolving this matter would be immensely appreciated. I'm eager to get past this hurdle and proceed with the installation as soon as possible.
0
kindly create .htaccess file in your main folder and add this code this code will make the root access to public my issue is resolved after this method.
<IfModule mod_rewrite.c>
RewriteEngine On
# Force public directory for non-existing files and directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ public/$1 [L]
# Rewrite all other URLs to the Laravel index.php file
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/index.php [L]
</IfModule>
0
Hello,
For subdomain it's easy to set the root path. If you installing in the main or sub folder then you need to set the redirect to public
folder or create the symbolic link.
I see that you have posted the cod to redirect to public folder and hope that your issue is resloved. If not please reply here with details.
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.