[EMAIL PROTECTED] mod_rewrite on 2.0.50

2006-10-03 Thread Sai Jai Ganesh Gurubaran
Hi, I am a newbie. We have set up Apache 2.0.50 as a forward proxy. Want to redirect a particular (external) page to our internal page. i.e. for http://www.abc.com/suggestions.htm to http://myanotherserver/suggestion.htm For this I tried mod_rewrite. The following code in the httpd.conf #Apache

Re: [EMAIL PROTECTED] mod_rewrite on 2.0.50

2006-10-03 Thread Nick Kew
On Tuesday 03 October 2006 08:43, Sai Jai Ganesh Gurubaran wrote: > Hi, > I am a newbie. > We have set up Apache 2.0.50 as a forward proxy. Why such an old version? > Want to redirect a particular (external) page to our internal page. > i.e. for http://www.abc.com/suggestions.htm to > http://mya

RE: [EMAIL PROTECTED] mod_rewrite on 2.0.50

2006-10-03 Thread Sai Jai Ganesh Gurubaran
Hi Nick, Answering your questions: 1. why 2.0.50?? That is the recommended version of the current application we are using is running on :(. Thanks for pointing out the security aspect of it. Ok, I got the definition of reverse and forward wrong :) But still my o

Re: [EMAIL PROTECTED] Re: sending .jpg on another box

2006-10-03 Thread Josiane BERNILLON
Mike - EMAIL IGNORED a écrit : On Mon, 02 Oct 2006 18:35:03 +0200, Josiane BERNILLON wrote: Mike - EMAIL IGNORED a écrit : I have two boxes on my intranet each running Apache 2.0 under FC4. My Linksys firewall directs port 80 to BoxA. Both boxes are also running iptables, including l

[EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Fabio Corazza
Hi everyone, we are using a CGI under Apache that is spawned under a different user through mod_suexec. Everything is fine except the verbosity of the suEXEC mechanism, which writes a notice for every request that is passed to the CGI: [2006-10-03 11:52:11]: uid: (501/tmctaux) gid: (501/501) cmd

Re: [EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Joshua Slive
On 10/3/06, Fabio Corazza <[EMAIL PROTECTED]> wrote: Hi everyone, we are using a CGI under Apache that is spawned under a different user through mod_suexec. Everything is fine except the verbosity of the suEXEC mechanism, which writes a notice for every request that is passed to the CGI: [2006

Re: [EMAIL PROTECTED] Force authentication

2006-10-03 Thread António Mota
Hi Nick, nive to ear from you... I took your sugestion and look at the access.log (i wouldn't think of that...) and i think the problem wath's not what i thought. As you know, my Apache server is used as a proxy reverse server, and it seems the problem is with that. Im my server i have a few pag

[EMAIL PROTECTED] A mod_gunzip for Apache 2.x ?

2006-10-03 Thread saf
Hello, I need a module which unzip gzipped files so that I can then use filters to filter out some data in this gzipped html files. Because when I have a test.html.gz file, the module should only gunzip *.html.gz files as OutputFilter to save performance. Then I can parse and change some conte

[EMAIL PROTECTED] Block wget attempts from my site

2006-10-03 Thread Norman Khine
Hello, What is the best way to block someone from ripping/mirroring stuff from my site with wget? Is there an Apache way to do this, have seen it done with .htaccess but perhaps there is a way to do this from Apache. mod-security, snort perhaps? How does this fit with VirtualHosts and can these

Re: [EMAIL PROTECTED] A mod_gunzip for Apache 2.x ?

2006-10-03 Thread Nick Kew
On Tuesday 03 October 2006 14:23, saf wrote: > Hello, > > I need a module which unzip gzipped files so that I can then use filters > to filter out some data in this gzipped html files. > > Because when I have a test.html.gz file, the module should only gunzip > *.html.gz files as OutputFilter to sa

Re: [EMAIL PROTECTED] Block wget attempts from my site

2006-10-03 Thread Nick Kew
On Tuesday 03 October 2006 14:17, Norman Khine wrote: > Hello, > > What is the best way to block someone from ripping/mirroring stuff from my > site with wget? Make your contents available in a convenient form, so users have no need of things like wget. Remember there are a lot of people on expen

Re: [EMAIL PROTECTED] A mod_gunzip for Apache 2.x ?

2006-10-03 Thread saf
On Tue, Oct 03, 2006 at 03:16:03PM +0100, Nick Kew wrote: > On Tuesday 03 October 2006 14:23, saf wrote: > > Hello, > > > > I need a module which unzip gzipped files so that I can then use filters > > to filter out some data in this gzipped html files. > > > > Because when I have a test.html.gz fil

RE: [EMAIL PROTECTED] Block wget attempts from my site

2006-10-03 Thread Boyle Owen
> -Original Message- > From: Norman Khine [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 03, 2006 3:17 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Block wget attempts from my site > > Hello, > > What is the best way to block someone from ripping/mirroring > stuff fr

Re: [EMAIL PROTECTED] A mod_gunzip for Apache 2.x ?

2006-10-03 Thread Neil A. Hillard
Hi, Nick Kew wrote: > On Tuesday 03 October 2006 14:23, saf wrote: >> I need a module which unzip gzipped files so that I can then use filters >> to filter out some data in this gzipped html files. >> >> Because when I have a test.html.gz file, the module should only gunzip >> *.html.gz files as O

Re: [EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Fabio Corazza
Joshua Slive wrote: > Those messages are generated within suexec and since suexec is not > run-time configurable (for security reasons) they are not > configurable. You would need to edit the source code and recompile > (being careful to heed the warnings about not messing with suexec > unless you

Re: [EMAIL PROTECTED] redirect and rewriting puzzle

2006-10-03 Thread Dan Buettner
Thanks Joshua. Worked out great. Dan Joshua Slive wrote: On 10/2/06, Dan Buettner <[EMAIL PROTECTED]> wrote: Launched a new site last week, built on Rails, Apache and mongrel. Now have collected a number of 404 errors from the logs, and wish to redirect them to the appropriate page in Rails.

Re: [EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Joshua Slive
On 10/3/06, Fabio Corazza <[EMAIL PROTECTED]> wrote: What it concerns me is: if I delete the logging of the transactions, will suEXEC be able to open the log file if any other error happens? Sorry, but I'm not going to give you advice on hacking suexec. The consequences if I made a mistake or

Re: [EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Fabio Corazza
Joshua Slive wrote: > On 10/3/06, Fabio Corazza <[EMAIL PROTECTED]> wrote: > >> What it concerns me is: if I delete the logging of the transactions, >> will suEXEC be able to open the log file if any other error happens? > > Sorry, but I'm not going to give you advice on hacking suexec. The > co

[EMAIL PROTECTED] combining AllowEncodedSlashes, reverse proxy, and apache 1.x

2006-10-03 Thread Matt Liggett
Introduction At Socialtext[1], we use, in many installations, Apache 2 (hereafter "front end") as a server for static content and a reverse proxy for Apache 1 with mod_perl (hereafter "back end"). It recently came up, in the course of developing a REST API[2], that we need to be able to han

Re: [EMAIL PROTECTED] suEXEC verbosity

2006-10-03 Thread Fabio Corazza
Fabio Corazza wrote: [snip] > Everything is fine except the verbosity of the suEXEC mechanism, which > writes a notice for every request that is passed to the CGI: [snip] With the help of a colleague we wrote a patch to get rid of excessive verbosity of suEXEC, for whom they intend to run it on hi

[EMAIL PROTECTED] Re: Re: sending .jpg on another box

2006-10-03 Thread Mike - EMAIL IGNORED
On Tue, 03 Oct 2006 11:25:34 +0200, Josiane BERNILLON wrote: [...] > I think it's true, but I never use it and could't help you on this topic. > I just give you a quick way to free space on your BoxA disk without > reconfiguring your Apaches servers > -- > Josiane > This is good, but in my

[EMAIL PROTECTED] Multiple search bases with mod_auth_ldap / Apache 2.0

2006-10-03 Thread James Gotner
Hello, I am wondering if there is a way to specify multiple AuthLDAPUrls using mod_auth_ldap. I have two AD domains that I need to authenticate against, but there are schema differences between where the users are stored on each domain. Thanks. Apache 2.0.55 on Ubuntu 6.06 Entries needed: ld

Re: [EMAIL PROTECTED] combining AllowEncodedSlashes, reverse proxy, and apache 1.x

2006-10-03 Thread Joshua Slive
I'm not really an expert in this stuff, but a couple comments anyway... On 10/3/06, Matt Liggett <[EMAIL PROTECTED]> wrote: AllowEncodedSlashes bug According to the docs[4], Allowing encoded slashes does not imply decoding. Occurrences of %2F or %5C (only on according systems) will

[EMAIL PROTECTED] how to comment out a large section in httpd.conf?

2006-10-03 Thread Bing Du
Hi, The document http://httpd.apache.org/docs/2.0/configuring.html says: == Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines that begin with the hash character "#" are considered comments, and are ignored. Comments may not be

Re: [EMAIL PROTECTED] how to comment out a large section in httpd.conf?

2006-10-03 Thread Joshua Slive
On 10/3/06, Bing Du <[EMAIL PROTECTED]> wrote: Hi, The document http://httpd.apache.org/docs/2.0/configuring.html says: == Directives in the configuration files are case-insensitive, but arguments to directives are often case sensitive. Lines that begin with the hash character "#" are considere

Re: [EMAIL PROTECTED] how to comment out a large section in httpd.conf?

2006-10-03 Thread Nick Kew
On Tuesday 03 October 2006 19:57, Bing Du wrote: > Hi, > > The document http://httpd.apache.org/docs/2.0/configuring.html says: > > == > Directives in the configuration files are case-insensitive, but arguments > to directives are often case sensitive. Lines that begin with the hash > character "#"

[EMAIL PROTECTED] preserving internal links on a rewrite

2006-10-03 Thread Michele Romano
Hello, I am having trouble with a RewriteRule and I was hoping someone can lead me in the right direction, as I haven't been able to track down an answer on my own. I am setting up a rewrite that includes a target (eg. http://www.somedomain.com/filename.cfm#locationOnPage to relocate to http

Re: [EMAIL PROTECTED] preserving internal links on a rewrite

2006-10-03 Thread Joshua Slive
On 10/3/06, Michele Romano <[EMAIL PROTECTED]> wrote: Hello, I am having trouble with a RewriteRule and I was hoping someone can lead me in the right direction, as I haven't been able to track down an answer on my own. I am setting up a rewrite that includes a target (eg. http://www.somedomain.c

Re: [EMAIL PROTECTED] preserving internal links on a rewrite

2006-10-03 Thread Michele Romano
thanks Joshua, you are correct, I don't see the fragment in the logs. that is really unfortunate that I can't do a redirect for a URL that has a fragment. Thanks, Michele - The official User-To-User support forum of the Apach

[EMAIL PROTECTED] Would like to use SSI for one particular file name instead of all types. IS that possible

2006-10-03 Thread Randy Paries
HelloI am running apache2i am trying to figure a way to use SSI based on the file name and not the file extension.I can make it work fine if i do AddOutputFilter INCLUDES .shtml or AddOutputFilter INCLUDES .htmlbut i do not want to rename all my files to .shtml and i do not want to parse all my

Re: [EMAIL PROTECTED] Would like to use SSI for one particular file name instead of all types. IS that possible

2006-10-03 Thread Joshua Slive
On 10/3/06, Randy Paries <[EMAIL PROTECTED]> wrote: Hello I am running apache2 i am trying to figure a way to use SSI based on the file name and not the file extension. so is there a way i can have apache just parse something like main.html? SetOutputFilter INCLUDES (But be aware this

[EMAIL PROTECTED] Modifying environment variables passed to CGI's.

2006-10-03 Thread Jason Lingel
Is there a way to modify an environment variable that gets passed to a CGI?  For example, I'm doing Kerberos authentication and the realm gets appended to the REMOTE_USER variable, e.g., REMOTE_USER= [EMAIL PROTECTED].  I just want username and not the realm.  I would prefer not to do this in the C

Re: [EMAIL PROTECTED] Modifying environment variables passed to CGI's.

2006-10-03 Thread Rob Wilkerson
On Oct 3, 2006, at 7:08 PM, Jason Lingel wrote: Is there a way to modify an environment variable that gets passed to a CGI? For example, I'm doing Kerberos authentication and the realm gets appended to the REMOTE_USER variable, e.g., REMOTE_USER= [EMAIL PROTECTED] I just want username an

[EMAIL PROTECTED] can i have my own login screen using apache authentication/ mod_auth_mysql

2006-10-03 Thread Randy Paries
i am using apache Apache/2.0.54I am also using mod_auth_mysql for my authenticationIs there a way that i can go to my own html screen instead of the popup for user authentication?Thanks for anyhellp in just pointing me in the right direction Thanks

[EMAIL PROTECTED] Apache 2.0.59 Reverse Proxy - Set Content Length ( for HTTPS POSTS) to prevent proxy erros

2006-10-03 Thread ABAPGUY
Hi all , running our Apache 2.0 Reverse Proxy over https we noticed that HTTP 1.1 connections to the backend server are causing Proxy errors for POSTs only (all GETs are fine) . We want to set Content-Length or Content-Chunking for POSTs as this is a known problem for web servers (especially with