httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Richardson" <james.richard...@db.com>
Subject RE: [users@httpd] How can i minimise the hitts of weblogic server for the static sources.
Date Thu, 14 Apr 2005 15:04:28 GMT
As far as I know you can do this:

 

Map some URL to the Weblogic apache plugin, and some other URL to a
filesystem.. Make sure that your static files all live under a common base
URL (for an easier life)

 

Pseudo-config.

 

<Location /foo>

  WeblogicPlugin

</Location>

 

<Location /foo/static>

  Serve from filesystem

</Location>

 

I may be wrong, I've never done this.

 

Cheers

 

James

 

 

  _____  

From: praveens_chinnu@yahoo.com [mailto:praveens_chinnu@yahoo.com] 
Sent: 14 April 2005 15:51
To: users@httpd.apache.org
Subject: Re: [users@httpd] How can i minimise the hitts of weblogic server
for the static sources.

 

Hai what i want convey is same exactly in this artcle. I have already send
one mail about this. Let plz check this article and let me know is ther
any way to do........In this article he has given performence measurements
also..........

 

http://www-106.ibm.com/developerworks/websphere/techjournal/0211_brown/bro
wn.html

regs,

praveen.
Laura Vance <vancel@winfreeacademy.com> wrote:

It sounds like you're talking about a cache issue. Does your server 
have a setting that is telling the browser to not cache anything? Does 
client browsing your site have their browser cache turned off? Even 
with it all turned off, you'll still get log entries, but it will be a 
different result (304 - ) instead of (200 ). The 304 code 
tells the browser that the file is in their cache. The only thing this 
does is saves on the file transfer. 

You will always get the log entries, because apache is set up to log 
everything. If you could turn your logs off, then when you needed to 
see something, nobody would be able to help you. Accurate detailed logs 
are very important... you could even say they are critical.

rajas kumar wrote:

> Hai thanx, but I think this is the way to creating custom logs. I dont 
> wa! nt to do as u mentioned because its internally hits the server each 
> time when we send request. Is there any other why to stop hitting 
> weblogic server for the satic files(jif,images,jsscripts) plz tell 
> me.......
>
> */Eimantas Vaihi{nas /* wrote:
>
> On Wednesday 13 April 2005 04:11, rajas kumar wrote:
> > This is my acces log of weblogic. Each time i given request for
> images and
> > jsscripts access log should not be come in the picture. Below
> log which
> > shows for jsp pages as well as images and jsscripts. For images and
> > jsscripts i dont want to hit the weblogic server how can do the
> configure
> > to avoid hitting for the images and jsscripts.
>
> It's possible to tell apache NOT to log certain file types. Use
> SetEnvIf
> directive and then 'env=' parameter of CustomLog directive for
> OTHER file> types. I.e.:
> ---
> SetEnvIf Request_URI "\.gif$" static
> SetEnvIf Request_URI "\.jpg$" static
> SetEnvIf Request_URI "\.css$" static
> SetEnvIf Request_URI "\.js$" static
>
> CustomLog /path/to/log/file logFormat env=!static
> ---
>
>
> -- 
> Eimantas Vaihi{nas
> VU Skaihiavimo centras
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

-- 
Thanks,
Laura Vance
Systems Engineer
Winfree Academy Charter Schools
6221 Riverside Dr. Suite 110
Irving, Tx 75039
Web: www.winfreeacademy.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

  _____  

size=1 width="100%" align=center> 

Do you Yahoo!?
Yahoo! Small Business - Try
<http://us.rd.yahoo.com/evt=31637/*http:/smallbusiness.yahoo.com/resources
/>  our new resources site! 


Mime
View raw message