bluvertigo
7/15/2015 - 7:21 AM

Verificare URL REWRITE / test mod_rewrite - Mettere tutto in una cartella es. rewritetest/

Verificare URL REWRITE / test mod_rewrite - Mettere tutto in una cartella es. rewritetest/

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
	<title>RewriteTest: OK</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<h1>Test passato!</h1>
<p>mod_rewrite funziona!</p>

</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
	<title>RewriteTest: FALLITO</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<h1>Test fallito!</h1>
<p>mod_rewrite non funziona!</p>

</body>
</html>

RewriteEngine On
RewriteRule ^index.html$ works.html