Re: Apache server behind squid proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincent Bray wrote:
On 07/12/2007, Johan Andersson <johan@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux