From: Eugene Prokopiev <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] PHP: safe_mode on/off для разных витруальных хостов Date: Thu, 15 Apr 2004 21:23:51 +0400 Message-ID: <407EC527.50206@rmts.donpac.ru> (raw) Здравствуйте! Как для разных виртуальных хостов установить различные значения safe_mode? После чтения мануала написал следующее: в httpd.conf: Include conf/addon-modules/mod_php4.conf Include conf/vhosts/Vhosts.conf в Vhosts.conf: <VirtualHost 192.168.1.1> ServerName web1.athlon.home DocumentRoot /var/www/vhosts/web1/web User web1 Group web1 <IfModule mod_php4.c> php_admin_flag safe_mode off </IfModule> </VirtualHost> <VirtualHost 192.168.1.1> ServerName web2.athlon.home DocumentRoot /var/www/vhosts/web2/web User web2 Group web2 <IfModule mod_php4.c> php_admin_flag safe_mode on </IfModule> </VirtualHost> После этого safe_mode зависит от того, что написано для web1.athlon.home То, что указано в web2.athlon.home, игнорируется. Если я использую php_flag, safe_mode из php.ini не переопределяется. Что я делаю неправильно? У кого-нибудь это работает? Система - ALM 2.2 -- С уважением, Прокопьев Евгений
reply other threads:[~2004-04-15 17:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=407EC527.50206@rmts.donpac.ru \ --to=john@rmts.donpac.ru \ --cc=community@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git