Top "Mod-rewrite" questions

URL rewriting module for the Apache web server.

How to enable mod_rewrite for Apache 2.2

I've got fresh install of Apache 2.2 on my Vista machine, everything works fine, except mod rewrite. I've uncommented LoadModule rewrite_…

apache mod-rewrite
htaccess redirect to https://www

I have the following htaccess code: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond !{HTTPS} off RewriteRule ^(.*)$ https://www.%{…

apache .htaccess mod-rewrite redirect https
.htaccess rewrite to redirect root URL to subdirectory

Trying to get www.example.com to go directly to www.example.com/store I have tried multiple bits of …

.htaccess mod-rewrite redirect
Generic htaccess redirect www to non-www

I would like to redirect www.example.com to example.com. The following htaccess code makes this happen: RewriteCond %{HTTP_…

apache mod-rewrite url-rewriting
.htaccess redirect all pages to new domain

Which redirect rule would I use to redirect all pages under olddomain.example to be redirected to newdomain.example? The …

.htaccess mod-rewrite
Forbidden You don't have permission to access / on this server

All I wanted to do today was to write a redirect rule to a subfolder, e.g.: You enter the …

apache .htaccess mod-rewrite httpd.conf
How does RewriteBase work in .htaccess

I have seen this in a few .htaccess examples RewriteBase / It appears to be somewhat similar in functionality to the &…

.htaccess mod-rewrite
Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04

I have installed Laravel many times on Windows OS but it never occurred this type of problem. This 500 internal server …

php apache .htaccess ubuntu mod-rewrite
Redirect all to index.php using htaccess

I am writing a simple PHP-based MVC-ish framework. I want this framework to be able to be installed in any …

php .htaccess mod-rewrite
Force SSL/https using .htaccess and mod_rewrite

How can I force to SSL/https using .htaccess and mod_rewrite page specific in PHP.

php .htaccess mod-rewrite ssl https