Are you getting anything noteworthy showing up in any of the files in /var/log/httpd ?
Hi Linux Gurus,
I have configured and run phpopenchat on my apache webserver. The installation went smoothly without any problem.
I am thinking of running the service on HTTPS on port 443. I made a Virtual entry on my httpd.conf but cant make the service run.
httpd.conf
## SSL Virtual Host Context
#
NameVirtualHost 20x.xxx.xx.x:443
<VirtualHost 20x.xxx.xx.x:443>
ServerAdmin user@domain.com
ServerName home.domain.com
DocumentRoot "/home/httpd/htdocs"
...
Alias /phpopenchat/ "/home/httpd/htdocs/phpopenchat/"
<Directory "/home/httpd/htdocs/phpopenchat">
AllowOverride None
Options +FollowSymlinks
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/httpd/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
TransferLog /var/log/httpd/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+e NULL
SSLCertificateFile /usr/share/ssl/certs/www.crt
SSLCertificateKeyFile /usr/share/ssl/private/www.key
SSLVerifyClient none
SSLVerifyDepth 10
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>
</IfModule>
The error shows:
The connection to www.domain.com has terminated unexpectedly some data has been transferred.
Are there any more configurations and consideration on using HTTPS? Aside from the configs above?
Hope you can help me.
Thanks and more power.
Are you getting anything noteworthy showing up in any of the files in /var/log/httpd ?
[quote author=Tyr_7BE link=board=4;threadid=9275;start=0#msg83840 date=1085747090]
Are you getting anything noteworthy showing up in any of the files in /var/log/httpd ?
[/quote]
Here's what the logs shows:
Sat May 29 11:34:17 2004] [error] [client 2xx.xx.x.xx] client denied by server configuration: /home/httpd/htdocs/
[Sat May 29 11:37:06 2004] [info] removed PID file /var/run/httpd.pid (pid=10059)
[Sat May 29 11:37:06 2004] [notice] caught SIGTERM, shutting down
[Sat May 29 11:37:06 2004] [notice] Apache/2.0.48 (OpenNA Linux) configured -- resuming normal operations
[Sat May 29 11:37:06 2004] [info] Server built: Oct 30 2003 14:25:27
[Sat May 29 11:37:10 2004] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 12 idle, and 12 total children
[Sat May 29 11:37:10 2004] [error] [client 2xx.xx.x.xx] client denied by server configuration: /home/httpd/htdocs/
[Sat May 29 11:37:11 2004] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 20 idle, and 20 total children
[Sat May 29 11:38:19 2004] [error] [client 2xx.xx.x.xx] client denied by server configuration: /home/httpd/htdocs/
[Sat May 29 11:39:09 2004] [error] [client 2xx.xx.x.xx] client denied by server configuration: /home/httpd/htdocs/
Also, I have provided a Apache user authentication while accessiong on the following directory /home/httpd/htdocs
<Directory "/home/httpd/htdocs/">
Options None
AllowOverride AuthConfig
AuthName "Alster Restricted Area"
AuthType Basic
AuthDBMType DB
AuthDBMUserFile /etc/httpd/dbmpasswd
require valid-user
</Directory>
This authentication however, was working, before I thought of running my webpages on HTTPS.
What could be the problem? Hope you can help me.
Thanks and more power.
Bookmarks