Hi,

I'm trying to get Apache 2 to work with SSL to set up an https server. I
presume I am getting something wrong.

When I try to access the site the connection times out and I get:
[Mon Jan21 12:53:11 2002] [error] [client 127.0.0.1] Invalid method in request
written to the log file

I have attached a copy of my http.conf file




-- 
==================================================
              Laurie Robert Young
[EMAIL PROTECTED]  |       [EMAIL PROTECTED]
www.wildfalcon.com     |  www.doc.ic.ac.uk/~laurie
              ICQ UIN #20194782
==================================================

###########DSO Modules##################
# LoadModule foo_module modules/mod_foo.so



###########Server Wide Config#########
ServerRoot "/homes/laurie/bin/apache2"
PidFile logs/httpd.pid
Timeout 300
Listen 8080
Listen 443

User laurie

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0


<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         150
MaxRequestsPerChild  0
</IfModule>

<IfModule threaded.c>
StartServers         3
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>


#########Default Server Config
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "/homes/laurie/bin/apache2/htdocs"

DirectoryIndex index.html

TypesConfig conf/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>

ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log combined

<Directory />
    Options FollowSymLinks
    AllowOverride None
    DirectoryIndex index.html   
    Order allow,deny
    Allow from all
</Directory>

Alias /manual "/homes/laurie/bin/apache2/manual"

<Directory "/homes/laurie/bin/apache2/manual">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>




<VirtualHost 146.169.4.13:443>
DocumentRoot /homes/laurie/bin/apache2/ssldocs
ServerName stone.doc.ic.ac.uk
ServerAdmin [EMAIL PROTECTED]
ErrorLog /homes/laurie/bin/apache2/logs/ssl_error_log
CustomLog logs/ssl_access_log combined

SSLEngine on
SSLProtocol all
SSLCertificateFile /homes/laurie/bin/apache2/keys/server.crt
SSLCertificateKeyFile /homes/laurie/bin/apache2/keys/server.key
</VirtualHost>








Reply via email to