[EMAIL PROTECTED] Check and drop http request at Apache proxy

2007-11-30 Thread Sriharsha M
Hi List, I need to host a proxy server on the open Internet and handle only authenticated requests. I have an apache in-filter that reads the request headers and checks for the authentication key in the headers. Once authentication is successful the module lets the request through. If authenticat

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
Here is the output of log level 9: 70.104.12.9 - - [30/Nov/2007:12:15:49 --0800] [www.domain.com/sid#5585b900][rid#55b01ad0/initial/redir#1] (4) RewriteCond: input='{SERVER_PORT}' pattern='=81' => not-matched 70.104.12.9 - - [30/Nov/2007:12:15:49 --0800] [www. domain.com/sid#5585b900]

[EMAIL PROTECTED] PhP Rewrite Map File Problem

2007-11-30 Thread Josh Trutwin
Hi - through some great help from this list (I'm looking at you Joshua Slive) I was able to setup a RewriteMap using a PhP program. After a couple months usage on a number of heavy sites we're noticing an odd inconsistent problem that causes ALL site requests to yeild this nasty error: mod_rewrite

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
Krist, Every option I have tried has had no effect on changing the url back to http from https so far. The latest is this: RewriteCond {SERVER_PORT} !=81 RewriteCond %{REQUEST_URI} ^/scripts/vendor/membership\.php$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] The above will

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
No, just abbreviating things to specify the virtual host port assignments. Matt -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 11:42 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP On Nov 28, 2007

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Krist van Besien
On Nov 30, 2007 7:51 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > Are there any clues as to why this wont work? Is there anything else I > can check, raise the log level? Raise loglevel. You'll see what gets matched and what not. Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Be

[EMAIL PROTECTED] Re: Apache 2.2.3 rotatelogs.exe on Windows

2007-11-30 Thread sniedermeyer
I've been trying to figure out how to rotate the error log in a Windows environment. I'm rotating the access logs in the vhost config file as follows: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common

[EMAIL PROTECTED] Configure mod_proxy_html

2007-11-30 Thread Rocco Scappatura
Hello, I have two Tomcat webapps, say 'app1' and 'app2', reacheable locally at the following URLs: http://localhost:8081/app1 (app1) http://localhost:8081/app2 (app2) I would like to publish on Internet app1 and a 'subset' of app2: http://www.mydomain --> http://localhost:8081/app1 http://

Re: [EMAIL PROTECTED] How to make a website like ftpsite?

2007-11-30 Thread Krist van Besien
On Nov 30, 2007 11:21 AM, goommy <[EMAIL PROTECTED]> wrote: > Header set Content-Type > application/octet-stream > Header append 123-Type 123 It is probabvly better to use ForceType application/octet-stream Krist -- [EMAIL PROT

Re: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-11-30 Thread David Cassidy
Werner, This is in a location block for /whatever then you are proxying only stuff that starts /a/... or /b/ neither of which will ever be matched. D On Fri, 2007-11-30 at 10:46 +0100, Werner Schalk wrote: > Hi, > > > I would guess it's because your config actually looks something like:

[EMAIL PROTECTED] How to make a website like ftpsite?

2007-11-30 Thread goommy
users,您好! What my mean is not mod_ftp !! It's just a experiment to study apache ! What i want to do is make a website like ftpsite:after open the URL i can see the file list and i can download all files! First.i use "Options Indexes" and "DirectoryIndex none" list the all file! By default, wh

[EMAIL PROTECTED] Apache 2.2.3 rotatelogs.exe on WindowsXP

2007-11-30 Thread Kenji Kikuchi
Hi All I have installed apache2.2.3 on Windows XP and am using rotatelogs.exe for ErrorLog directive like httpd.conf --- ErrorLog "| C:/test/logs/rotatelogs.exe C:/test/logs/%Y%m%d_error.log 86400" --- rotatelogs.exe seems working correct, but I can't delete the

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Krist van Besien
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > > Here are the rules I am using: > > > > > > > > RewriteCond {SERVER_PORT} !=81 > > RewriteCond %{REQUEST_URI} ^/scripts/vendor/new_package\.php$ > > RewriteRule ^.*$ https://www.domain.com%{REQUEST_URI} [R=301,L] > > > > Just on

[EMAIL PROTECTED] httpd 2.0.53 mod_auth and virtual host problem

2007-11-30 Thread Sheryl
Hi, I hope someone can help me with this, Someone else set up a site a few years ago and it's only used once a year. It worked in previous years and presumably hasn't changed, but now it's not working. The person who set it up has taken another job and probably wouldn't remember anything anywa

Re: [EMAIL PROTECTED] How to make a website like ftpsite?

2007-11-30 Thread Krist van Besien
On Nov 30, 2007 11:21 AM, goommy <[EMAIL PROTECTED]> wrote: > users,您好! > > What my mean is not mod_ftp !! > It's just a experiment to study apache ! > What i want to do is make a website like ftpsite:after open the URL i can see > the file list > and i can download all files! > First.i use "Optio

[EMAIL PROTECTED] Prevent new page

2007-11-30 Thread User 1001
One web page with a form invokes a PHP script which in turn invokes a Javascript popup. No additional output is written to the original page. As, or soon after, the popup appears- the original web page is replaced by a "new", blank web page. How can this "new page" be prevented, while not resetting

Re: [EMAIL PROTECTED] How to force loging using https,all others using http?

2007-11-30 Thread Krist van Besien
On Nov 30, 2007 2:54 AM, baalchina <[EMAIL PROTECTED]> wrote: > Hello everyone. > > I am using a forum,with php. The logging file is logging.php. > > I set mod_rewrite,to force logging using https, for example,user who clicks > http://myforum/logging.php will automatic direct to > https://myforum/l

Re: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-11-30 Thread David Cassidy
I'd say they fixed a bug because that condition should never have been matched in the first place. On Fri, 2007-11-30 at 10:46 +0100, Werner Schalk wrote: > Hi, > > > I would guess it's because your config actually looks something like: > > > > > > > > ProxyPass /a/ http://local

Re: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-11-30 Thread Werner Schalk
Hi, I would guess it's because your config actually looks something like: ProxyPass /a/ http://localhost:8080/ ProxyPass /b/ http://localhost:/ ... maybe? Yes, but where is the problem with this statement? This worked fine in Apache 2.2.3, why does it not work anymore w

[EMAIL PROTECTED] mod_info loads on one server but not on the other

2007-11-30 Thread j k
running apache 2.0.59-r5 on two almost identical servers (both dual core intel cpus but not same speed) with identical config files on both. The only other difference between the two servers is that I have an extra kernel network driver module built-in on the backup server that works correctly. I