Обучение/Помощь новичкам | как исправить
вообщем такая херь на домене http://www.warkings.mobi/как убрать эту херню с домена www?
не хера не вдуплил уже и заново корневую дирикторию создавал и один хер такая вот ерунда.
из-за нее много ошибок вылазит
крот , у меня все нормально работает
кеш очисти
Тебе нужно чтобы без www заходило? В .htaccess вставь:
RewriteCond %{HTTP_HOST} ^www.warkings.mobi$ [NC]
RewriteRule ^(.*)$ warkings.mobi/$1 [R=301,L]
ZnTor , это он у меня ошибку в вапкассе такую показывает при обработке платежа
вот HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 10 Sep 2019 14:50:03 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://www.warkings.mobi/rus/paywk/result.php
Pragma: no-cache
Cache-Control: no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
вот HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 10 Sep 2019 14:50:03 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://www.warkings.mobi/rus/paywk/result.php
Pragma: no-cache
Cache-Control: no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Zhum , да,щас попробую
сработал но теперь эта ошибка
HTTP/1.1 500 Internal Server Error
Date: Tue, 10 Sep 2019 17:07:33 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Server: Jino.ru/mod_pizza
Vary: Accept-Encoding
HTTP/1.1 500 Internal Server Error
Date: Tue, 10 Sep 2019 17:07:33 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Server: Jino.ru/mod_pizza
Vary: Accept-Encoding
крот (10.09.2019 в 20:09)
сработал но теперь эта ошибка
HTTP/1.1 500 Internal Server Error
Date: Tue, 10 Sep 2019 17:07:33 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Server: Jino.ru/mod_pizza
Vary: Accept-Encoding
сработал но теперь эта ошибка
HTTP/1.1 500 Internal Server Error
Date: Tue, 10 Sep 2019 17:07:33 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Server: Jino.ru/mod_pizza
Vary: Accept-Encoding
Ну это значит htaccess неправильно сконфигурирован.
Стр.: 1, 2