Top "Mod-rewrite" questions

URL rewriting module for the Apache web server.

Apache Rewrite or proxy

I have an Apache server running on my machine (port 80) I have a Zope server running on my machine (port 8080) …

apache mod-rewrite plone zope mod-proxy
.htaccess in root and subfolder, each to redirect to own index.php

I apologise for a seemingly duplicate question, but none of the dozens I've looked at actually had the same problem. …

regex apache .htaccess mod-rewrite subdirectory
Do HTTP authentication over HTTPS with URL rewriting

I am trying to protect the ~/public_html/dev directory using http auth basic, but to make that secure I …

apache .htaccess mod-rewrite url-rewriting http-authentication
Remove www site-wide, force https on certain directories and http on the rest?

Firstly, I would like to remove the www. from my domain name http://www.example.com => http://example.com …

.htaccess mod-rewrite ssl https no-www
apache map single subdomain to folder

In my /var/www I have a number of sites (goodsite, badsite, uglysite). Right now they are accessed by mydomain.…

apache .htaccess mod-rewrite subdomain virtualhost
Force SSL/HTTPS with mod_rewrite

I have a Zend Framework application that I want to force into HTTPS using mod_rewrite. I am pretty lost …

mod-rewrite redirect ssl https
Force video/webm mime type using .htaccess based on request uri

I have a rewrite rule in .htaccess RewriteRule (.+?\.fid)/ /$1 [L] with a request URI like: /123.fid/myfile.webm How can …

apache .htaccess mod-rewrite mime-types webm
Too many redirects with Virtual Host and htaccess

The issue im getting is too many redirects. I have a WAMP server that hosts a few sites, but I …

apache .htaccess mod-rewrite multiple-domains
How to deploy Symfony2 on a shared-hosting?

I want to access my symfony app in production env (http://www.sample.com/amateur1/web/app.php) from this …

.htaccess mod-rewrite symfony shared-hosting
301 redirect index.html to / or /index.php

Greetings, I have just moved a website from IIS to Apache and am having a little trouble redirecting the index …

apache mod-rewrite http-status-code-301