Category : .htaccess

I am migrating from IIS to Apache, now I am having trouble configuring the htaccess. When a url ends in a dot, htaccess ignores it, but when it only includes a dot between the url, htaccess allows it. Example: /test. becomes /index.php?page=test /te.st becomes /index.php?page=te.st RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ..

Read more

Without the .htaccess file the application running perfectly, Whenever I add .htaccess file it showing forbidden don’t have access to the / server. I tried to put “Test.” in the first line of .htaccess file it “showing Internal server error” that’s good apache reading .htaccess file. But whenever it read “RewriteEngine on” line in .htaccess ..

Read more