Top "Mod-rewrite" questions

URL rewriting module for the Apache web server.

How to debug Apache mod_rewrite

I have two main problems with mod_rewrite: 1) There is no meaningful error reported when I have an invalid rule 2) …

apache mod-rewrite
How do you enable mod_rewrite on any OS?

If I understand correctly, I need to put something in httpd.config to enable mod_rewrite. If this is true, …

mod-rewrite php
Htaccess: add/remove trailing slash from URL

My website runs a script called -> WSS wallpaper script My Problem -> I have been trying to …

php apache .htaccess mod-rewrite
How to prevent a file from direct URL Access?

I'm using Apache and I have a sample web folder on my Local Host, like: http://localhost/test/ Files in …

regex apache .htaccess mod-rewrite hotlinking
.htaccess - how to force "www." in a generic way?

This will change domain.com to www.domain.com: # Force the "www." RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC] RewriteRule ^(.*)$ …

.htaccess mod-rewrite
How to use .htaccess in WAMP Server?

I searched in web for 2 days and I try to use htaccess in my local wamp but I can't! I …

.htaccess mod-rewrite wampserver
Permission denied: /var/www/abc/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable?

Hi all I'm using PHP for my website and ubuntu linux on my system. I got the above error in …

php apache .htaccess mod-rewrite
How to remove "index.php" in codeigniter's path

How do I remove the "index.php" sticking out in every path in codeigniter somewhere in the center? I want …

php mod-rewrite codeigniter url-rewriting
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