Forbidden for any htaccess

0

I'm using the Uniform Server portable server, I've already uncompressed the line to activate apache mod_rewrite, however I'm getting the 403 forbidden error for any .htaccess file I use, this is from CodeIgniter:

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

This second from another application:

RewriteEngine on

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

RewriteRule . index.php [L]

NOTE: It also replaces AllowOverride None with AllowOverride All

Why does this occur?

    
asked by anonymous 30.07.2017 / 18:08

0 answers