public/.htaccess file not found

31 Views Asked by At

I'm building a music streaming platform but trying to install the script it was like. I saw this error text that says

Make sure public/.htaccess file has been uploaded properly to your server and is writable.

how to fix this error? I don't know what else to add to my .htaccess file

My code are

Options +FollowSymLinks -Indexes

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ index.php?q=$1 [NC,L,QSA]

AddDefaultCharset utf-8

AddCharset utf-8 .html .css .js .xml

DefaultLanguage en-US

ErrorDocument 404 /index.php

https://music.mair.name.ng *Mair Musix*

Details are shown in the image below

The script installation

enter image description here

enter image description here

I don't know how to configure the public/htaccess

0

There are 0 best solutions below