Hi friends, İ am using Proxy balancer in order to apache balances the load among two portal servers(jboss)
But in access_log i see below erros: 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/themes/renewal/por tal_style.css HTTP/1.1" 404 241 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/js/modal.js HTTP/1 .1" 404 221 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-identity/style.css HTTP 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/themes/renewal/portal_style.css HTTP/1.1" 404 241 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/js/modal.js HTTP/1.1" 404 221 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-identity/style.css HTTP/1.1" 404 223 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-core/css/modal.css HTTP/1.1" 404 223 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-ajax/dyna/prototype.js HTTP/1.1" 404 227 10.10.0.74 - - [16/Jul/2009:11:07:24 +0300] "GET /portal HTTP/1.1" 200 15100 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-ajax/dyna/effects.js HTTP/1.1" 404 225 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-ajax/dyna/dragdrop.js HTTP/1.1" 404 226 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-ajax/dyna/dyna.js HTTP/1.1" 404 222 10.10.0.74 - - [16/Jul/2009:11:07:34 +0300] "GET /portal-ajax/dyna/style.css HTTP/1.1" 404 224 So i couldt see the thmes and colours.. When i go to directly (by port number) to portal, i see everything successfully.. What might be the problems? Do you have any idea? _____ From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Thursday, July 16, 2009 7:36 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] SSL cert for alias too Of course it works if you do it right. 1. Outside ssl virtual host: RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ HYPERLINK "https://www.domain.com"https://www.domain.com$1 [R=301,L] 2. Inside the ssl virtual host: <VirtualHost _default_:443> ServerName HYPERLINK "http://domain.com"domain.com ServerAlias HYPERLINK "http://www.domain.com"www.domain.com RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ HYPERLINK "https://www.domain.com"https://www.domain.com$1 [R=301,L] . . . SSLEngine on SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /usr/local/apache2/conf/ssl.crt/www.domain.crt SSLCertificateKeyFile /usr/local/apache2/conf/ssl.crt/unencrypted.key SSLCACertificateFile /usr/local/apache2/conf/ssl.crt/intermediatecrt.crt . . . </VirtualHost> It works for me for sure don't see any reason why it shouldn't work for you? Cheers, Igor On Thu, Jul 16, 2009 at 7:00 AM, Aaron Turner <HYPERLINK "mailto:synfina...@gmail.com"synfina...@gmail.com> wrote: On Wed, Jul 15, 2009 at 12:34 PM, <HYPERLINK "mailto:rank1see...@gmail.com"rank1see...@gmail.com> wrote: > I did a redirect, that works both for http and https. But still... > Request for HYPERLINK "http://domain.com" \ndomain.com just BEFORE redirect to HYPERLINK "http://www.domain.com" \nwww.domain.com, > Issues warning in browser and in my apache error log I get line: > [warn] RSA server certificate wildcard CommonName (CN) `*.HYPERLINK "http://domain.com" \ndomain.com' does > NOT match server name!? > > After AND IF client ignores warning, he gets redirecteted properly > > What now? > SSL cert for each, as SSL wildcard doesn't work in this case. You need two certs. HYPERLINK "http://www.domain.com" \nwww.domain.com and HYPERLINK "http://domain.com" \ndomain.com. Redirect won't work in this case because it is done at the HTTP layer and the SSL handshake occurs before the GET request. -- Aaron Turner HYPERLINK "http://synfin.net/" \nhttp://synfin.net/ HYPERLINK "http://tcpreplay.synfin.net/" \nhttp://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:HYPERLINK "http://httpd.apache.org/userslist.html" \nhttp://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: HYPERLINK "mailto:users-unsubscr...@httpd.apache.org"users-unsubscr...@httpd.apache.or g " from the digest: HYPERLINK "mailto:users-digest-unsubscr...@httpd.apache.org"users-digest-unsubscr...@h ttpd.apache.org For additional commands, e-mail: HYPERLINK "mailto:users-h...@httpd.apache.org"users-h...@httpd.apache.org Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009 6:01 AM Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009 6:01 AM Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir. Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir. Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views.