Top "Mod-rewrite" questions

URL rewriting module for the Apache web server.

Rewrite rule .htaccess for my sitemap.xml

I have a content management system plugin installed that provides a sitemap for Google under http://www.domain.com/index.…

.htaccess mod-rewrite url-rewriting url-rewrite-module
Allow/deny image hotlinking with .htaccess

So I've got this in my site .htaccess file to prevent hotlinking of images, JS and CSS from all other …

.htaccess mod-rewrite hotlinking
Getting WordPress permalinks working on a MAMP install

I've got a local MAMP install of WordPress and am trying to get permalinks working. But when I click my …

wordpress mod-rewrite mamp permalinks
Set RewriteBase to the current folder path dynamically

Is there any way to set RewriteBase to the path current folder (the folder which the .htaccess file is in) …

regex apache .htaccess mod-rewrite url-rewriting
cakephp doesn't work url-rewriting on Ubuntu

all. This time I try cakephp, but I have got "URL rewriting is not properly configured on your server. 1) Help …

apache cakephp mod-rewrite cakephp-2.1
.htaccess not working in amazon ec2 ubuntu instance

I have a server from amazon's ec2 service running on Linux Ubuntu ( Ubuntu Server 13.04 64 bit) and I have installed apache, …

php .htaccess mod-rewrite amazon-ec2 ec2-api-tools
RewriteRule - two parameters but last parameter is optional

I cannot rewrite to include two parameters but the last parameter is optional, so for example: http://www.mywebsite.com/…

.htaccess mod-rewrite url-parameters
How to use mod_rewrite with Apache -> mod_jk -> tomcat setup?

Related to some of my earlier questions. I now have a setup I quite like; Apache httpd listening on port 80 …

apache tomcat mod-rewrite mod-jk
How to exclude specific file types from the following .htaccess rewrite rule?

How can you exclude specific files types (xml and txt) from the following rewrite rule? RewriteEngine On RewriteBase / RewriteCond %{REQUEST_…

.htaccess mod-rewrite file-type
Mixing RewriteRule and ProxyPass in Apache

I was working on debugging an issue today related to mixing mod_proxy and mod_rewrite together and I ended …

apache mod-rewrite apache2 load-balancing mod-proxy