Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Running an HTTPS Website
Results 1 to 3 of 3

Thread: Running an HTTPS Website

  1. #1

    Running an HTTPS Website

    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.

  2. #2

    Re:Running an HTTPS Website

    Are you getting anything noteworthy showing up in any of the files in /var/log/httpd ?

  3. #3

    Re:Running an HTTPS Website

    [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.



Similar Threads

  1. Transparent Proxy with HTTPS
    By zAm in forum Linux - General Topics
    Replies: 1
    Last Post: 12-16-2008, 03:44 PM
  2. HTTPS Webpages Problem
    By zAm in forum Linux - General Topics
    Replies: 0
    Last Post: 12-05-2005, 02:12 AM
  3. apache + https
    By mla in forum Linux - General Topics
    Replies: 2
    Last Post: 10-25-2003, 04:55 AM
  4. running remote command, then leave it running
    By Blaqb0x in forum Linux - General Topics
    Replies: 1
    Last Post: 10-03-2003, 10:36 PM
  5. Apache & HTTPS
    By mcdougrs in forum Linux - General Topics
    Replies: 3
    Last Post: 04-26-2002, 11:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •