0

I am absolutely lost, trying anything silly. Probably you know the situation. I tried hints from many threads here and on Google as well, but nothing helped. I have rewrite module loaded on my Apache (checked by phpinfo). For a site I have .htaccess created, where currently simple rule is stored:

RewriteEngine on
RewriteBase /
RewriteRule ^/certifikaty\.html$ certifikaty.php

So, I expect http://www.contech.cz/certifikaty.html will show http://www.contech.cz/certifikaty.php. Unfortunatly not. So, I set in my httpd.conf these lines:

RewriteLogLevel 9
RewriteLog "logs/rewrite.log"

The file (rewrite.log) is created, but it's empty even after server restart.

Please, could you help me to get out of this?

Marek

4

1 に答える 1

0

私は解決策を見つけました-httpd.confにディレクティブAllowOverideNoneがありました。これは、すべてのhttpd.confが無視されることを意味します...。

于 2012-11-21T10:02:57.457 に答える