Hi!
I'm using Apache 2.2.3. and SLES 10.
I configured a virtual server with SSL, wich works properly.
Now I want to redirect users browsing "domain.de" to "http
s://domain.de" instead of "http://domain.de".
Thats my VirtualServer-Config to realize it:
|
Code:
|
<VirtualHost 10.10.123.113:443>
DocumentRoot "/srv/www/meinedomain.de/htdocs"
<Directory "/srv/www/meinedomain.de/htdocs">
allow from all
Options +Indexes
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/meinedomain.de.cert
SSLCertificateKeyFile /etc/ssl/meinedomain.de.key
</VirtualHost>
<VirtualHost 10.10.123.123:80>
Redirect / "https://10.10.123.123:443"
</VirtualHost> |
When I'm browsing "10.10.123.123" I get the following Error-Site:
|
Code:
|
Bad request!
Your browser (or proxy) sent a request that
this server could not understand.
If you think this is a server error, please contact
the webmaster.
Error 400
bogus_host_without_reverse_dns
Fri Jan 16 11:09:16 2009
Apache/2.2.3 (Linux/SUSE) |
In the Errorlog, I can't find anything, just in the Accesslog the following:
|
Code:
|
10.10.123.007 - - [19/Jan/2009:09:44:45 +0100] "GET /" 400 979 "-" "-" |
Does anyone have an idea what the reason of my problems could be?
Best Regards
Max