client denied by server configuration

Apache, Lighttpd, nginx, Cherokee
adioz
Posts: 16
Joined: 2008-05-11 16:41

client denied by server configuration

Post by adioz » 2008-05-23 20:06

Hallo zusammen,

ich habe hier ein Debian Etch System mit Apache2 mit PHP Version 5.2.5-0.dotdeb.2 CGI/FastCGI.

Bei manchen Seiten auf diesem Server erhalte ich die Fehlermeldung:

client denied by server configuration


soweit so gut, ich habe die Configuration geöffnet und versucht den Fehler zu finden und verschiedene Einstellungen getestet (AllowOverride All
Order allow,deny, Allow from all ) leider jedoch ohne Erfolg.

Anbei mal die vhost.conf:

Code: Select all

<Directory "/var/www/web54/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
  <IfModule mod_authz_host.c>
    Allow from all
  </IfModule>
  suPHP_engine on
</Directory>

<VirtualHost 12.34.56.78:443>
  ServerName domain.de
  ServerAlias http://www.domain.de domain.de http://www.domain.de 
  web54.domain.de
  DocumentRoot /var/www/web54/html
  SuexecUserGroup web54 web54
  ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
  suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/1
  <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/admin.key
    SSLCertificateFile /etc/apache2/ssl.crt/admin.crt
    SetEnvIf User-Agent ".*MSIE.*"
      nokeepalive ssl-unclean-shutdown
      downgrade-1.0 force-response-1.0
    <Files ~ ".(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>
    <Directory "/var/www/web54/html/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>
  </IfModule>
<IfModule mod_rewrite.c>
RewriteLog "/var/www/web54/log/rewrite.log"
RewriteLogLevel 1
</IfModule>
ErrorLog /var/www/web54/log/error_log
<Directory "/var/www/web54/html">
AllowOverride FileInfo
Options +FollowSymlinks
</Directory>
<Directory "/var/www/web54/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost 12.34.56.78:80>
  ServerName domain.de
  ServerAlias http://www.domain.de domain.de http://www.domain.de 
  web54.domain.de
  DocumentRoot /var/www/web54/html
  SuexecUserGroup web54 web54
  ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
  suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/2
<IfModule mod_rewrite.c>
RewriteLog "/var/www/web54/log/rewrite.log"
RewriteLogLevel 1
</IfModule>
ErrorLog /var/www/web54/log/error_log
<Directory "/var/www/web54/html">
AllowOverride FileInfo
Options +FollowSymlinks
</Directory>
<Directory "/var/www/web54/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost 12.34.56.78:443>
  ServerName domain.de
  ServerAlias http://www.domain.de
  DocumentRoot /var/www/web54/html
  SuexecUserGroup web54 web54
  ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
  suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/3
  <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/admin.key
    SSLCertificateFile /etc/apache2/ssl.crt/admin.crt
    SetEnvIf User-Agent ".*MSIE.*"
      nokeepalive ssl-unclean-shutdown
      downgrade-1.0 force-response-1.0
    <Files ~ ".(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
 </Files>
    <Directory "/var/www/web54/html/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>
  </IfModule>
<IfModule mod_rewrite.c>
RewriteLog "/var/www/web54/log/rewrite.log"
RewriteLogLevel 1
</IfModule>
ErrorLog /var/www/web54/log/error_log
<Directory "/var/www/web54/html">
AllowOverride FileInfo
Options +FollowSymlinks
</Directory>
<Directory "/var/www/web54/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost 12.34.56.78:80>
  ServerName domain.de
  ServerAlias http://www.domain.de
  DocumentRoot /var/www/web54/html
  SuexecUserGroup web54 web54
  ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
  suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/4
<IfModule mod_rewrite.c>
RewriteLog "/var/www/web54/log/rewrite.log"
RewriteLogLevel 1
</IfModule>
ErrorLog /var/www/web54/log/error_log
<Directory "/var/www/web54/html">
AllowOverride FileInfo
Options +FollowSymlinks
</Directory>
<Directory "/var/www/web54/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


vielleicht sieht jemand auf Anhieb was ich evtl. falsch gemacht habe.

Sonnige Grüße!
Adioz

adioz
Posts: 16
Joined: 2008-05-11 16:41

Re: client denied by server configuration

Post by adioz » 2008-05-25 19:19

Hallo,

hat noch nie jemand solch ein Problem gehabt?

Würde mich echt über Tips freuen.

Viele Grüße
Adioz

User avatar
Joe User
Project Manager
Project Manager
Posts: 11137
Joined: 2003-02-27 01:00
Location: Hamburg

Re: client denied by server configuration

Post by Joe User » 2008-05-25 20:11

PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

adioz
Posts: 16
Joined: 2008-05-11 16:41

Re: client denied by server configuration

Post by adioz » 2008-05-26 13:14


Hallo,

vielen Dank für die Links, ich habe diese gelesen und "versucht" anzuwenden.

Leider brachte keine Einstellung den Erfolg, kannst du mir vielleicht einen kleinen
Tip geben wie ich das lösen kann?

Es ist von enormer Wichtigkeit.

Vielen Dank && Grüße

User avatar
Joe User
Project Manager
Project Manager
Posts: 11137
Joined: 2003-02-27 01:00
Location: Hamburg

Re: client denied by server configuration

Post by Joe User » 2008-05-26 17:17

Wenn man die gröbsten Fehler und die Dubletten aus Deiner obigen vhost.conf entsorgt, bleibt nur noch wenig übrig:

Code: Select all

<VirtualHost 12.34.56.78:443>
   ServerName domain.de
   DocumentRoot /var/www/web54/html
   SuexecUserGroup web54 web54
   ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
   suPHP_engine on
   suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/1
   <IfModule mod_ssl.c>
      SSLEngine on
      SSLCertificateKeyFile /etc/apache2/ssl.key/admin.key
      SSLCertificateFile /etc/apache2/ssl.crt/admin.crt
      SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
      <Files ~ ".(cgi|shtml|phtml|php3?)$">
         SSLOptions +StdEnvVars
      </Files>
      <Directory "/var/www/web54/html/cgi-bin">
         SSLOptions +StdEnvVars
      </Directory>
   </IfModule>
   <IfModule mod_rewrite.c>
      RewriteLog "/var/www/web54/log/rewrite.log"
      RewriteLogLevel 1
   </IfModule>
   ErrorLog /var/www/web54/log/error_log
   <Directory "/var/www/web54/html">
      Options -All +Indexes +FollowSymLinks
      AllowOverride Options FileInfo AuthConfig Limit
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>

<VirtualHost 12.34.56.78:80>
   ServerName domain.de
   ServerAlias www.domain.de web54.domain.de
   DocumentRoot /var/www/web54/html
   SuexecUserGroup web54 web54
   ScriptAlias /cgi-bin/ /var/www/web54/html/cgi-bin/
   suPHP_engine on
   suPHP_ConfigPath /etc/apache2/confixx_phpini/web54/2
   <IfModule mod_rewrite.c>
      RewriteLog "/var/www/web54/log/rewrite.log"
      RewriteLogLevel 1
   </IfModule>
   ErrorLog /var/www/web54/log/error_log
   <Directory "/var/www/web54/html">
      Options -All +Indexes +FollowSymLinks
      AllowOverride Options FileInfo AuthConfig Limit
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>


Wie Du das jetzt Confixx beibringst, ist allerdings Dein Problem...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.