Apache2 just listening to https?

Uzi Klein uzi at bmby.com
Thu Jul 28 10:22:56 GMT 2005



Eirik Øverby wrote:
> On Jul 28, 2005, at 10:01 AM, Roger Grosswiler wrote:
> 
>>>
>>> Try adding port 80 to your Listen statement(s) in httpd.conf. Also  make
>>>
>> sure you have virtual hosts that capture requests on port 80.
>>
>>>
>>> /Eirik
>>>
>>>
>> i did a file called virtual.conf in /usr/local/etc/apache2/Include  with
>> this content:
>>
>> <VirtualHost *:80>
>> ServerName freebsd.domain.net
>> ServerAlias freebsd.domain.net
>> DocumentRoot /usr/local/www/data
>> </VirtualHost>
> 
> 
> Make sure you are not enabling SSL globally, but for each vhost  
> individually.

Actually, SSL can not be configured per name vhost. (or at least can not 
work)
Because SSL handshake is used before http headers, it just can't be done.


-Uzi

> Try the telnet trick mentioned by others, but simply type "GET / HTTP/ 
> 1.0" <ENTER><ENTER><ENTER> -- it should give you something about  trying 
> to talk HTTP to a HTTPS server. Would explain why lynx/links  aren't 
> working.
> 
> /Eirik
> 
>>
>> ...which should be loaded on startup. Also, i activated
>>
>> NameVirtualHost *:80
>>
>> in httpd.conf - still no success...whats up here? firewall is open,
>> redirecting on router is well...but still no success...
>>
>> :-( Roger
>>
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2757 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050728/46a14635/smime.bin


More information about the freebsd-stable mailing list