cukerka Posted March 27, 2012 Report Share Posted March 27, 2012 The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@********.ru 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.2.21 Server at ********.ru Port 80 Как захожу на сайт, выдает ошибку, скажите пожалуйста как исправить? Quote Link to post Share on other sites
iluwka Posted March 27, 2012 Report Share Posted March 27, 2012 было такое, попытайся залить дефный хтач. мне помогало, проблема вроди как с кодировкой Quote Link to post Share on other sites
cukerka Posted March 27, 2012 Author Report Share Posted March 27, 2012 загрузил стандартный хтач, главную не показывает, выдает ошибку Quote Link to post Share on other sites
andrewftl Posted March 27, 2012 Report Share Posted March 27, 2012 Была такая штука. Ставь с нуля или пиши хостеру. Мне в моем случае помог хостер. Quote Link to post Share on other sites
cukerka Posted March 27, 2012 Author Report Share Posted March 27, 2012 хостер пишет удаляйте файл htaccess, либо исправляйте. Если удалить, то многие страницы не доступны, а исправлять я не знаю как, что именно исправлять??? Quote Link to post Share on other sites
andrewftl Posted March 27, 2012 Report Share Posted March 27, 2012 В админку заходит? проверь сайт/admin Quote Link to post Share on other sites
cukerka Posted March 27, 2012 Author Report Share Posted March 27, 2012 Нет, на любой странице сайта выдает ошибку. Quote Link to post Share on other sites
iluwka Posted March 28, 2012 Report Share Posted March 28, 2012 500? скинь мне свой хтач Quote Link to post Share on other sites
cukerka Posted March 28, 2012 Author Report Share Posted March 28, 2012 AddDefaultCharset UTF-8ErrorDocument 404 /404ErrorDocument 401 /password.phpRewriteEngine on# Админка теперь по адресу /simplaRewriteRule ^admin/?$ simpla [L]# Каталог товаровRewriteRule ^catalog/([^/]+)/?$ index.php?module=ProductsView&category=$1 [L,QSA]RewriteRule ^catalog/([^/]+)/([^/]+)/?$ index.php?module=ProductsView&category=$1&brand=$2 [L,QSA]RewriteRule ^products/([^/]+)/?$ index.php?module=ProductView&product_url=$1 [L,QSA]RewriteRule ^products/?$ index.php?module=ProductsView [L,QSA]RewriteRule ^brands/([^/]+)/?$ index.php?module=ProductsView&brand=$1 [L,QSA]RewriteRule ^brands/([^/]+)/page_([^/]+)/?$ index.php?module=ProductsView&brand=$1&page=$2 [L,QSA]# Поиск товаровRewriteRule ^search/([^/]+)/?$ index.php?module=ProductsView&keyword=$1 [L,QSA]RewriteRule ^search/?$ index.php?module=ProductsView [L,QSA]# БлогRewriteRule ^blog/([^/]+)/?$ index.php?module=BlogView&url=$1 [L,QSA]RewriteRule ^blog/?$ index.php?module=BlogView [L,QSA]# Корзина и заказыRewriteRule ^cart/?$ index.php?module=CartView [L,QSA]RewriteRule ^cart/([^/]+)/?$ index.php?module=CartView&add_variant=$1 [L,QSA]RewriteRule ^cart/remove/([^/]+)/?$ index.php?module=CartView&delete_variant=$1 [L,QSA]RewriteRule ^order/([^/]+)/?$ index.php?module=OrderView&url=$1 [L,QSA]RewriteRule ^order/?$ index.php?module=OrderView [L,QSA]# Для пользователейRewriteRule ^user/login/?$ index.php?module=LoginView [L,QSA]RewriteRule ^user/register/?$ index.php?module=RegisterView [L,QSA]RewriteRule ^user/logout/?$ index.php?module=LoginView&action=logout [L,QSA]RewriteRule ^user/password_remind/?$ index.php?module=LoginView&action=password_remind [L,QSA]RewriteRule ^user/password_remind/([0-9a-z]+)/?$ index.php?module=LoginView&action=password_remind&code=$1 [L,QSA]RewriteRule ^user/?$ index.php?module=UserView [L,QSA]# Google sitemapRewriteRule ^sitemap.xml?$ sitemap.php [L,QSA]# XMLRewriteRule ^yandex.xml?$ yandex.php [L,QSA]# feedbackRewriteRule ^contact/?$ index.php?module=FeedbackView [L,QSA]#downloadsRewriteRule ^order/([^/]+)/([^/]+)/?$ index.php?module=OrderView&url=$1&file=$2 [L,QSA]# Статические страницыRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/]*)/?$ index.php?module=PageView&page_url=$1 [L,QSA]RewriteRule ^/?$ index.php?module=HitsView&page_url= [L,QSA]# Ресайз картинок на летуRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^files/products/(.+) resize/resize.php?file=$1&token=%{QUERY_STRING}#RewriteCond %{THE_REQUEST} ^GET\ (.*)files/products/(.*)\?([A-z0-9]*) #RewriteRule ^files/products/(.+) resize/resize.php?file=%2&token=%3 [L,NE] Quote Link to post Share on other sites
iluwka Posted March 28, 2012 Report Share Posted March 28, 2012 win+apache2 полет нормальныйlinux+apache2 полет нормальныйlinux+ngnix полет нормальный у меня все отображает нормально, скинь именно сам файл на емейл или еще как-то, как тебе удобней Quote Link to post Share on other sites
cukerka Posted March 28, 2012 Author Report Share Posted March 28, 2012 Файл отправил тебе в сообщение! При любом редактировании этого файла, на сайте выдает ошибку. Мб там кодировки у меня с хостингом разные или т.п.?? Quote Link to post Share on other sites
iluwka Posted March 28, 2012 Report Share Posted March 28, 2012 сейчас посмотрим, жди upd Quote Link to post Share on other sites
cukerka Posted March 28, 2012 Author Report Share Posted March 28, 2012 В общем, все, хостер отписал! Все работает. Спасибо. Quote Link to post Share on other sites
AndryFroggy Posted March 28, 2012 Report Share Posted March 28, 2012 Проверяйте после каждой записи перевод строки, для htaccess равно как и для файлов cron это иногда бывает критично. Quote Link to post Share on other sites
Slavik911 Posted June 12, 2012 Report Share Posted June 12, 2012 Только что и сам столкнулся с данной проблемой. Помогло сохранение под одной кодировкой UTF-8. Для смены кодировки использовал Notepad2 (работает четко) Quote Link to post Share on other sites
stasik Posted June 24, 2012 Report Share Posted June 24, 2012 Также менял кодировку в Notepad++ с UTF-8 на UTF-8 без BOM Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.