RE: mod_ssl

2005-02-01 Thread Mike Fratto
Title: Message



What 
version of Apache and mod_ssl are you using? Are you trying to compile it in 
static or are you using DSO? Need more details. 
 
If 
your unclear about the above, read this for a quick overview (if you haven't 
already) http://www.modssl.org/docs/2.8/ssl_overview.html
-Original Message-From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Plantier, 
SpencerSent: Tuesday, February 01, 2005 8:03 AMTo: 
modssl-users@modssl.orgSubject: mod_ssl

  I cant get ssl to work. 
  
  I did a search on my 
  httpd.conf and it has (IfModule mod_ssl.c)
      
  Include conf/ssl.conf
    
  (/IfModule)
  And when I do a httpd 
  –l I get:
  Compiled in 
  modules:
    
  core.c
    
  mod_access.c
    
  mod_auth.c
    
  mod_include.c
    
  mod_log_config.c
    
  mod_env.c
    
  mod_setenvif.c
    
  prefork.c
    
  http_core.c
    
  mod_mime.c
    
  mod_status.c
    
  mod_autoindex.c
    
  mod_asis.c
    
  mod_cgi.c
    
  mod_negotiation.c
    
  mod_dir.c
    
  mod_imap.c
    
  mod_actions.c
    
  mod_userdir.c
    
  mod_alias.c
    
  mod_so.c
  Spencer Plantier
  System Network 
  Administrator
   
  301 Gregson 
  Dr
  Cary, NC  
  27511
  Office 
  919-379-8513
  Cell    
  919-272-8833
  [EMAIL PROTECTED]
  


RE: Enable/disable SSL in virutal hosts

2005-01-12 Thread Mike Fratto
>Hi Mike,
>
>Thanks for the information.  You've provided more information than most 
>posters, including corroboration that the server is reading the 
>configuration file.

Dave, thanks for responding. Actually, about 20 minutes after I posted the
request for help, I realized that if I defined a directory in the virtual
host for port 80, and and denied access to SSL connection, it worked.

Now to find out why I am not getting email from this list. Grrr.

mike

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


Enable/disable SSL in virutal hosts

2004-12-31 Thread Mike Fratto
I am trying to configure apache 1.3.33 with modssl2.8.22-1.3.33 on a virual
host but only for a specific directory. I have SSL working for the doc root
for various virtual hosts. I have read through the mod_ssl docs, and
O'Reilly's Apache guide, but I haven't been able to get it to work. 

Specifically, for the servername sam, when a browser hits the DocumentRoot,
I want to ensure that SSL is not invoked (just for performance reasons) but
when a user hits /admin, then SSL must be invoked. I have tried various
tweaks to no avail (the virtual host section is below). I know that I am
using the correct httpd.conf file because when I fat finger a directive, and
stop and start apache, I get an error. Changes to SSLEngine off|on seem to
have no effect.

Any ideas, thanks.


NameVirtualHost 192.168.10.50:80



# Disable SSL first
SSLEngine off


SSLEngine off
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/htdocs
ServerName storage
ErrorLog logs/error_log
CustomLog logs/access_log combined



SSLEngine off
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/sam
ServerName sam
ErrorLog logs/sam_error_log
CustomLog logs/sam_access_log combined



SSLEngine on
ServerName sam
DocumentRoot /www/sam
SSLCertificateFile /www/conf/ssl.crt/sam.cert
SSLCertificateKeyFile /www/conf/ssl.key/sam.key
SSLVerifyClient 0
ErrorLog logs/sam_error_log
CustomLog logs/sam_access_log combined


SSLRequireSSL
SSLOptions +StrictRequire
#   AuthType basic
#   AuthName admin
#   AuthUserFile /www/auth/admin-users
#   AuthGroupFile /www/auth/groups
#   require valid-user




SSLDisable
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/mike
ServerName mike
ErrorLog logs/mike_error_log
CustomLog logs/mike_access_log combined


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]