htaccess file giving Forbidden

Asked

Viewed 86 times

0

I’m wearing the Uniform S erver, which is a portable server, and already has mod_rewrite active and even then my htaccess file returns Forbidden.

filing cabinet:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

What is wrong?

1 answer

1

Completely different try:

RewriteEngine On

RewriteBase /

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

RewriteRule . /index.php [L]
  • still Forbidden

  • I edited see there I think it will.

  • I changed server and it worked with my original, but on portable server n...

  • Try that code I posted...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.