http://www.debianhowto.de/doku.php/de:h ... 2_php-fcgi
probiert, bekomme aber immer nur einen 403 error...
Meine logs:
/var/log/apache2/error.log
Code: Select all
[Sat Sep 02 14:25:49 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sat Sep 02 14:25:49 2006] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sat Sep 02 14:25:49 2006] [notice] FastCGI: process manager initialized (pid 10384)
[Sat Sep 02 14:25:49 2006] [warn] FastCGI: server "/var/www/php-fcgi-scripts/default/php-fcgi-starter" (uid 1003, gid 1001) started (pid 10385)
[Sat Sep 02 14:25:49 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/mod_fastcgi-SNAP-0404142202 configured -- resuming normal operations
[Sat Sep 02 14:25:53 2006] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: access to / denied
Code: Select all
[2006-09-02 14:25:49]: uid: (default/default) gid: (ftpuser/ftpuser) cmd: php-fcgi-starter
Code: Select all
R:/var/www/default/domain/html# ls -la
total 8
drwxr-xr-x 2 default ftpuser 112 Sep 2 11:17 .
drwxr-xr-x 6 default ftpuser 144 Sep 2 09:53 ..
-rwxrwxrwx 1 default ftpuser 6 Sep 2 10:33 index.html
-rwx------ 1 default ftpuser 16 Sep 2 11:17 index.php
Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName domain.tld
ServerAlias www.domain.tld
SuexecUserGroup default ftpuser
DocumentRoot /var/www/default/domain/html
DirectoryIndex index.php index.html index.htm
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/default/domain/html>
Options FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/default/
<Directory "/var/www/php-fcgi-scripts/default">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>