L
L
lightalex2015-07-28 16:14:24
PHP
lightalex, 2015-07-28 16:14:24

Why does the .htaccess code refuse to work on the host?

Hello everyone
, I have htaccess code:

RewriteEngine on

RewriteCond $1 !^(index\.php|header\.php|footer\.php|robots\.txt|config\.php|files|php|404|503)
RewriteRule ^(.*)$ /index.php?url=$1 [L]

ErrorDocument 503 /503/

Options -Indexes
CharsetSourceEnc utf-8

Everything works fine on LAN, but on hosting it gives out Internal Server Error
Who knows what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-07-28
@lightalex

remove CharsetSourceEnc
Perhaps mod_charset_lite is not installed on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question