[us...@httpd] mod_cache bypass homedir, any solution?

2009-03-20 Thread anywhe...@gmail.com
Hello, As many of you may know mod_cache does not cache directory index files, this can be fixed with mod_rewrite but homedir seems to be impossible to be cached. The following rules cache the folders but not the homedir: DirectorySlash Off RewriteEngine On RewriteCond %{REQUEST_URI} ([^\.*]) Rewr

[us...@httpd] Re: After seven years, any solution for mod_cache and homedir?

2009-03-20 Thread anywhe...@gmail.com
Does anyone know? Thanks in advance On Mon, Mar 16, 2009 at 4:51 PM, anywhe...@gmail.com wrote: > Hello, > > As many of you may know mod_cache does not cache directory index > files, this can be fixed with mod_rewrite but homedir seems to be > impossible to be cached. The following rules cache t

[us...@httpd] [PHP] Apache question

2009-03-20 Thread Ernie Kemp
Help in advance. Sometime when I run the program http://localhost/DigitalBiz4U/index.php in a browser this message come up and the page is not displayed. "Apache HTTP Server stopped working and was closed" message on screen. Apache version: Apache2.2.11 PHP version: 5.2.8 OS: Vista

[us...@httpd] performance scalability - good read

2009-03-20 Thread Anthony J. Biacco
If anybody wants a good read on web server scalability across multiple processor cores, just found at random: http://www.cse.wustl.edu/ANCS/2007/papers/p57.pdf on a similar topic, I've been looking at kernel settings lately, maxconn, backlog, rmem, etc.. and wondered if anybody had some good refer

[us...@httpd] Re: CGI Child Process Question

2009-03-20 Thread Lihet Ruben
I am talking about heavy work, something that will take about 5-10 minutes, and so the user can cancel the job. What I want is this: does apache send any signal to my cgi script in order to kill it ? -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Dan Poirier Sent: F

[us...@httpd] Re: CGI Child Process Question

2009-03-20 Thread Dan Poirier
"Lihet Ruben" writes: > The most > important thing is I want to know if the person has downloaded the file > completely or canceled the download. So I thought that is the user cancels > the script, the program dies, I cannot log what happened. Problem: your script might have already sent its en

Re: [us...@httpd] Application design

2009-03-20 Thread Nick Kew
On Fri, 20 Mar 2009 11:17:13 -0400 Brian Mearns wrote: > > I'm not sure content-transfer-encoding is the right header, I think > just Content-encoding is what you want. Otherwise, that should work I > think, but it requires that people's browsers support zip encoding, > which mine, for instance

Re: [us...@httpd] Selective Caching in Apache...

2009-03-20 Thread William A. Rowe, Jr.
Tony Anecito wrote: Hi All, Can Apache selectively cache files based on extension? I know some admins may have given up on caching because they cached entire pages that are dyanmically built which causes problems. If they could cache the images, css, js files that are used by those same pages

[us...@httpd] Re: how to prevent mp3 downloading ?

2009-03-20 Thread Jonesy
On Fri, 20 Mar 2009 18:37:16 +0530, J. Bakshi wrote: <- snip -> > there is a > flash plugin which plays the mp3 online. But the source of the page > shows the link and if you place the link in the browser the browser > downloads it. I like to stop it. Just how the bloody hell do y

[us...@httpd] Selective Caching in Apache...

2009-03-20 Thread Tony Anecito
Hi All, Can Apache selectively cache files based on extension? I know some admins may have given up on caching because they cached entire pages that are dyanmically built which causes problems. If they could cache the images, css, js files that are used by those same pages that would be more a

[us...@httpd] CGI Child Process Question

2009-03-20 Thread Lihet Ruben
Hello, My name is Lihet Ruben, I'm new to this mailing list. I have a question about a CGI script I want to make. So, this is the scenario. The CGI script will serve content to users (like a file download) but I have to keep track of many other things. The most important thing is I want to know i

RE: [us...@httpd] Application design

2009-03-20 Thread Jorge Medina
But I would argue that disk space is cheaper than decompressing files on the server for every request. 8-) -Original Message- From: Brian Mearns [mailto:mearn...@gmail.com] Sent: Friday, March 20, 2009 11:17 AM To: users@httpd.apache.org; a...@ice-sa.com Subject: Re: [us...@httpd] Appli

Re: [us...@httpd] Application design

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 10:46 AM, André Warnier wrote: > Hi. > > For once, I'd like to pump the collective knowledge and accumulated wisdom > of the gurus on the list. > > I run a document management application, from which users can retrieve > documents (ms-office, pdf, etc..) through a web appli

[us...@httpd] Application design

2009-03-20 Thread André Warnier
Hi. For once, I'd like to pump the collective knowledge and accumulated wisdom of the gurus on the list. I run a document management application, from which users can retrieve documents (ms-office, pdf, etc..) through a web application. From the user point of view, documents are accessed vi

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread Bruno - e-comBR
If your flash object plays the mp3, it needs to download it. So, if it needs to download it, you cannot prevent its download. What you should try to do to make hard to download your mp3 files is to create an CGI or PHP script which downloads the file, and another which "authorizes" the download, a

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 8:53 AM, André Warnier wrote: > J. Bakshi wrote: >> >> Eric Covener wrote: >>> >>> On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi >>> wrote: >>> Dear list, I have a .htaccess ( copied from the some tutorials available in internet ) to disable site grab

[us...@httpd] Re: how to prevent mp3 downloading ?

2009-03-20 Thread Dan Poirier
"J. Bakshi" writes: > Eric Covener wrote: >> On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi wrote: >> >>> Dear list, >>> >>> I have a .htaccess ( copied from the some tutorials available in >>> internet ) to disable site grabbers like wget, curl, httrack etc... >>> and I have tested that thes

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread Mark H. Wood
On Fri, Mar 20, 2009 at 01:53:25PM +0100, André Warnier wrote: > You could replace the links to the mp3 files by a button or a link, which > when clicked opens another window where the user needs to input something > before the download starts. The input is often some kind of image of a > text,

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread J. Bakshi
André Warnier wrote: > J. Bakshi wrote: >> Eric Covener wrote: >>> On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi >>> wrote: >>> Dear list, I have a .htaccess ( copied from the some tutorials available in internet ) to disable site grabbers like wget, curl, httrack etc..

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread André Warnier
J. Bakshi wrote: Eric Covener wrote: On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi wrote: Dear list, I have a .htaccess ( copied from the some tutorials available in internet ) to disable site grabbers like wget, curl, httrack etc... and I have tested that these tools are not able to down

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread J. Bakshi
Eric Covener wrote: > On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi wrote: > >> Dear list, >> >> I have a .htaccess ( copied from the some tutorials available in >> internet ) to disable site grabbers like wget, curl, httrack etc... >> and I have tested that these tools are not able to downloa

[us...@httpd] APR does not understand this error code: proxy: read response failed

2009-03-20 Thread Jakob Ericsson
Hi, We are experiencing issues with AJP-communication between the httpd and Tomcat 6. This is communication between httpd and tomcat on localhost. Most of the requests work great in our performance tests but quite randomly we see this error in httpd error.log: ... [Wed Mar 18 21:47:09 2009] [erro

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread Eric Covener
On Fri, Mar 20, 2009 at 7:16 AM, J. Bakshi wrote: > Dear list, > > I have a .htaccess ( copied from the some tutorials available in > internet ) to disable site grabbers like wget, curl, httrack etc... > and I have tested that these tools are not able to download anything > from my site.  nice

[us...@httpd] how to prevent mp3 downloading ?

2009-03-20 Thread J. Bakshi
Dear list, I have a .htaccess ( copied from the some tutorials available in internet ) to disable site grabbers like wget, curl, httrack etc... and I have tested that these tools are not able to download anything from my site. nice so far. But If I put the mp3 link available at my site direc

Re: [us...@httpd] Reducing js file sizes...

2009-03-20 Thread Brian Mearns
On Fri, Mar 20, 2009 at 3:49 AM, André Warnier wrote: > Brian Mearns wrote: >> >> On Thu, Mar 19, 2009 at 4:30 PM, Tony Anecito wrote: >>> >>> Hi All, >>> >>> Does anyone know of a module that would strip out the js file comments? >>> Would be a great thing to have. >>> >>> Thanks, >>> -Tony >>>

Re: [us...@httpd] XSS vulnerability in default (debian etch installation)?

2009-03-20 Thread matti matti
Hi, 404 Not FoundNot FoundThe requested URL /alert('test'); was not found on this server. The installation is not default, but only mod_jk, AddDefaultCharset and virtualhosts has been edited. On Fri, Mar 20, 2009 at 9:27 AM, Krist van Besien wrote: > On Thu, Mar 19, 2009 at 9:47 PM, matti mat

Re: [us...@httpd] XSS vulnerability in default (debian etch installation)?

2009-03-20 Thread Krist van Besien
On Thu, Mar 19, 2009 at 9:47 PM, matti matti wrote: > Hi, > > If I do in firefox try: > http://hostname/%3CScRipT%20%3Ealert(%27test%27)%3B%3C%2FScRipT%20%3E > > I get a popup with the text "test", and a: > > Not Found > > The requested URL / was not found on this server. > > I havent got many mod

Re: [us...@httpd] Reducing js file sizes...

2009-03-20 Thread André Warnier
Brian Mearns wrote: On Thu, Mar 19, 2009 at 4:30 PM, Tony Anecito wrote: Hi All, Does anyone know of a module that would strip out the js file comments? Would be a great thing to have. Thanks, -Tony Not aware of a module specifically, but there are a number of programs with and without so