Jump to content


Photo

Problemas Ao Sobrescrever Url


  • Faça o login para participar
Nenhuma resposta neste tópico

#1 Spyder.RV

Spyder.RV

    Turista

  • Usuários
  • 54 posts
  • Sexo:Masculino
  • Localidade:Rio Verde - GO

Posted 13/10/2011, 09:07

pessoal, estou com um problema num .htaccess pra fazer um redirecionamento de url..

Preciso redirecionar tudo que entrar em localhost/site ou localhost/site/paginaqualquer.extensaoqualquer para localhost/site/html.

.htaccess
RewriteEngine on
RewriteRule ^$ html/ [L]
RewriteRule (.*) html/$1 [L]

A última linha: RewriteRule (.*) html/$1 [L] me dá o seguinte erro:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 Server at localhost Port 80


O que eu tô fazendo de errado ?
Wemerson C. Guimaraes
Rio Verde - GO
C2Q Q6600 + Asus P5KPL + 4GB DDR2 PC6400 + ATI X1650 512 DDR2 + 570 GB HD




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq