И так, частенько захожу на сайт, а там ошибка:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@nasmachne.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at nasmachne.com Port 80
Но при замене файла .htaccess сайт работает нормально, и так несколько раз за день может быть (заменяю на тот же самый файл .htaccess )
Читал, что в большинство случаев эта ошибка вылазит из-за неправильного файла .htaccess
Содержание моего .htaccess :
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
Заметил, что ошибка вылазит когда обновляю запись на сайте. Содержимое файл .htaccess после ошибки (то есть файла с фтп ) изменяется на:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
В чем может быть причина? Может сам .htaccess не правильно сделан?![smile:confused:](/bitrix/images/forum/smile/confused.gif)
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@nasmachne.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at nasmachne.com Port 80
Но при замене файла .htaccess сайт работает нормально, и так несколько раз за день может быть (заменяю на тот же самый файл .htaccess )
Читал, что в большинство случаев эта ошибка вылазит из-за неправильного файла .htaccess
Содержание моего .htaccess :
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
Заметил, что ошибка вылазит когда обновляю запись на сайте. Содержимое файл .htaccess после ошибки (то есть файла с фтп ) изменяется на:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
В чем может быть причина? Может сам .htaccess не правильно сделан?
![smile:confused:](/bitrix/images/forum/smile/confused.gif)
Изменено:
Nasmachne - 31 Августа 2012 19:23