Htaccess files no working

epiz_32311701

Hi, i have in my hosting free service a directory MOVICO. This is a framework and the HTACCESS work fine in other hosting but in InfinityFree no.

Why ???

(1 HTACCESS in MOVICO directory) say…

<IfModule mod.rewrite.c>
RewriteEngine On
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>

(2 HTACCESS in MOVICO/PUBLIC) say…

<IfModule mod.rewrite.c>
Options -Multiviews
RewriteEngine On
RewriteBase /movico/public
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>

The link for this is https://principiosdesiglo.com/movico

Can you show this htaccess file in your file manager?

2 Likes

Yes, in my file mannager appear .htaccess file, from the explorer not view, but exist in the directory.

The server module is mod_rewrite.c, not mod.rewrite.c. So the IfModule statement means the code is never used because the module it’s looking for does not exist.

6 Likes

Now work fine, thanks for U help, I chANGEange . for _ and all ok.

Note: in other server hosting the module work

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.