Create an account    
 home  
 
Web www.thaihealth.net
  You are here:> home>topics> linux for newbies > ตัวอย่าง httpd.conf ในกรณี apache-ssl 1.3.xx ©
ตัวอย่าง httpd.conf ในกรณี apache-ssl 1.3.xx
Posted on Tuesday, October 07 @ 13:37:12 GMT+7 by admin

linux for newbies ตัวอย่างการconfig ให้สามารถใช้ได้ทั้ง http ธรรมดา และ https บนเครื่องเดียวกัน สำหรับ apache-ssl version 1.3.xx

# Note: The following directives are only required if session
# cacheing is enabled (the default from 1.17). To disable
# cacheing, make sure the following is set in apache_ssl.c
#
#define CACHE_SESSIONS          FALSE

SSLCacheServerPath /www/bin/gcache
SSLCacheServerPort /www/cache/ssl.fictional.co.cache.socket
SSLSessionCacheTimeout 300

# end conditional section

DocumentRoot /www/hosts/ssl.fictional.co/docs  
TransferLog /www/hosts/ssl.fictional.co/logs/access.log                
SSLLogFile /www/hosts/ssl.fictional.co/logs/ssl.log                 
ErrorLog /www/hosts/ssl.fictional.co/logs/error.log                
PidFile /www/logs/httpsd.pid      


# and a non-SSL one...

<VirtualHost www.fictional.co:80>     
SSLDisable
Port 80
DocumentRoot /www/hosts/www.fictional.co/docs  
TransferLog /www/hosts/www.fictional.co/logs/access.log
ErrorLog /www/hosts/www.fictional.co/logs/error.log
</VirtualHost>


# and another SSL one... (this one does client-cert
# authentication)

<VirtualHost another-ssl.fictional.co:443>
Port 443
SSLVerifyClient 2
SSLVerifyDepth 10
SSLCertificateKeyFile /www/certs/another-ssl.fictional.co.key
SSLCertificateFile /www/certs/another-ssl.fictional.co.cert 
SSLCACertificateFile /www/certs/another-CA.cert
DocumentRoot /www/hosts/another-ssl.fictional.co/docs  
TransferLog /www/hosts/another-ssl.fictional.co/logs/access.log
SSLLogFile /www/hosts/another-ssl.fictional.co/logs/ssl.log
ErrorLog /www/hosts/another-ssl.fictional.co/logs/error.log
</VirtualHost>


blog this


blog this

More about linux for newbies
· apache 2.0.54 has come, see the changes2005-06-25 13:20:47
· apache 2.0.49 released. Try!2004-03-23 12:27:38
· New Linux Server project2003-07-17 11:13:23

Comment Post
1  by
on Sunday, March 16 @ 19:40:30 GMT+7
منتديات [f.jsoftj.com]

Read the rest of this comment...


2  by gaila
on Saturday, January 26 @ 07:56:10 GMT+7
free wallpaper [gallery.newsit.es]


3  by
on Monday, April 14 @ 16:18:40 GMT+7
مسجات1

Read the rest of this comment...




Your Name:

[ New User ]

Subject:


Comment:

Allowed HTML:
<b> <i> <a> <em> <br> <strong> <blockquote> <tt> <li> <ol> <ul>
Security code:



T news tweak
 

       Sponsored Links
       Related Links
· More about linux for newbies
· News by admin


Most read story about linux for newbies:
 New Linux Server project(4466)

       Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


       Options

 Printer Friendly  Printer Friendly

 Send to a Friend  Send to a Friend

News ©

เล่นเกมส์ arcade games free!

main sitethaihealth | home | forums | downloads | topics

Seo from our desk thai seo
Web site engine code is Copyright © 2003 by PHP-Nuke.Copyright 2007 Thaihealth and pattaya doctor
Page Generation: 0.230 Seconds

Theme developed by WebDesignHQ.com Modified By DoctorNUKE