From: Avramenko Andrew <liksx@mail.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Apache и переменные окружения Date: Thu, 23 Nov 2006 12:19:42 +0000 Message-ID: <456591DE.3010404@mail.ru> (raw) In-Reply-To: <20061123083533.GA9051@ricom.ru> Alexey Morsov wrote: > ну 1) апач должен запускаться из под своего пользователя, а Алексей, основной процесс apache всегда работает из-под пользователя root, а запуском других процессов он уже занимается сам! > 2) su - как раз экспортирует переменные окружения пользователя root > И не очень понятно зачем su в отношении апача Поверьте, я знаю чем отличается "su -" от "su". Опишу проблему более подробно: Apache проксирует запросы на IIS. Проблема возникает с некоторыми именами скачиваемых русских файлов - отдает ошибку 400. Если процесс запускается с переменными root'а, то проблема не возникает. Apache - 2.0.55 ОС - Linux 2.6.18 Есть подозрение, что это зависит от переменной LANG. Хотелось бы, чтобы кто-нибудь подсказал о документированности этого.
next prev parent reply other threads:[~2006-11-23 12:19 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-23 11:27 Avramenko Andrew 2006-11-23 8:35 ` Alexey Morsov 2006-11-23 12:19 ` Avramenko Andrew [this message] 2006-11-23 14:12 ` Michael Shigorin 2006-11-23 18:18 ` Avramenko Andrew
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=456591DE.3010404@mail.ru \ --to=liksx@mail.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git