The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Apache + ssl несколько вопросов, !*! Umka, 11-Дек-05, 21:09  [смотреть все]
Настроил Apache 1.3... создал вирутальный сервер и включил поддержку ssl.
URL https://www.servername.ru/index.htm работает, а URL
https://www.servername.ru/guzilla/index.cgi не открывается, говорит, что "The requested URL /bugzilla/index.cgi was not found on this server."

Настройки из апача

<Directory "/var/www/servername.ru/bugzilla">
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
</Directory>

<VirtualHost ip-address>
    ServerAdmin webmaster@servername.ru
    ServerAdmin webmaster@servername.ru
    DocumentRoot /var/www/servername.ru
    ServerName www.servername.ru
    ErrorLog /var/log/httpd/servername.ru-error_log
    CustomLog /var/log/httpd/servername.ruaccess_log common

    SSLEngine on
    SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
    SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
    SSLCACertificatePath /etc/httpd/conf/ssl.crt
    SSLCARevocationPath /etc/httpd/conf/ssl.crl
    SSLVerifyClient none
    SSLVerifyDepth 10

    SSLOptions +ExportCertData +StrictRequire
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    SetEnvIf Request_URI \.gif$ gif-image
    CustomLog /var/log/httpd/ssl_request_log \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image
</VirtualHost>


Поле того как я добаил поддержку ssl для первого вртуалного сервера у меня перестал работать второй вирутальный сервер, говорит, что

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.

Вот настройка второго вирутального сервера, там ssl поддержки нет
<VirtualHost ip-address>
    ServerAdmin webmaster@servername1.ru
    ServerAdmin webmaster@servername1.ru
    DocumentRoot /var/www/servername1.ru
    ServerName www.servername1.ru
    ErrorLog /var/log/httpd/servername1.ru-error_log
    CustomLog /var/log/httpd/servername1.ruaccess_log common
</VirtualHost>

Где я ошибся?




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру