why apache gives http 404?

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

 



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:icicimov@xxxxxxxxx]
Sent: Thursday, July 16, 2009 7:36 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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 ^(.*)$ https://www.domain.com$1 [R=301,L]


2. Inside the ssl virtual host:

<VirtualHost _default_:443>
ServerName  domain.com
ServerAlias www.domain.com

RewriteEngine On
RewriteCond %{SERVER_PORT}  ^80$
RewriteRule ^(.*)$ 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 <synfinatic@xxxxxxxxx> wrote:

On Wed, Jul 15, 2009 at 12:34 PM, <rank1seeker@xxxxxxxxx> wrote:
> I did a redirect, that works both for http and https. But still...
> Request for domain.com just BEFORE redirect to www.domain.com,
> Issues warning in browser and in my apache error log I get line:
> [warn] RSA server certificate wildcard CommonName (CN) `*.domain.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.  www.domain.com and domain.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
http://synfin.net/
http://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: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

 

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.


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


[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