Apache 2.2.3 -at telepítettem (csomagból), mivel szükséges, hogy a hostok userenként fussanak, FastCGI-vel a fastcgi.conf: <IfModule mod_fastcgi.c> AddHandler fastcgi-script .php .phtml AddType application/x-httpd-fastphp .php .phtml
FastCgiWrapper /usr/bin/suexec FastCgiServer /usr/bin/php5-cgi FastCgiConfig -singleThreshold 100 -killInterval 300 -autoUpdate -idle-timeout 30 -pass-header HTTP_AUTHORIZATION FastCgiIpcDir /var/run/apache2/fastcgi/ <IfModule mod_actions.c> Action application/x-httpd-fastphp /usr/bin/php5-cgi </IfModule> </IfModule> ámde, ha elindítom az apache-ot, akkor a: Syntax error on line 9 of /etc/apache2/mods-enabled/fastcgi.conf: FastCgiIpcDir /var/run/apache2/fastcgi/: already defined as "/var/run/apache2/fastcgi" Hibaüzenetet kapom Ha a "FastCgiIpcDir /var/run/apache2/fastcgi/" sort kikommentezem akkor elindul ugyan a server, de nem szolgálja ki a php-s kéréseket, illetve a: Warning: SuexecUserGroup directive requires SUEXEC wrapper. Figyelmeztetést kapom, a logba is ugyan ez kerül. Ha valaki már állított be, így FCGI-t kérem segítsen. A server https -en keresztül szolgál ki, a hostra vonatkozó conf: ## # https://crm.businesspark.hu/ ## NameVirtualHost 192.168.2.248:80 <VirtualHost 192.168.2.248:80> ServerAdmin [EMAIL PROTECTED] ServerName crm.businesspark.hu RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteCond %{HTTP_HOST} crm\.businesspark\.hu [NC] RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R] RewriteLog /var/log/apache2/crm.rewrite.log RewriteLogLevel 1 ErrorLog /var/log/apache2/crm.error.log LogLevel alert CustomLog /var/log/apache2/crm.access.log combined </VirtualHost> NameVirtualHost 192.168.2.248:443 <VirtualHost 192.168.2.248:443> ServerAdmin [EMAIL PROTECTED] ServerName crm.businesspark.hu:443 SSLEngine on SSLCertificateFile /etc/apache2/ssl/crm.businesspark.hu/newcert.pem SSLCertificateKeyFile /etc/apache2/ssl/crm.businesspark.hu/newkey.pem SSLCACertificateFile /etc/apache2/ssl/cacert.pem SSLVerifyClient none SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SuexecUserGroup crm crm DocumentRoot /var/www/crm/pub/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/crm/pub/> Options Indexes FollowSymLinks -MultiViews ExecCGI Includes SetHandler fastcgi-script AllowOverride None Order allow,deny allow from all RedirectMatch ^/$ /info/ </Directory> ScriptAlias /cgi-bin/ /var/www/crm/cgi-bin/ <Directory "/var/www/crm/cgi-bin/"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/crm.error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel info CustomLog /var/log/apache2/crm.access.log combined ServerSignature On Alias /stat/ "/var/www/crm/stat/" <Directory "/var/www/crm/stat/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> </VirtualHost> _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux