Rewrite für download script.

2009-07-23 Thread Marcel Gmür
Hallo zusammen Auf einem Download Host habe ich folgendes Rewrite rule um die Downloads auf ein php Script umzuleiten. RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} !download.php RewriteRule (.*) http://openttd.ammler.ch/download.php?file=$1 [L] Das PHP

Re: Rewrite für download script.

2009-07-23 Thread Frank Thommen
[...] Das klappt alles eigentlich wunderbar, zumindest was Downloads mit Browsern anbelangt, jedoch ist ein wenig hässlich wenn ich ein File mit wget hole, da wird dann die Datei mit download.php?file=datei gespeichert. Kann ich in dieser Hinsicht noch was verbessern? Ich hole oft Files mit

[us...@httpd] ProxyPass and dns lookups for workers

2009-07-23 Thread Robert Zimmerman
Hello all, I've got a set up that has 2.2.6 httpd servers using ProxyPass http to a tomcat complex that employs a dns rotor and vips in front of the real tomcats. So in: ProxyPass / http://tomcatcomplex tomcatcomplex is a rotor with multiple IPs behind it, so if and when the IP for my worker

[us...@httpd] Server Side Includes is not coming when protocol changed to https

2009-07-23 Thread Sameer Ravindra
Hi, I am using Server Side Includes in apache, it is working fine in http. But when I switch from http to https the page is not included. I am including header.jsp and footer.jsp using !--#include virtual=/myappcontextname/common/header.jsp -- Its loading fine when protocol is http.

RE: [us...@httpd] 404's to robots.txt?

2009-07-23 Thread Boyle Owen
-Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Wednesday, July 22, 2009 10:44 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] 404's to robots.txt? At 06:03 PM 7/21/2009, you wrote: More than 1 docroot / log %{Host}i ? Ahh.. I believe

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread André Warnier
Brian Kim wrote: .. Brian, just send your answer to the list, do not include the other addresses. We are all subscribed to the list, so we get these messages anyway. If you also send it to the other addresses, we each get these messages twice. Thanks.

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread André Warnier
Brian Kim wrote: Hi all. The basic configuration is as follows (1) (2) (3)(4) Users switch (eth2 -- eth0) -- WWW Users located in (1) will access WWW via http Apache server in (3). For non-transparent proxy,

[us...@httpd] configure mod_wsgi to work for zope3

2009-07-23 Thread 杨小勇
How do I configure mod_wsgi to work for my zope3 I did this much times , but I didn't figure out yet, so please any who knows give me some advices or suggestion Tks. ^_6

Re: [us...@httpd] configure mod_wsgi to work for zope3

2009-07-23 Thread André Warnier
杨小勇 wrote: How do I configure mod_wsgi to work for my zope3 I did this much times , but I didn't figure out yet, so please any who knows give me some advices or suggestion This may be due to my personal ignorance, but to my knowledge neither Zope nor mod_wsgi are part of the Apache httpd

RE: [us...@httpd] proxy : AJP Errors

2009-07-23 Thread Pradeep Phalgunan Kalliat
Hi KK, I checked the ports. They are open. I also tried the sequence you mentioned below. It did not make any difference. But the good news is that I kept trying things and found that when I comment the sticky session setting for CoWTraining, the error disappears! I do not understand exactly

Re: [us...@httpd] Auth and server-side auto-login

2009-07-23 Thread Pascal S. Clermont
Nick Kew wrote: André Warnier wrote: .. and to explicit the question even more : Deep down in Apache's request record for the current request, there is a field which contains the authenticated user-id for this request, thus available to any other Apache module (not only to cgi scripts). I

Re: [us...@httpd] httpd.config subroutine

2009-07-23 Thread Jonas Eckerman
Mike -- EMAIL IGNORED wrote: I have several VirtualHost and numerous Directory sections that have large sets of identical directives. If there a way to define a subroutine in httpd.config that can be called in these sections? If you want to be able pass simple parameters to the subroutine

[us...@httpd] rewrite to 443..please help me

2009-07-23 Thread danielitob
Hi, I need your help to solve my Apache issue. I have a php website that runs correctly on port 80, on my apache server. Customer asked me to add a protected area to web site, a subfolder whose pages must be under ssl. So my site is http://www.mysite.it and I need, when I click on protected

Re: [us...@httpd] rewrite to 443..please help me

2009-07-23 Thread Ray Van Dolson
On Thu, Jul 23, 2009 at 09:51:38AM -0700, danielitob wrote: The issue is when I click on https://www.mysite.it/protected and error appears. More information on the error please. An error in your Apache log file? An error in the browser (perhaps corresponding with a self signed

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread Brian Kim
Hi. Thanks. The initial idea is to make (3) work as a gateway too. Thus, (3) can pass all protocols except 80 to WWW. Then, users may get DNS address for WWW After then, when http requests occur, my proxy will hook all packets. Is my idea weird? Can a reverse apache help for my configuration?

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread Bob Ionescu
2009/7/23 Brian Kim 09su.resea...@gmail.com: [...] [...] Can a reverse apache help for my configuration? See my posting to this list 23 hrs. ago. Bob - The official User-To-User support forum of the Apache HTTP Server Project.

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread André Warnier
Brian Kim wrote: Hi. Thanks. The initial idea is to make (3) work as a gateway too. Thus, (3) can pass all protocols except 80 to WWW. Then, users may get DNS address for WWW After then, when http requests occur, my proxy will hook all packets. Is my idea weird? I think yes. Can a reverse

Re: [us...@httpd] Low priced certificate?

2009-07-23 Thread Mark H. Wood
On Wed, Jul 22, 2009 at 11:32:02AM -0500, Lists wrote: I only have a little experience with comodo and there were a few hiccups along the way (transfering/renewing). The rest I know little to nothing about, so would appreciate any feedback. I recognize some of those names but haven't done

[us...@httpd] Shared Environment Variable.

2009-07-23 Thread Mike -- EMAIL IGNORED
Running Apache 2.2 on Fedora 7, I have an environment variable that is needed in a RewriteCond as well as elsewhere in a bash script. I would rather not set it in two places. Now I was setting it in /etc/bashrc, but it did not work because, as I just learned, bashrc environment variables are not