[users@httpd] apache2: mod_cache: the order of CacheEnable and CacheDisable

2005-06-13 Thread john doe
By reading the apach2 doc, it's not clear what would happen if a mixture of CacheEnable and CacheDisable is present in the conf file. Consider the following two examples: Example1: CacheEnable / CacheDisable /cgi Example2: CacheDisable /cgi CacheEnable / In either case, is /cgi

[users@httpd] Unescaping proxied URLs (httpd 1.3)

2005-06-13 Thread David Adam
Hi everyone, We're running Apache HTTPD 1.3.33 on a Debian-stable server (although we do have a server on 2.0.54 if that will make things easier), and I'm attempting to set up a reverse proxy but keep running into trouble with URL escapes. A server on a nearby subnet is causing big problems for u

[users@httpd] apache2: mod_cache: no X-Cache header

2005-06-13 Thread john doe
I just migrated from Apache 1.3 to Apache2 through Debian Sarge. I use mod_proxy/mod_cache/mod_disk_cache for reverse proxying. To my surprise, X-Cache is no longer being produced. Is this a supposed behavior? How can one calculate hit/miss ratio then? -jd

[users@httpd] Forbid Directory Listings

2005-06-13 Thread Jack Stone
I've just moved to Apache-2.0.54 from Apache-1.33x on FBSD-5.4 There is one feature that the Apache-1.33 appears to have by default I liked, but is not yet working for me on Apache-2.0x and I have looked at my configs & the archives until my head is exploding for the knob(s). The feature in A

Re: [users@httpd] Error at installing apache.rpm

2005-06-13 Thread Craig Dunigan
On Tue, 14 Jun 2005, Andreas Bauer wrote: > Hello! > > Installing apache rpm file: apache2-2.0.50-7.2.i586.rpm from Suse Server: > ftp://ftp.gwdg.de/pub/linux/suse/suse_update/9.2/rpm/i586, > > I got errormessage of missing libaries: > > apache2-MPM not available > libapr0 not available > libap

[users@httpd] POSTing to non-executable file

2005-06-13 Thread Stephen Carville
Is there a good way for a client program to check for the existance of a file on a remote server before attempting a download? Kind of an http version of the ls command. We have a software program that checks for the existance of a file by doing an empty POST to the URL. This works with apach

Re: [users@httpd] still content negotiation problems

2005-06-13 Thread Joshua Slive
On 6/13/05, Marco Scoffier <[EMAIL PROTECTED]> wrote: > I'm using OpenBSD's apache (which does not have many "standard" modules > compiled): > > compiled mod_negotiation and mod_mime (which I am not 100% sure is needed): >cd /usr/scr/usr.sbin/httpd/modules/standard >apxs -i -a -c mod_

[users@httpd] Error at installing apache.rpm

2005-06-13 Thread Andreas Bauer
Hello!   Installing apache rpm file: apache2-2.0.50-7.2.i586.rpm from Suse Server: ftp://ftp.gwdg.de/pub/linux/suse/suse_update/9.2/rpm/i586, I got errormessage of  missing libaries:   apache2-MPM not available libapr0 not available libapr.0.so.0 not available libaprutil-0.so.0 not

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-06-13 Thread Gary W. Smith
This will work just fine.  Thanks.  I would redirect / to Exchange normally but it actually sends them somewhere else right now.    Gary From: Axel-Stéphane SMORGRAV [mailto:[EMAIL PROTECTED]Sent: Mon 6/13/2005 12:49 AMTo: users@httpd.apache.orgSubject: RE: [EMAIL PROTECTED] Rewrite /

Re: [users@httpd] How to limit php script execution to a select path only ?

2005-06-13 Thread Rich
Example: php_admin_value open_basedir /htdocs/bla/bla1/:/htdocs/bla/bla2/ This will limit PHP execution to the two paths specified. NOTE: 1) The paths MUST be absolute from root, or the chroot of apache if appropriate - it SHOULD be appropriate :-) 2) The paths can not be symlinks - they m

[users@httpd] How to limit php script execution to a select path only ?

2005-06-13 Thread Maxim Vexler
Hello everyone. Sorry for the newbies question, I would have searched for it myself if it wasn't that urgent. Could you please demonstrate or provide a helpful link on how to limit script execution (php in this case) to a selected number of path's (phpBB2 & mysqladmin in this case) Thank you. Ap

[users@httpd] still content negotiation problems

2005-06-13 Thread Marco Scoffier
Hello, I am stuck, I've read a lot of docs, and still it doesn't work. I am trying to set up a site which will serve pages in french and english. I have read the pages at http://httpd.apache.org/docs/content-negotiation.html http://httpd.apache.org/docs/mod/mod_mime.html#addlanguage http:

RE: [users@httpd] Fw: signal Bus error with apache Apache/2.0.54 with SSL pages

2005-06-13 Thread charles_e_borton
OK - I tired a new setting in my mail client - let me know if this comes as plain text. Responses are in-line. And here is new chain of thought: After studying Ethereal traces taken during the problem, this problem appears to occur anytime my browser attempts to re-use the SSL session ID. I hav

[users@httpd] ApacheCon Europe 2005 - Early Bird registration runs out June 17.

2005-06-13 Thread Joshua Slive
[Feel free to forward this on to anyone interested.] ApacheCon Europe 2005 - Early Bird registration runs out June 17. ApacheCon Europe 2005 July 18-22, 2005 Stuttgart, Germany Only a few days to save money! By registering prior to June 17 you can save more than 200 EUR! More pricing specials su

RE: [users@httpd] ProxyPassReverseCookieDomain

2005-06-13 Thread Axel-Stéphane SMORGRAV
I patched mod_proxy.c, mod_proxy.h and proxy_http.c from 2.0.54 with patch id 11915 without any problem. It also compiled like a charm and so far it does not seem to break anything else. I'll do additional testing over the next few weeks. Reverse proxying is really important to me, so I've give

Re: [users@httpd] how to alter and use environmanet vaaiables with mod_rewrite

2005-06-13 Thread Tilman Baumann
This is my final Version. It runs perfect after some changes. Thank you. RewriteEngine on RewriteLog /var/log/apache/rewrite_log RewriteLogLevel 2 # Initialise an environment variable with some stuff RewriteCond %{ENV:DN}="" RewriteRule .* - [E=DN:%{LA- U:SS

RE: [users@httpd] ProxyPassReverseCookieDomain

2005-06-13 Thread Axel-Stéphane SMORGRAV
Thanks, Nick In the meantime I will try to apply your patch to 2.0.54 -ascs -Original Message- From: Nick Kew [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 1:08 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] ProxyPassReverseCookieDomain Axel-Stéphane SMORGRAV w

Re: [users@httpd] Auto Index

2005-06-13 Thread Ian Stuart
Manoj Kumar Neelapareddy wrote: > Hi, > > I have installed Apache/2.0.54 with > enable-feature=autoindex option. > > but still it couldn't generate autoindex for any > directory I'd like to clarify what you wish to see here... autoindex is the thing that gives you what looks like a directory lis

RE: [EMAIL PROTECTED] mod_proxy question: multiple cache setting

2005-06-13 Thread Axel-Stéphane SMORGRAV
I have not tried this myself, but judging from the documentation for mod_disk_cache, it should work. The CacheRoot directive is allowed in a Virtual Host context. This should be fairly easy to try for yourself. Why don't you let us know when you have? -ascs -Original Message- From: jo

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-06-13 Thread Axel-Stéphane SMORGRAV
What about this:   If the URL does not start by /[Ee]xchange the user is redirected to /Exchange... I also suggest that if the user requests the root path /, he gets redirected to /Exchange   RewriteRule ^/$ /Exchange [R]   RewriteCond $1 !^/[Ee]xchange RewriteRule (.*) /Exchange [R]   The a

RE: [users@httpd] Fw: signal Bus error with apache Apache/2.0.54 with SSL pages

2005-06-13 Thread Boyle Owen
You must've missed my earlier plea for plain text... I can't inline quote HTML mail. Did you cross reference the errors to the access log and find they were caused by requests for GIFs? How are the GIFs obtained - from a file on a local disk or by some magic (DB access, generation by a script

RE: [EMAIL PROTECTED] apache-ssl authentication trouble after switch to debian sarge

2005-06-13 Thread Boyle Owen
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Johannes Graumann > Sent: Samstag, 11. Juni 2005 01:22 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] apache-ssl authentication trouble > after switch to > debian sarge > > > Dear all, > > I don't seem to b

[users@httpd] WORKER Model of Apache + Killing Forked Process????

2005-06-13 Thread RAJESH SEGU
Hello GUys! I am running APACHE2 as worker thread model under linux and during my 'pre-mpm' process I am forking a scheduler for my requirement. I use apr_pool_note_subprocess() to register the process in the pool for cleanup, but alas! so many times I tried in failure. Hope there is someother me