httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Andersson <jo...@e-626.net>
Subject Re: [users@httpd] Apache server behind squid proxy
Date Sat, 08 Dec 2007 10:24:29 GMT
Vincent Bray wrote:
> On 07/12/2007, Johan Andersson <johan@e-626.net> wrote:
>> Sorry, didn't work. Apache won't start.
>> I get this in error_log:
>> [Fri Dec 07 19:42:56 2007] [info] Loading certificate & private key of
>> SSL-aware server
>> [Fri Dec 07 19:42:56 2007] [error] Server should be SSL-aware but has no
>> certificate configured [Hint: SSLCertificateFile]
>>
>> Seems like it tries to do SSL now.
> 
> Yeah, my bad. Protocol specifies the protocol to use in that context.
> 
> Going back to your original question, you should either get squid to
> fix the url in headers with whatever it's equivalent of
> ProxyPassReverse is, or specify
> 
> ServerName https://your.server.name/
> 
> .. in your vhost. I forgot that was possible.
> 
> See:
> 
> http://httpd.apache.org/docs/2.2/mod/core.html#servername
> .. and ..
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse
> .. for how apache would solve the problem, were it the proxy.
> 

Thanks, the ServerName https://your.server.name/ did it!

/Johan

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message