Top ".htaccess" questions

Directory-level configuration file used by Apache web servers.

How to remove index.php from URLs?

All of my URLs on my Magento installation require index.php in them, like: http://example.com/index.php/admin/ …

.htaccess magento url-rewriting e-commerce
How to debug .htaccess RewriteRule not working

I have a RewriteRule in a .htaccess file that isn't doing anything. How do I troubleshoot this? How can I …

apache .htaccess mod-rewrite
Tips for debugging .htaccess rewrite rules

Many posters have problems debugging their RewriteRule and RewriteCond statements within their .htaccess files. Most of these are using a …

apache .htaccess mod-rewrite
urlencoded Forward slash is breaking URL

About the system I have URLs of this format in my project:- http://project_name/browse_by_exam/type/…

.htaccess url-rewriting http-status-code-404 url-encoding
.htaccess or .htpasswd equivalent on IIS?

Does anyone know if there is an equivalent to .htaccess and .htpassword for IIS ? I am being asked to migrate …

iis .htaccess
Redirecting 404 error with .htaccess via 301 for SEO etc

I couldn't find a straight answer to my question and need to know it from the real experts. I had …

.htaccess redirect seo http-status-code-301
HTTP authentication logout via PHP

What is the correct way to log out of HTTP authentication protected folder? There are workarounds that can achieve this, …

php authentication .htaccess http-headers password-protection
What does $1 [QSA,L] mean in my .htaccess file?

I need to change my .htaccess and there are two lines which I don't understand. RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)$ …

.htaccess
.htaccess File Options -Indexes on Subdirectories

I have the following .htaccess line, simple no indexes on root. Options -Indexes What do we add so it propagates …

apache .htaccess apache2
How can I get Apache gzip compression to work?

I can't get my site to use gzip compression. I recently watched this video by Chris Coyier over at css-tricks.…

apache .htaccess gzip mod-deflate