Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 3 matches
- Thu Mar 05, 2020 9:53 pm
- Forum: General Discussion
- Topic: Original visitors IP X forwarded Headers
- Replies: 12
- Views: 20734
Re: Original visitors IP X forwarded Headers
To see real IP in Apache logs just change in apache2.conf:
LogFormat " %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
to
LogFormat " %a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
Great tip. I used it long ago and it still works for VestaCP.
I ...
- Fri Jun 09, 2017 9:17 pm
- Forum: Общие вопросы
- Topic: Кодировка отдельного сайта.
- Replies: 23
- Views: 19429
Re: Кодировка отдельного сайта.
Лучше, конечно, использовать utf-8, но бывают отдельные сайты, к которым по разным гигиеническим причинам не хочется прикасаться. Вот в таких случаях можно просто добавить в файл .htaccess:
Code: Select all
DefaultLanguage ru
AddDefaultCharset windows-1251
php_value default_charset "cp1251"
- Sun Aug 21, 2016 1:33 am
- Forum: Mail Server
- Topic: Beware of breaking ClamAV-daemon when you update Debian
- Replies: 5
- Views: 13580
Re: Beware of breaking ClamAV-daemon when you update Debian
Thank you very much! I've recovered my clamav by commenting this AllowSupplementaryGroups.