Usuário com melhor resposta
Problemas com URL amigavel

Pergunta
-
Opa a todos.
Pessoal eu tenho a seguinte configuração no .htaccess:
RewriteEngine on RewriteCompatibility2 On RepeatLimit 200 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^fale\/([0-9]+)\/(.*)\.html$ fale.aspx?cod=$1 RewriteRule ^abertura\/?$ default.aspx RewriteRule ^fale\/?$ fale.aspx RewriteRule ^guia\/?$ guia.aspx RewriteRule ^empresas\/?$ empresas.aspx
e tenho a seguinte pagina fale.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="fale.aspx.vb" Inherits="fale" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <link href="css/normalize.css" rel="stylesheet" type="text/css" /> <link href="css/estilo.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form1" runat="server"> <div> <table width="130" border="0" cellspacing="0" cellpadding="0" style="text-align: center; margin: 0 auto;"> <tr> <td height="36" align="center"><a href="#"><img src="imagens/ico_facebook.png" border="0" /></a></td> <td height="36" align="center"><a href="#"><img src="../imagens/ico_twitter.png" /></a></td>
<td height="36" align="center"><a href="#"><img src="../../imagens/ico_orkut.jpg" /></a></td></tr> </table> </div> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </form> </body> </html>
Quando eu uso este link para a cessar a pagina: www.meusite.com/fale o site mostra as três imagens. Se eu uso o link assim: www.meusite.com/fale/2/teste.html, so aparece a terceira imagem a do icone do orkut.
porque isto acontece?
Obrigado
Respostas
-
<td height="36" align="center"><a href="#"><img src="../../imagens/ico_facebook.png" border="0" /></a></td> <td height="36" align="center"><a href="#"><img src="../../imagens/ico_twitter.png" /></a></td> <td height="36" align="center"><a href="#"><img src="../../imagens/ico_orkut.jpg" /></a></td>
- Sugerido como Resposta Leonardo.Garcia segunda-feira, 27 de agosto de 2012 16:28
- Marcado como Resposta Joao Nivaldo terça-feira, 4 de setembro de 2012 17:59
Todas as Respostas
-
-
<td height="36" align="center"><a href="#"><img src="../../imagens/ico_facebook.png" border="0" /></a></td> <td height="36" align="center"><a href="#"><img src="../../imagens/ico_twitter.png" /></a></td> <td height="36" align="center"><a href="#"><img src="../../imagens/ico_orkut.jpg" /></a></td>
- Sugerido como Resposta Leonardo.Garcia segunda-feira, 27 de agosto de 2012 16:28
- Marcado como Resposta Joao Nivaldo terça-feira, 4 de setembro de 2012 17:59