Apache

Jiri B. jiri.b at sendmail.cz
Mon Oct 18 01:58:13 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

wnt at centrum.cz napsal(a):
| Ahoj,
| Snazim se zkonfigurovat apache tak, aby pri zadani adresy napriklad
| http://www.domena.cz doslo klasicky k nesifrovane komunikaci na portu
| 80, kdyz bych zadal napriklad https://admin.domena.cz tak aby
| kominikace byla sifrovana. Problem je, ze kdyz jsem zprovoznil HTTPS
| tak pri zadani klasickeho http:// se mi zobrazi hlaska:
| Bad Request
| Your browser sent a request that this server could not understand.
| Reason: You're speaking plain HTTP to an SSL-enabled server port.
| Instead use the HTTPS scheme to access this URL, please.
| Hint: https://admin.domena.cz/
|
| Apache/2.0.50 (Unix) PHP/5.0.0 mod_ssl/2.0.50 OpenSSL/0.9.7d Server
| at
| admin.domena.cz Port 443
| Uz jsem z toho ovsem zoufaly, protoze nevim kde muzu delat chybu.
| Soubor ssl.config obsahuje jen:
| SSLRandomSeed startup builtin
| SSLRandomSeed connect builtin
| <IfDefine SSL>
| Listen 127.0.0.1:443
| AddType application/x-x509-ca-cert .crt
| AddType application/x-pkcs7-crl    .crl
| SSLPassPhraseDialog  builtin
| SSLSessionCache         dbm:/usr/local/apache2/logs/ssl_scache
| SSLSessionCacheTimeout  300
| SSLMutex  file:/usr/local/apache2/logs/ssl_mutex
| ##
| ## SSL Virtual Host Context
| ##
| <VirtualHost 127.0.0.1>
| DocumentRoot "/www/_services/mysql"
| ServerName mysql.domena.cz
| ServerAdmin root at domena.cz
| ErrorLog /usr/local/apache2/logs/error_log
| TransferLog /usr/local/apache2/logs/access_log
| SSLEngine on
| SSLCipherSuite
| ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
| SSLCertificateFile /usr/local/apache2/conf/certs/mysql.domena.crt
| SSLCertificateKeyFile /usr/local/apache2/conf/certs/mysql.domena.pem
| </VirtualHost>
| </IfDefine>

nemelo by tam byt neco takoveho? dle tveho docrootu...

<Directory /www/_services/mysql/admin>
~    SSLRequireSSL
</Directory>

jirib

- --
mail: jiri.b at sendmail.cz | jabber: jiri.b at njs.netlab.cz
IRCnet/EFnet/SILCnet: jirib | ICQ: 261273235
GPGfingerprint: 21A1 8E02 CDF0 DCAA B385  A253 EF0C F1CE B618 8EAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBcwcV7wzxzrYYjqsRAg31AKDFqQcLXWut2y621f/MV5ako1bwdACeN8nv
7ecf5Uy5SIZz7siTg4JW3hA=
=hZ6H
-----END PGP SIGNATURE-----



More information about the Users-l mailing list