Gaston_Phone
18/10/2011, 07h42
Depuis chez moi, tout semble OK à l’exception de ce que tu ouvres un 2ème onglet ou un 2ème navigateur.
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.TonDomaine.com/portail/');
?>
Options -Indexes Options -Multiviews Options +FollowSymLinks SetEnv REGISTER_GLOBALS 0 SetEnv PHP_VER 5 RewriteEngine On RewriteCond %{REQUEST_URI} !^/portail RewriteRule ^(.*)$ portail/$1
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d
Options -Indexes
Options -Multiviews
Options +FollowSymLinks
SetEnv REGISTER_GLOBALS 0
SetEnv PHP_VER 5
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/Dossier1
RewriteRule ^(.*)$ Dossier1/$1
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title> xxxxxx title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="xxxxxx ">
<meta name="keywords" content="xxxxxx ">
<meta http-equiv="refresh" content="0; url=http://www.TonDomaine.com/Dossier1/">
head>
<body>
body>
html>
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.TonDomaine.com/Dossier1/');
?>