Current time: 11-23-2024, 05:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
Install SSL certificate to a customer domain
Author Message
Diego Offline
Junior Member
*

Posts: 30
Joined: Sep 2009
Reputation: 0
Post: #5
RE: Install SSL certificate to a customer domain
Hello kilburn, sorry for bring this up again, it's just that I did everything you said, a thought it's not working as expected.
Here is my .conf file
Quote:NameVirtualHost 188.40.134.xxx:443

<VirtualHost 188.40.134.xxx:443>

# SSL Directives
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/example.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/example.com.key

<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>

ServerAdmin admin@example.com
DocumentRoot /var/www/virtual/example.com/htdocs

ServerName example.com
ServerAlias http://www.example.com example.com *.example.com

Alias /errors /var/www/virtual/example.com/errors/

RedirectMatch permanent ^/ftp([\/]?) http://admin.example.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http://admin.example.com/pma/
RedirectMatch permanent ^/webmail([\/]?) http://admin.example.com/webmail/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

<IfModule mod_cband.c>
CBandUser example.com
</IfModule>

# httpd awstats support BEGIN.

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /stats http://localhost/stats/example.com
ProxyPassReverse /stats http://localhost/stats/example.com

<Location /stats>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=example.com&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain example.com"
AuthUserFile /var/www/virtual/example.com/.htpasswd
AuthGroupFile /var/www/virtual/example.com/.htgroup
Require group statistics
</Location>

# httpd awstats support END.

# httpd dmn entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/example.com/cgi-bin/
<Directory /var/www/virtual/example.com/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry cgi support END.

<Directory /var/www/virtual/example.com/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/example.com/:/var/www/virtual/example.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/example.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/example.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/example.com/
<Directory "/var/www/fcgi/example.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/example.com/htdocs>
FCGIWrapper /var/www/fcgi/example.com/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/example.com">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.

Include /etc/apache2/ispcp/example.com.conf

</VirtualHost>

thanks for your time
(This post was last modified: 04-08-2010 10:08 AM by Diego.)
04-07-2010 03:09 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Install SSL certificate to a customer domain - Diego - 04-07-2010 03:09 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)