View Single Post
  #25  
Old 23rd February 2009, 23:24
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It had one created originally, didn't start. I tried copying the GoDaddy cert as also mentioned. I then clicked the thing to Create Certificate, created it's own and I tried to restart apache but wouldn't. Here is my Vhost files:

8bitclassics.com.vhost
Code:
<VirtualHost 172.21.152.31:80>
      DocumentRoot /var/www/8bitclassics.com/web

    ServerName 8bitclassics.com
    ServerAlias www.8bitclassics.com
    ServerAdmin webmaster@8bitclassics.com

    ErrorLog /var/log/ispconfig/httpd/8bitclassics.com/error.log

    ErrorDocument 400 /error/400.html
    ErrorDocument 401 /error/401.html
    ErrorDocument 403 /error/403.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 405 /error/405.html
    ErrorDocument 500 /error/500.html
    ErrorDocument 503 /error/503.html

    <Directory /var/www/8bitclassics.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@8bitclassics.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web2/tmp
    php_admin_value session.save_path /var/clients/client1/web2/tmp
    #php_admin_value open_basedir /var/clients/client1/web2:/usr/share/php5

php_admin_value memory_limit 64M
</VirtualHost>


<IfModule mod_ssl.c>
###########################################################
# SSL Vhost
###########################################################

<VirtualHost 172.21.152.31:443>
      DocumentRoot /var/www/8bitclassics.com/web

    ServerName 8bitclassics.com
    ServerAlias www.8bitclassics.com
    ServerAdmin webmaster@8bitclassics.com

    ErrorLog /var/log/ispconfig/httpd/8bitclassics.com/error.log

    ErrorDocument 400 /error/400.html
    ErrorDocument 401 /error/401.html
    ErrorDocument 403 /error/403.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 405 /error/405.html
    ErrorDocument 500 /error/500.html
    ErrorDocument 503 /error/503.html

    SSLEngine on
    SSLCertificateFile /var/clients/client1/web2/ssl/8bitclassics.com.crt
    SSLCertificateKeyFile /var/clients/client1/web2/ssl/8bitclassics.com.key
    SSLCACertificateFile /var/clients/client1/web2/ssl/8bitclassics.com.bundle

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@8bitclassics.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web2/tmp
    php_admin_value session.save_path /var/clients/client1/web2/tmp
    #php_admin_value open_basedir /var/clients/client1/web2:/usr/share/php5

php_admin_value memory_limit 64M
</VirtualHost>
</IfModule>
default

Code:
NameVirtualHost *
NameVirtualHost *:80
<VirtualHost *>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
Reply With Quote