O
O
onogur2014-03-31 15:32:59
PHP
onogur, 2014-03-31 15:32:59

Mod_rewrite and Apache2?

There is Ubuntu 12.04, Apache2. Mod_rewrite does not work and output php errors. Mod_rewrite included through a2enmod. Everything is enabled in php.ini, but still nothing works. Just a white screen on error. I tried to enable both through .htaccess and through ini_set. Results No. Google didn't help. What's the problem? Everything worked fine on Denwer. I've already reinstalled LAMP. No results. Has anyone experienced this? Here is my .htaccess:

AddDefaultCharset utf-8
DirectoryIndex index.php
RewriteEngine On
RewriteRule .* index.php [L]

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
onogur, 2014-03-31
@onogur

I barely started mod_rewrite without knowing how!

O
onogur, 2014-03-31
@onogur

Somehow everything went wrong

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question