Forum Moderators: phranque
<VirtualHost *:80>
ServerName www.example.net
RewriteEngine on
RewriteRule ^/(.*)$ http://www.example.com/our_business/plastics/pvc-vcm/ [R=301]
</VirtualHost>
<VirtualHost *:80>
ServerName www.example.net
RewriteEngine on
RewriteRule ^/tece$ http://www.example.net/some_new_path/ [R=301]
</VirtualHost>
[edited by: Ocean10000 at 2:03 pm (utc) on Aug 27, 2013]
[edit reason] Examplified [/edit]
I have a server with multiple sites on, and only one .htaccess
What I'm trying to do is redirect everything from "www.example.net/tece"
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:redirect url="/fr/index.jsp"/> Could it be that the fact that '/tece' folder doesn't exist makes a problem?
This redirection redirects all "www.example.com" requests to "www.example.com/fr/index.jsp".