Edward,

***.***.***.38 needs to be the machine's internal ip address

----  http.conf ----
~snip~
ServerRoot "/etc/httpd"
~snip~
Listen 80
#
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
~snip~
ServerName randerson
~snip~
DocumentRoot "/home/httpd/riskanalyticsinc/ramain"
~snip~
<Directory "/home/httpd/riskanalyticsinc/ramain">
~snip~
<VirtualHost ***.***.***.38:80>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/httpd/riskanalyticsinc/ramain
    ServerName randerson
    JkMount /*.xsp ajp13
    JkMount /*.xxsp ajp13
    JkMount /*.xml ajp13
    Alias /clients "/home/httpd/riskanalyticsinc/clients"
    Alias /ramain "/home/httpd/riskanalyticsinc/ramain"
</VirtualHost>
#
#
# Definition for the localhost
#
<VirtualHost 127.0.0.1>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/httpd/riskanalyticsinc/ramain
    ServerName localhost
    Alias /clients "/home/httpd/riskanalyticsinc/clients"
    Alias /ramain "/home/httpd/riskanalyticsinc/ramain"
</VirtualHost>

---- end http.conf ----
---- ssl.conf ----
~snip~
Listen 443
~snip~
<VirtualHost ***.***.***.38:443>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/httpd/riskanalyticsinc/ramain
    ServerName randerson
    JkMount /*.xsp ajp13
    JkMount /*.xxsp ajp13
    JkMount /*.xml ajp13
    Alias /clients "/home/httpd/riskanalyticsinc/clients"
    Alias /ramain "/home/httpd/riskanalyticsinc/ramain"
    SSLEngine on
    SSLCertificateFile /etc/httpd/conf/randerson.crt
    SSLCertificateKeyFile /etc/httpd/conf/randerson.key
</VirtualHost>
##
## SSL Virtual Host Context
##
<VirtualHost _default_:443>

#  General setup for the virtual host
DocumentRoot "/var/www/html"
ServerName new.host.name:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
~snip~
</VirtualHost>           
---- end ssl.conf ----

Sincerely,
-Rachel



On Fri, 2007-09-21 at 23:54, [EMAIL PROTECTED] wrote:
> Dear All,
> 
> Is there an sample config as the title ?
> 
> Thanks !
> 
> Edward.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to