Problema com htaccess [RESOLVIDO]

1. Problema com htaccess [RESOLVIDO]

Samuel Barbosa
smkbarbosa

(usa Debian)

Enviado em 04/06/2013 - 12:52h

Olá pessoal,

estou com um problema num arquivo htaccess.

A estrutura das pastas é /var/www/pasta_web, para acesso via localhost/pasta_web.
Dentro da pasta, tenho um htaccess, porém o apache só me retorna erro 500. Alguém poderia me ajudar a configurar corretamente esse arquivo?
#######################################################################################
AddDefaultCharset UTF-8
Options -Indexes

<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag magic_quotes_sybase off
php_flag register_globals off
</IfModule>

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ index.php [QSA,L]
</IfModule>

#########################################################################################


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts