<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=Big5" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tim wrote:<br>
<blockquote
cite="mid1190442513.2733.95.camel@bigblack.lan.cameratim.com"
type="cite">
<pre wrap="">Tim:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Have you looked at: <a class="moz-txt-link-freetext" href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Edward:
</pre>
<blockquote type="cite">
<pre wrap="">Yes, but I want to know which title is suitable for us ( me ) ?
<a class="moz-txt-link-freetext" href="http://httpd.apache.org/docs/2.2/vhosts/examples.html">http://httpd.apache.org/docs/2.2/vhosts/examples.html</a>
</pre>
</blockquote>
<pre wrap=""><!---->
Only you could know that. The page does outline different ways of doing
things for different circumstances. You'd have to look through them and
choose which applied to you.
That page only deals with virtual hosts. You want to look at the SSL
pages. And you'll find out that virtual named based hosts and HTTPS
don't mix.
</pre>
</blockquote>
As the title is okay for me ?<br>
<h2><a id="purename" name="purename">Running several name-based web
sites on a single IP address.</a></h2>
<br>
<blockquote
cite="mid1190442513.2733.95.camel@bigblack.lan.cameratim.com"
type="cite">
<blockquote type="cite">
<pre wrap="">And I want to try a sample config from this forum....
</pre>
</blockquote>
<pre wrap=""><!---->
You'll probably get the sample one as comes with Fedora.
</pre>
</blockquote>
Just planning the config as the following:<br>
<code><br>
</code>Listen 80<br>
Listen 443<br>
<pre wrap="">NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin <a class="moz-txt-link-abbreviated"
href="mailto:you.me@domain.com">you.me@domain.com</a>
ServerName <a class="moz-txt-link-abbreviated"
href="http://www.domain.com">www.domain.com</a>
Redirect permanent / <a class="moz-txt-link-freetext"
href="https://www.domain.com/">https://www.domain.com/</a>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /my/doc-root/for/https/
ServerName <a class="moz-txt-link-abbreviated"
href="http://www.domain.com">www.domain.com</a>
ServerAdmin <a class="moz-txt-link-abbreviated"
href="mailto:you.me@domain.com">you.me@domain.com</a>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
        SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
        nokeepalive ssl-unclean-shutdown \
        downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
So...Is it okay ?
Edward.
</pre>
</body>
</html>