[EMAIL PROTECTED] mod_proxy sends reverse proxy request twice

2008-11-26 Thread Ryan Warnick
It looks like for Apache 2.2.10 on Windows, mod_proxy sends reverse proxy requests twice. I've verified this using two different packet sniffers. I also tracked the problem to the 'WSAsend' winsock call. If you alter the APR to use the 'send' winsock API call instead of the WSAsend call, then th

Re: [EMAIL PROTECTED] configuring disk cache look-up before proxying

2008-11-26 Thread Eric Covener
On Wed, Nov 26, 2008 at 4:40 PM, Peter Michaux <[EMAIL PROTECTED]> wrote: > The back end server caches files in two different places and I would > like Apache to look in those two places and only proxy if the cached > file cannot be found. For example, a request to Insead of ProxyPass, use mod_re

[EMAIL PROTECTED] configuring disk cache look-up before proxying

2008-11-26 Thread Peter Michaux
I have Apache set up with the following as the first virtual host. Since the first host is the default, this gives me mass hosting behavior. Also the back-end server running on port 3000 sees the original request Host header which it needs to see. ServerName example.com ProxyPass / http://loc

Re: [EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread Brian Munroe
On Wed, Nov 26, 2008 at 12:50 PM, André Warnier <[EMAIL PROTECTED]> wrote: > It prints absolutely the full configuration, even directives I did not even > know I had (probably the defaults assumed by Apache for some things). > Only works if you have mod_perl though. > This being said, since I do h

Re: [EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread André Warnier
André Warnier wrote: Brian Munroe wrote: On Wed, Nov 26, 2008 at 8:21 AM, André Warnier <[EMAIL PROTECTED]> wrote: John Clement wrote: I was serious when I asked about mod_perl. Have a look here : http://perl.apache.org/docs/2.0/api/Apache2/Directive.html and particularly at use Data::Dumper;

Re: [EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread André Warnier
Brian Munroe wrote: On Wed, Nov 26, 2008 at 8:21 AM, André Warnier <[EMAIL PROTECTED]> wrote: John Clement wrote: I was serious when I asked about mod_perl. Have a look here : http://perl.apache.org/docs/2.0/api/Apache2/Directive.html and particularly at use Data::Dumper; print Dumper $tree-

Re: [EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread Brian Munroe
On Wed, Nov 26, 2008 at 8:21 AM, André Warnier <[EMAIL PROTECTED]> wrote: > John Clement wrote: >> >> I accidentally removed a .conf file from the conf.d directory. >> >> I had hopes that I could get the config back using httpd -S, but it >> seemingly only shows sites defined in the files that are

Re: [EMAIL PROTECTED] Kerberos issues

2008-11-26 Thread Carsten Aulbert
Eric Covener wrote: > On Wed, Nov 26, 2008 at 9:07 AM, Carsten Aulbert > <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> we experience something weird here. We are running Apache 2.2.3 with >> mod_auth kerb 5.3 on Debian Etch. Authentication against a remote >> Kerberos server (V5) works but when I acc

[EMAIL PROTECTED] Need help in configuring caching of frequently downloaded file.

2008-11-26 Thread srinivasch
Hi I need some help in configuration or some snippet to help me in configuring my apache web server to cache frequently downloaded non static file from my application. each file has a different ID. I am totally new to this apache configuration, any help provided is deeply appreciated. Thanks S

Re: [EMAIL PROTECTED] quesiton for Apache url rewrite module

2008-11-26 Thread caesarkim
Yes. I want the latter. Tom Evans-3 wrote: > > On Wed, 2008-11-26 at 08:49 -0800, caesarkim wrote: >> I am trying to use url rewrite module, but i am not familar with it. >> >> I want to rewrite any request (http://localhost/clusterjsp/*.jsp) to be >> http://localhost/*.jsp. >> >> Can anybo

Re: [EMAIL PROTECTED] quesiton for Apache url rewrite module

2008-11-26 Thread Tom Evans
On Wed, 2008-11-26 at 08:49 -0800, caesarkim wrote: > I am trying to use url rewrite module, but i am not familar with it. > > I want to rewrite any request (http://localhost/clusterjsp/*.jsp) to be > http://localhost/*.jsp. > > Can anybody tell me how to do this? > > Thanks. > > To clarify,

[EMAIL PROTECTED] quesiton for Apache url rewrite module

2008-11-26 Thread caesarkim
I am trying to use url rewrite module, but i am not familar with it. I want to rewrite any request (http://localhost/clusterjsp/*.jsp) to be http://localhost/*.jsp. Can anybody tell me how to do this? Thanks. -- View this message in context: http://www.nabble.com/quesiton-for-Apache-url-re

Re: [EMAIL PROTECTED] How to connect from a remote machine

2008-11-26 Thread Morgan Gangwere
steve wrote: hi, no problem. depending on what your going to use the server for you may not need a static ip. my isp STARTS at $299 month!!! for a "business plan" that provides static ip's, you cant get them without a business plan, yeah tw sucks. anyway, my ip has changed once in 10 years, wh

Re: [EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread André Warnier
John Clement wrote: I accidentally removed a .conf file from the conf.d directory. I had hopes that I could get the config back using httpd -S, but it seemingly only shows sites defined in the files that are still there and not a great deal of detail at that. Apache is still running, is there a

Re: [EMAIL PROTECTED] Kerberos issues

2008-11-26 Thread Eric Covener
On Wed, Nov 26, 2008 at 9:07 AM, Carsten Aulbert <[EMAIL PROTECTED]> wrote: > Hi all, > > we experience something weird here. We are running Apache 2.2.3 with > mod_auth kerb 5.3 on Debian Etch. Authentication against a remote > Kerberos server (V5) works but when I access web pages with a lot of >

[EMAIL PROTECTED] mod_rewrite proxiing is extremly slow

2008-11-26 Thread Berthold Höllmann
pgpckuYkeBtBs.pgp Description: PGP signature

Re: [EMAIL PROTECTED] mod_rewrite subrequests or last rules within

2008-11-26 Thread Peter Kehl
Eric, thank you. Now I see it's mentioned at http://httpd.apache.org/docs/2.0/rewrite/rewrite_tech.html mentions that 'in per-directory context mod_rewrite first rewrites the filename... and then initiates a new internal sub-request with the new URL. This restarts processing of the API phases.'

[EMAIL PROTECTED] Kerberos issues

2008-11-26 Thread Carsten Aulbert
Hi all, we experience something weird here. We are running Apache 2.2.3 with mod_auth kerb 5.3 on Debian Etch. Authentication against a remote Kerberos server (V5) works but when I access web pages with a lot of (embedded) images, several pop-ups appear, asking me to identify myself again. Since

RE: [EMAIL PROTECTED] Combining caching and rewrites

2008-11-26 Thread Tamer Embaby
Wi, Apache mod_cache hooks itself before mod_rewrite (APR_HOOK_FIRST vs. APR_HOOK_MIDDLE), so the cache will get called first, if content doesn't exist, request will be passed to next handler which is mod_rewrite, which will handle getting the page, then Apache will CACHE_SAVE the response so that

[EMAIL PROTECTED] recovering a .conf file

2008-11-26 Thread John Clement
I accidentally removed a .conf file from the conf.d directory. I had hopes that I could get the config back using httpd -S, but it seemingly only shows sites defined in the files that are still there and not a great deal of detail at that. Apache is still running, is there any way of dumping out

Re: [EMAIL PROTECTED] mod_rewrite subrequests or last rules within

2008-11-26 Thread Eric Covener
> rewriter log says it rewrites to /index.php first (1st rule) and then > it rewrites it to /set_cookie.php (2nd rule). I thought [L] and [NS] > should stop any further rules. What am I missing? In per-directory context, any time you make a change the entire cycle is restarted -- 'L' only applies

Re: [EMAIL PROTECTED] Need help regarding rewrite error

2008-11-26 Thread amar4kintu
Hello Krist, I need some more help. Following is my httpd.conf file. === ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the

Re: [EMAIL PROTECTED] Need help regarding rewrite error

2008-11-26 Thread Krist van Besien
On Wed, Nov 26, 2008 at 7:00 AM, amar4kintu <[EMAIL PROTECTED]> wrote: > > > I tried with url http://10.104.70.2/certilogo/index You problem is that you have your rewrites in your .htaccess. This causes internal processing to start over again after the rewrite, and this can cause loops. [L] really

[EMAIL PROTECTED] mod_rewrite subrequests or last rules within

2008-11-26 Thread Peter Kehl
Hi. My goal was: if URI contains cuckoo, no matter what cookies, then show /index.php. Otherwise if the user hasn't got BREEZESESSION cookie set, then show /set_cookie.php. I've got it working inside but outside : ServerAdmin [EMAIL PROTECTED] DocumentRoot "/Users/peterk/demo_project/con

[EMAIL PROTECTED] httpd 1.3 - Adding module after compilation

2008-11-26 Thread Dermot
Hi, I tried to install a modperl enabled httpd but got stuck. So I used the cpan Bundle::Apache. That process asked if I wanted to make/install httpd for me. I agreed but it did so without adding support for mod_alias and mod_rewrite which I am pretty sure I will need later on. I still have the so