Vincent Bray wrote:
On 06/12/2007, Johan Andersson <johan@xxxxxxxxx> wrote:But I have problems to get Apache to understand that it should use https:// instead of http://, for example: If I request https://server/dir Apache tries to redirect the browser to http://server/dir (as it doesn't know the browser acctually used https:// to begin with). Any idea how I force Apache 2.2.6 to use https:// instead of http://?I think you might want the Protocol directive, but it's not documented yet so I can't be sure. Just for giggles, try Protocol https and see if a) your server starts and b) it gets you anywhere closer to fixing the problem. If either, please reply and I'll try and documented it :-)
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. /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