Top "Mod-rewrite" questions

URL rewriting module for the Apache web server.

RewriteEngine on gives error 403

Index file exists and works. When I create .htaccess file with the ONLY line: RewriteEngine On Any page on server …

apache mod-rewrite httpd.conf
Is there a way to remove apaches Reverse Proxy Request Headers?

When acting as a reverse proxy, apache adds x-forwarded headers as described here. http://httpd.apache.org/docs/2.2/mod/mod_…

apache mod-rewrite apache2 mod-proxy mod-headers
Running PHP without extension without using mod_rewrite?

Using Apache 2.2 and PHP 5, what's the best way to run PHP without the .php extension? For example, I have a …

php mod-rewrite apache server-side-includes
Apache ProxyPass - Regex to Exclude Files

I'm trying to exclude all files starting with "dgg-" and ending in ".xml", example: dgg-file-1.xml from using the apache …

regex apache mod-rewrite load-balancing proxypass
Single ErrorDocument directive to catch all errors (.htaccess)

Is there something like a wildcard directive to catch all possible errors and deal with them in a single custom …

apache .htaccess mod-rewrite errordocument
.htaccess rewrite "/book.php?id=1234" to "/book/1234"

This is what I have so far in my development environment: php_value error_log log/php.log php_value …

apache .htaccess mod-rewrite url-rewriting redirect-loop
How to host static content pre-compressed in apache?

I host a JavaScript game which basically consists of an .html and a .data file. If I compress them with …

javascript apache .htaccess mod-rewrite http-compression
htaccess help, need to force www, https, and remove index.php

I have a rewrite in my htaccess file that removes index.php from the url RewriteEngine on RewriteCond $1 !^(images|media|…

apache .htaccess mod-rewrite https litespeed
How can I redirect all sub-directories to root using htaccess or httpd.conf?

I have an index file that builds content based on n PATH_INFO variables. Example: site.com/A/B/n/ …

.htaccess mod-rewrite apache apache-config
Always get 404 error in Slim Framework when omitting index.php in URL

I created a test hello world Slim app following instructions here. When I make this call I get a 404 error: …

php apache mod-rewrite slim