|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Sergey Prokopenko 2:5020/400 25 Aug 2006 18:08:46 To : Alex Korchmar Subject : Re: сколько можно повесить алиасов на один eth -------------------------------------------------------------------------------- Hello, Alex! You wrote to Andrew Dolgov <Andrew.Dolgov@p2.f1022.n5030.z2.fidonet.org> on Fri, 25 Aug 2006 12:31:13 +0000 (UTC): AV>>>> Мсье никогда не слышал про suexec? :-) IT>>> мсье не подскажет как mod_php подружить с suexec ? :) AD>> подсказываю: начать надо с выкидывания нахрен mod_php. AK> ну да, а замену какому-нибудь Typo3 быстренько налабать на AK> коленке? А эта фигня не поможет? =========Beginning of the citation============== http://fastcgi.coremail.cn/configuration.htm This is a for regular fastcgi. LoadModule fcgid_module modules/mod_fcgid.so <Location /fcgid> SetHandler fcgid-script Options ExecCGI allow from all </Location> -------------------------------------------------------------------------------- This is for suEXEC. Please get more information about suEXEC here. LoadModule fcgid_module modules/mod_fcgid.so <Location /fcgid> SetHandler fcgid-script Options ExecCGI allow from all </Location> <VirtualHost 192.168.1.89> ServerAdmin webmaster@host.foo.com DocumentRoot /usr/local/apache2/htdocs/ ServerName host.foo.com SuexecUserGroup pqf pqf </VirtualHost> ? -------------------------------------------------------------------------------- This is for fastcgi-mode PHP (UNIX) LoadModule fcgid_module modules/mod_fcgid.so <Directory /usr/local/apache2/htdocs/php> SetHandler fcgid-script FCGIWrapper /usr/local/bin/php .php Options ExecCGI allow from all </Directory> This works too: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php <Directory /usr/local/apache2/htdocs/php> FCGIWrapper /usr/local/bin/php .php Options ExecCGI allow from all </Directory> # Please make sure: # php is configured with --enable-fastcgi option # check error_log(with debug level), if any thing goes wrong -------------------------------------------------------------------------------- This is for suPHP ( UNIX ) LoadModule fcgid_module modules/mod_fcgid.so <VirtualHost *:80> ServerName test2.example.com DocumentRoot /usr/local/apache2/htdocs/test2.example.com/ SuexecUserGroup pqf pqf </VirtualHost> <Directory /usr/local/apache2/htdocs/test2.example.com/> AddHandler fcgid-script .php Options ExecCGI allow from all FCGIWrapper /usr/local/apache2/htdocs/test2.example.com/php .php </Directory> # Please make sure: # php is configured with --enable-fastcgi option # copy php execution to /usr/local/apache2/htdocs/test2.example.com/ directory # make sure all files in /usr/local/apache2/htdocs/test2.example.com/ with right owner and group # check error_log(with debug level) and suexec_log, if any thing goes wrong -------------------------------------------------------------------------------- This is for fastcgi-mode PHP ( Windows ) LoadModule fcgid_module modules/mod_fcgid.so <Directory "C:/Apache2/htdocs/php/"> SetHandler fcgid-script Options execCGI AllowOverride None Order allow,deny Allow from all FCGIWrapper "c:/php/php.exe" .php </Directory> This works too: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php <Directory "C:/Apache2/htdocs/php/"> FCGIWrapper "c:/php/php.exe" .php Options ExecCGI allow from all </Directory> =========The end of the citation================ До свидания, успехов! ==================== Lam I. В моём адресе все буквы настоящие. --- ifmail v.2.15dev5.3 * Origin: Demos online service (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор Архивное /ru.linux/6577b461f6a0.html, оценка из 5, голосов 10
|