PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > apache + ssl: client denied by server configuration
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

apache + ssl: client denied by server configuration

Réponse
 
LinkBack Outils de la discussion
Vieux 26/01/2007, 12h49   #1
sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apache + ssl: client denied by server configuration

I am trying to get SSL up and running on my new apache server. The
server starts up just fine and serves up regular pages on port 80, but
when I direct it towards the SSL port, Firefox give me an error:

"bv.<domain>.com has sent an incorrect or unexpected message.
Error Code: -12263"

When I look at the apache error log, I get this:

client denied by server configuration: /usr/local/apache2/htdocs/

what is strange is that I am not using /usr/local/apache2/htdocs/
anywhere in the httpd.conf file. I have searched and searched the
config file for htdocs and it simply is not there. Any thoughts?

Sam

P.S. Here is my complete httpd.conf file:

ServerRoot /usr/local/apache2
PidFile /usr/local/apache2/logs/httpd.pid

Listen 80
ServerAdmin scarleton@<domain>.com
ServerSignature Off
User httpd
Group httpd
HostNameLookups Off
TimeOut 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 1000
ServerTokens ProductOnly

LoadModule php5_module modules/libphp5.so

AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php .inc
AddHandler application/x-httpd-php .class
AddHandler application/x-httpd-php .module

DefaultType text/plain

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>

DirectoryIndex index.html index.php

<FilesMatch "(^\.ht|~$|\.bak$|\.BAK$)">
Order Allow,Deny
Deny from all
</FilesMatch>

<DirectoryMatch /CVS/>
Order Allow,Deny
Deny from all
</DirectoryMatch>

<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>

<Directory /home/www/mainroot>
Order Allow,Deny
Allow from all
</Directory>


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
CustomLog /var/log/httpd/access_log combined

LogLevel info
ErrorLog /var/log/httpd/error_log

<VirtualHost *:80>
DocumentRoot /home/www/mainroot
</VirtualHost>

Listen 443

<IfModule mime.c>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfModule>

SSLPassPhraseDialog builtin
SSLSessionCache shm:/usr/local/apache2/logs/ssl_cache_shm
SSLSessionCacheTimeout 600
SSLMutex file:/usr/local/apache2/logs/ssl_mutex
SSLRandomSeed startup file:/dev/urandom 1024
SSLRandomSeed connect file:/dev/urandom 1024

<VirtualHost bv.miltonstreet.com:433>
DocumentRoot "/home/www/subversion"
ServerName bv.<domain>.com
SSLEngine on
#SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
#SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP:+eNULL
SSLCipherSuite HIGH:MEDIUM
SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache2/conf/ssl.crt/server.key
SSLOptions +StrictRequire
SSLProtocol -all +TLSv1 +SSLv3
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>

  Réponse avec citation
Vieux 29/01/2007, 16h36   #2
Jeff Long
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache + ssl: client denied by server configuration

sam wrote:
> I am trying to get SSL up and running on my new apache server. The
> server starts up just fine and serves up regular pages on port 80, but
> when I direct it towards the SSL port, Firefox give me an error:
>
> "bv.<domain>.com has sent an incorrect or unexpected message.
> Error Code: -12263"
>
> When I look at the apache error log, I get this:
>
> client denied by server configuration: /usr/local/apache2/htdocs/
>
> what is strange is that I am not using /usr/local/apache2/htdocs/
> anywhere in the httpd.conf file. I have searched and searched the
> config file for htdocs and it simply is not there. Any thoughts?


> Listen 443
>
> <IfModule mime.c>
> AddType application/x-x509-ca-cert .crt
> AddType application/x-pkcs7-crl .crl
> </IfModule>
>
> SSLPassPhraseDialog builtin
> SSLSessionCache shm:/usr/local/apache2/logs/ssl_cache_shm
> SSLSessionCacheTimeout 600
> SSLMutex file:/usr/local/apache2/logs/ssl_mutex
> SSLRandomSeed startup file:/dev/urandom 1024
> SSLRandomSeed connect file:/dev/urandom 1024
>
> <VirtualHost bv.miltonstreet.com:433>


This should be port 443 to begin with.

It is possible that running 'apachectl configtest' might have found this.

Jeff Long
  Réponse avec citation
Vieux 29/01/2007, 16h36   #3
Jeff Long
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache + ssl: client denied by server configuration

sam wrote:
> I am trying to get SSL up and running on my new apache server. The
> server starts up just fine and serves up regular pages on port 80, but
> when I direct it towards the SSL port, Firefox give me an error:
>
> "bv.<domain>.com has sent an incorrect or unexpected message.
> Error Code: -12263"
>
> When I look at the apache error log, I get this:
>
> client denied by server configuration: /usr/local/apache2/htdocs/
>
> what is strange is that I am not using /usr/local/apache2/htdocs/
> anywhere in the httpd.conf file. I have searched and searched the
> config file for htdocs and it simply is not there. Any thoughts?


> Listen 443
>
> <IfModule mime.c>
> AddType application/x-x509-ca-cert .crt
> AddType application/x-pkcs7-crl .crl
> </IfModule>
>
> SSLPassPhraseDialog builtin
> SSLSessionCache shm:/usr/local/apache2/logs/ssl_cache_shm
> SSLSessionCacheTimeout 600
> SSLMutex file:/usr/local/apache2/logs/ssl_mutex
> SSLRandomSeed startup file:/dev/urandom 1024
> SSLRandomSeed connect file:/dev/urandom 1024
>
> <VirtualHost bv.miltonstreet.com:433>


This should be port 443 to begin with.

It is possible that running 'apachectl configtest' might have found this.

Jeff Long
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h18.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10383 seconds with 11 queries