Answer the question
In order to leave comments, you need to log in
How to solve Internal Server Error 500 in NetCat?
What's wrong with .htaccess?
DirectoryIndex index.php
AddDefaultCharset utf-8
# Если NetCat стоит в подпапке, например, mysite, то
# ErrorDocument 404 /mysite/netcat/require/e404.php
# в противном случае
ErrorDocument 404 /netcat/require/e404.php
Options -Indexes
Options FollowSymLinks
<IfModule mod_php5.c>
php_flag magic_quotes_gpc on
php_flag display_errors on
php_value error_reporting 0
php_value arg_separator.output "&"
php_value mbstring.internal_encoding UTF-8
php_value memory_limit 128M
php_value max_execution_time 512
</IfModule>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Если NetCat стоит в подпапке, например mysite, то
# RewriteRule ^(.+)$ /mysite/netcat/require/e404.php?REQUEST_URI=$1 [L,QSA]
# в противном случае
RewriteRule ^(.+)$ /netcat/require/e404.php?REQUEST_URI=$1 [L,QSA]
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
Answer the question
In order to leave comments, you need to log in
Maybe AddDefaultCharset utf-8 is causing the problem. This error also occurs when using php_* directives (although you have these directives in the block that checks for the presence of php as a module, but still comment it out).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question