vendredi 3 septembre 2021

Public url issue in aws in laravel

I have hosted my site on aws through ftp,

now when i access this

url : http://X.XXX.XXX.X/projectfoldername/

enter image description here

i can access the page after i use

http://X.XXX.XXX.X/projectfoldername/public

but i want to remove public changed htaccess file also but when i upload it on cpanel it is working.

.htaccess file :

<IfModule mod_rewrite.c>
   RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]
</IfModule>

Any help is highly appreciated



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3DUFfy7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire