Hi auch: Bastian Schern wrote:
Bernd Tannenbaum schrieb:
Hallo auch:
Bräuchte etwas genauere Angaben, um dir Hints geben zu können. Habe selbst Apache mit SSL laufen klappt prima, allerdings unter 7.2.
[...]
Also, Hast du den Apache selbst kompiliert oder Paket verwendet? Ich habe das Paket von der SuSE 8.0 DVD installiert: apache-1.3.23-137
Hast du den Apache mit SSL gestartet (apachectl startssl)? Ich starte ihn immer mir "rcapache start": es:~/config # rcapache restart Starting httpd [ PERL PHP4 Python susehelp ] done Ich vermute mal das SSL nicht gestartet wird.
Welche Fehlermeldung bekommst du (Log-Auszug?) es:~/config # tail /var/log/httpd/rcapache.log Syntax OK
es:~/config # tail -100 /var/log/httpd/error_log [...] [Thu Oct 24 23:52:48 2002] [notice] Apache/1.3.23 (Unix) mod_python/2.7.8 Python/2.2 PHP/4.1.0 mod_perl/1.26 configured -- resuming normal operations [Thu Oct 24 23:52:48 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Oct 24 23:52:48 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[...]
DocumentRoot "/usr/local/httpd/htdocs" <Directory /> AuthUserFile /etc/httpd/passwd AuthGroupFile /etc/httpd/group Options -FollowSymLinks +Multiviews AllowOverride None </Directory>
Okay.
Ich hab den Apache selbst kompiliert und unter SuSE 7.2, da hab ich mit
SuSE-Config und son Kram nix am Hut. Aber ich habe in meine Conf
folgendes eintragen müssen:
Order allow,deny Allow from all <IfModule mod_dav.c> DAV Off </IfModule> Options -FollowSymLinks +Includes +MultiViews </Files> <Files test.php3> Order deny,allow deny from all allow from localhost </Files> </Directory> <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.shtm index.php </IfModule> AccessFileName .htaccess Order allow,deny Deny from all Satisfy All </Files> UseCanonicalName Off <IfModule mod_mime.c> TypesConfig /etc/httpd/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile /etc/httpd/magic </IfModule> HostnameLookups Off <IfModule mod_backhand.c> UnixSocketDir /var/lib/backhand SetHandler backhand-handler </Location> </IfModule> ErrorLog /var/log/httpd/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/httpd/access_log common ServerSignature On <IfModule mod_alias.c> Alias /icons/ "/usr/local/httpd/icons/"
Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /manual/ "/usr/local/httpd/htdocs/manual/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/" <IfModule mod_perl.c> ScriptAlias /perl/ "/usr/local/httpd/cgi-bin/" ScriptAlias /cgi-perl/ "/usr/local/httpd/cgi-bin/" </IfModule> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> AllowOverride None Options +ExecCGI -Includes SetHandler cgi-script </Location> <IfModule mod_perl.c> Perlrequire /usr/include/apache/modules/perl/startup.perl PerlModule Apache::Registry SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI PerlSendHeader On </Location> SetHandler perl-script PerlHandler Apache::PerlRun Options ExecCGI PerlSendHeader On </Location> </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ AddDescription "GZIP compressed document" .gz AddDescription "tar archive" .tar AddDescription "GZIP compressed tar archive" .tgz ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# RCS CVS *,v *,t </IfModule> <IfModule mod_mime.c> AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 <IfModule mod_negotiation.c> LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw </IfModule> AddType application/x-tar .tgz <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfModule> <IfModule mod_php4.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfModule> <IfModule mod_dtcl.c> AddType application/x-httpd-tcl .ttml AddType application/x-dtcl-tcl .tcl </IfModule> AddType text/vnd.wap.wml wml AddType text/vnd.wap.wmlscript wmls AddType application/vnd.wap.wmlc wmlc AddType application/vnd.wap.wmlscriptc wmlsc Addtype image/vnd.wap.wbmp wbmp AddHandler cgi-script .cgi AddType text/html .shtml AddHandler server-parsed .shtml </IfModule> <IfModule mod_setenvif.c> BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> <IfDefine STATUS> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location> SetHandler server-info Order deny,allow Deny from all Allow from localhost </Location> <IfModule mod_perl.c> SetHandler perl-script PerlHandler Apache::Status order deny,allow deny from all allow from localhost </Location> </IfModule> </IfDefine> <IfDefine SSL> AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl </IfDefine> <IfModule mod_ssl.c> SSLPassPhraseDialog builtin SSLSessionCache dbm:/var/run/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/var/run/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog /var/log/httpd/ssl_engine_log SSLLogLevel info </IfModule> <IfDefine SSL> <VirtualHost _default_:443> DocumentRoot "/usr/local/httpd/htdocs" ServerName es.universe ServerAdmin webmaster@schern.de ErrorLog /var/log/httpd/error_log TransferLog /var/log/httpd/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /usr/share/ssl/private/schern.de_cert.pem SSLCertificateKeyFile /usr/share/ssl/private/schern.de_cert-key.pem SSLCACertificatePath /usr/share/ssl/private SSLCACertificateFile /usr/share/ssl/private/schern.de_cert_req.pem SSLOptions +StdEnvVars </Files> SSLOptions +StdEnvVars </Directory> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog /var/log/httpd/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> </IfDefine> Include /etc/httpd/suse_include.conf --- snap ---