[EMAIL PROTECTED] mod_rewrite decode issue...

2008-02-11 Thread Ravi
Hi everybody, I am having an issue with mod_rewrite. I have following two entries in .htaccess RewriteCond %{HTTP_COOKIE} Email=([^;]+) [NC] RewriteRule ^(.*)$ /search?iEmail=%1 [L,R,QSA] The issue is that I set the cookie to [EMAIL PROTECTED] The cookie is stored as "cookie%40atest.com" a

Re: [EMAIL PROTECTED] Conditional Error Logging

2008-02-11 Thread Sean Allen
On Feb 11, 2008, at 4:19 PM, Joshua Slive wrote: On Feb 11, 2008 3:54 PM, Sean Allen <[EMAIL PROTECTED]> wrote: On Feb 11, 2008, at 3:52 PM, Joshua Slive wrote: On Feb 11, 2008 3:22 PM, Sean Allen <[EMAIL PROTECTED]> wrote: I want to not log certain errors based on the user agent of the r

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Bennett Haselton
At 04:02 PM 2/11/2008 -0700, Doug McNutt wrote: At 14:19 -0800 2/11/08, Bennett Haselton wrote: >My CGI scripts can read world-readable files when those files are under /var/www, just not when the world-readable files are located anywhere else. That could be because some intermediate directory

[EMAIL PROTECTED] Apache does not allow upload of zero byte file?

2008-02-11 Thread gui
Hi All I am unable to upload empty files (zero byte) to my Apache web servers. Tried Apache apache-2.2.3 and apache-2.2.6_1 and both also do not allow zero-byte file upload. Tried file uploading using HTML form. How to make Apache accept empty file upload? Thank you. Gui ---

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 5:55 PM, Bennett Haselton <[EMAIL PROTECTED]> wrote: > At 02:14 PM 2/11/2008 -0500, Joshua Slive wrote: > >On Feb 11, 2008 1:38 PM, Bennett Haselton <[EMAIL PROTECTED]> wrote: > > > I am trying to run a CGI script that can open /var/log/httpd/access_log > > for > > > reading and par

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Doug McNutt
At 14:19 -0800 2/11/08, Bennett Haselton wrote: >My CGI scripts can read world-readable files when those files are under >/var/www, just not when the world-readable files are located anywhere else. That could be because some intermediate directory(s) don't have the necessary x and r permissions

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Bennett Haselton
At 02:14 PM 2/11/2008 -0500, Joshua Slive wrote: On Feb 11, 2008 1:38 PM, Bennett Haselton <[EMAIL PROTECTED]> wrote: > I am trying to run a CGI script that can open /var/log/httpd/access_log for > reading and parse some data from it. (This is on a dedicated machine.) > > The file /var/log/htt

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Bennett Haselton
At 02:14 PM 2/11/2008 -0500, Joshua Slive wrote: On Feb 11, 2008 1:38 PM, Bennett Haselton <[EMAIL PROTECTED]> wrote: > I am trying to run a CGI script that can open /var/log/httpd/access_log for > reading and parse some data from it. (This is on a dedicated machine.) > > The file /var/log/htt

Re: [EMAIL PROTECTED] symbols are not showing - FIXED

2008-02-11 Thread James Carter
Joshua - Thanks, that did it!! Bubba --- Joshua Slive <[EMAIL PROTECTED]> wrote: > On Feb 11, 2008 3:46 PM, James Carter > <[EMAIL PROTECTED]> wrote: > > I recently upgraded from an older version of > Apache on > > my Red hat 9 server to Red Has ES 5. My older > > webpages that were workin

Re: [EMAIL PROTECTED] mod_proxy question

2008-02-11 Thread Ekkehard 'Ekki' Gehm
Ekkehard 'Ekki' Gehm schrieb: Joshua Slive schrieb: On Feb 11, 2008 3:12 PM, Ekkehard 'Ekki' Gehm <[EMAIL PROTECTED]> wrote: Hi everybody! Maybe someone can help me with this issue. We do have a strange setup of different webservers here, and I want to have the main one proxying the conten

RE: [EMAIL PROTECTED] Apache 2.2.8 Windows Compile Issue/Failure

2008-02-11 Thread Stusynski, Dan
This was resolved by doing a command line build and changing the default INSTDIR value to something other than /Apache22 (ie, D:\Apache22). I retested the command line build using the default and it failed at the same place as noted below. I did not retest the MSCV++ to see if changing the defau

Re: [EMAIL PROTECTED] Conditional Error Logging

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 3:54 PM, Sean Allen <[EMAIL PROTECTED]> wrote: > > > On Feb 11, 2008, at 3:52 PM, Joshua Slive wrote: > > > On Feb 11, 2008 3:22 PM, Sean Allen <[EMAIL PROTECTED]> wrote: > >> I want to not log certain errors based on the user agent of the > >> requestor. > >> > >> Is there anyway t

Re: [EMAIL PROTECTED] mod_proxy question

2008-02-11 Thread Ekkehard 'Ekki' Gehm
Joshua Slive schrieb: On Feb 11, 2008 3:12 PM, Ekkehard 'Ekki' Gehm <[EMAIL PROTECTED]> wrote: Hi everybody! Maybe someone can help me with this issue. We do have a strange setup of different webservers here, and I want to have the main one proxying the content of the otherone exept of a few

Re: [EMAIL PROTECTED] Conditional Error Logging

2008-02-11 Thread Sean Allen
On Feb 11, 2008, at 3:52 PM, Joshua Slive wrote: On Feb 11, 2008 3:22 PM, Sean Allen <[EMAIL PROTECTED]> wrote: I want to not log certain errors based on the user agent of the requestor. Is there anyway to do that? No. Just post-filter your log to remove what you aren't interested in. Pr

Re: [EMAIL PROTECTED] symbols are not showing up on my new upgraded system

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 3:46 PM, James Carter <[EMAIL PROTECTED]> wrote: > I recently upgraded from an older version of Apache on > my Red hat 9 server to Red Has ES 5. My older > webpages that were working correctly are currently > showing ? marks in place of symbols like the COPYRIGHT > Symbol (R) , and

Re: [EMAIL PROTECTED] Conditional Error Logging

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 3:22 PM, Sean Allen <[EMAIL PROTECTED]> wrote: > I want to not log certain errors based on the user agent of the > requestor. > > Is there anyway to do that? No. Just post-filter your log to remove what you aren't interested in. Joshua. ---

Re: [EMAIL PROTECTED] mod_proxy question

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 3:12 PM, Ekkehard 'Ekki' Gehm <[EMAIL PROTECTED]> wrote: > Hi everybody! > > Maybe someone can help me with this issue. We do have a strange setup of > different webservers here, and I want to have the main one proxying the > content of the otherone exept of a few dirs. > So my setu

[EMAIL PROTECTED] symbols are not showing up on my new upgraded system

2008-02-11 Thread James Carter
I recently upgraded from an older version of Apache on my Red hat 9 server to Red Has ES 5. My older webpages that were working correctly are currently showing ? marks in place of symbols like the COPYRIGHT Symbol ® , and I'm getting a question mark for the DEGREES Symbol and some fraction symbols

Re: [EMAIL PROTECTED] Viewvc, kerberos and Location directives, an ordering problem?

2008-02-11 Thread Todd, David
On 2008Feb05 9:58 , "Todd, David" <[EMAIL PROTECTED]> wrote: > I am trying to use viewvc to let my users browse the code base in our svn > repositories. We have a number of them. > > Some of them must have restricted access, but at the same time, want to be > in a hierarchy with others that have

[EMAIL PROTECTED] Conditional Error Logging

2008-02-11 Thread Sean Allen
I want to not log certain errors based on the user agent of the requestor. Is there anyway to do that? I know how to do for that for access logs but i cant see a way to do for the error log. anyone got a recipe for this? ---

[EMAIL PROTECTED] mod_proxy question

2008-02-11 Thread Ekkehard 'Ekki' Gehm
Hi everybody! Maybe someone can help me with this issue. We do have a strange setup of different webservers here, and I want to have the main one proxying the content of the otherone exept of a few dirs. So my setup is: ... ProxyPass /pcpool ! ... ProxyPass / http://www.physics.tu-berlin.de/

[EMAIL PROTECTED] Apache2 and NT Authentication

2008-02-11 Thread Carl Carpenter
I've been chasing this tail for a week or better, getting nowhere. I'm hoping someone can help me out. OS: Fedora Core 6 Apache: 2.2.6 Perl: 5.8.8 All I am trying to do is set up security on specific folders. Our network is an NT 4 domain. I want the users to use their same userid and passwo

Re: [EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 1:38 PM, Bennett Haselton <[EMAIL PROTECTED]> wrote: > I am trying to run a CGI script that can open /var/log/httpd/access_log for > reading and parse some data from it. (This is on a dedicated machine.) > > The file /var/log/httpd/access_log is owned by root, but that's not the >

Re: [EMAIL PROTECTED] Aliasing to a directory on a remote machine

2008-02-11 Thread Joshua Slive
On Feb 11, 2008 12:27 PM, S. Ural <[EMAIL PROTECTED]> wrote: > > Apache/1.3.37 > I have 2 Linux servers: Server1 and Server2 with different IP blocks. > > I would like to create an alias /images in Server1's httpd.conf that will > point to a directory on Server2. > > How can I do that? Two choic

[EMAIL PROTECTED] how to enable CGI scripts to read /var/log/httpd/access_log ?

2008-02-11 Thread Bennett Haselton
I am trying to run a CGI script that can open /var/log/httpd/access_log for reading and parse some data from it. (This is on a dedicated machine.) The file /var/log/httpd/access_log is owned by root, but that's not the problem. I have other files owned by root that are in the /var/www/html d

[EMAIL PROTECTED] Apache 2.2.8 Windows Compile Issue/Failure

2008-02-11 Thread Stusynski, Dan
Hello all, Hopefully someone can provide guidance or has seen this problem before since google didn't dredge up anything useful. During my Win XP build of Apache 2.2.8 using MSCV++ 6.0 I've run across an issue I can't immediately resolve. The build fails towards the end of the build when the

RE: [EMAIL PROTECTED] Blacklists & similar to avoid e.g. forum spam

2008-02-11 Thread Ryan Barnett
Phil, ModSecurity can help address comment SPAM on a number of fronts - 1) The soon-to-be-released version of the Core Rule set (http://www.modsecurity.org/projects/rules/index.html) will include some basic rules around identify comment SPAM. 2) You could use the @rbl operator in ModSecurity 2 to

Re: [EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Travis Sidelinger
Krist, Ignore my last question, I was missing a quote. Thanks a bunch, that did it. My final rule looks like: RewriteCond %{REMOTE_HOST} ^192\.168\.220\. RewriteRule "^(/.*)$" "proxy:balancer://aquabrowser$1?c_loc=220" [QSA,L] Krist van Besien wrote: > On Feb 11, 2008 3:25 PM, Travis Si

Re: [EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Travis Sidelinger
Thanks, I see what's going on now. Here is what I've tried followed by the response on the backend server: Case 1: RewriteRule "^/(.*)$" proxy:balancer://aquabrowser$1?c_loc=220" [QSA,L] "GET /?c_loc=220\" HTTP/1.1" -> Note I get a 500 error when trying to access anything other then /. Case2:

[EMAIL PROTECTED] Blacklists & similar to avoid e.g. forum spam

2008-02-11 Thread Phil Endecott
Dear Experts, Would anyone like to share any strategies for blocking forum spam and similar nastiness? I have a couple of forums which were totally filled with spam when I was once on holiday. When I got back I had to take them down for ages to clean them up, and then added a "captcha" mech

[EMAIL PROTECTED] Aliasing to a directory on a remote machine

2008-02-11 Thread S. Ural
Apache/1.3.37I have 2 Linux servers: Server1 and Server2 with different IP blocks. I would like to create an alias /images in Server1's httpd.conf that will point to a directory on Server2. How can I do that? --- Seyfullah Ural

RE: [EMAIL PROTECTED] Split logs based upon VirtualDocumentRoot

2008-02-11 Thread Gary W. Smith
Joshua, We had already looked into that route. We are just trying to work around configuring a virtual for each domain. I know there are a few other aproaches to it as well (such as pipe or splitting the file). I guess I'll just play around for a while with some of the log splitting sample

Re: [EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Krist van Besien
On Feb 11, 2008 3:25 PM, Travis Sidelinger <[EMAIL PROTECTED]> wrote: >RewriteRule "^/(.*)$" proxy:balancer://aquabrowser$1&c_loc=220" [QSA,L] > # I > get 404 Error: "GET //cd/README&c_loc=220%22?test=1 HTTP/1.1" in the logs of > the > backend server. You append "&c_loc=220" to the URL, a

Re: [EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Travis Sidelinger
I see that now. Will check with the developers and see if they can work with that. Thou, I'd still like to know why mod_rewrite is behaving funny. Mike Cardwell wrote: > mod_proxy should add an extra HTTP header to the request called > "X-Forwarded-For" which you can parse to retrieve the IP add

[EMAIL PROTECTED] Rewrite rule to keep old url after changing username

2008-02-11 Thread Jan F Steinbrener
Hi, during my recent re-install of our server (it is running Apache 2.2) i changed my username from old_uname to new_uname. I would like that my webaddress is still accessible under the old address http://host/~old_uname Looking through the docs I decided to go with the rewrite routine. I

Re: [EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Mike Cardwell
mod_proxy should add an extra HTTP header to the request called "X-Forwarded-For" which you can parse to retrieve the IP address from. Note, this can contain multiple IPs if there are several proxies on route so make sure you parse it correctly. Regards, Mike Travis Sidelinger wrote: We have

Re: [EMAIL PROTECTED] Very strange problem with forms ...

2008-02-11 Thread Rafal Markut
Hello, I forgot to write that in "simple" version of the application (jsp+jdbc) this error also appears. with best regards, Rafal - Original Message - From: "Rafal Markut" <[EMAIL PROTECTED]> To: Sent: Monday, February 11, 2008 2:58 PM Subject: [EMAIL PROTECTED] Very strange proble

[EMAIL PROTECTED] mod_rewrite + mod_proxy trouble

2008-02-11 Thread Travis Sidelinger
We have used both mod_rewrite and mod_proxy successfully in numerous configurations. Put them together and they don't seem to like each other. We have a working production mod_proxy_balancer configuration for two backend web servers that is working great, except... The backend web servers need t

[EMAIL PROTECTED] Very strange problem with forms ...

2008-02-11 Thread Rafal Markut
Hello, I know that this list isn't for web developping but I have impression that maybe apache makes problems so I'm writting here ... I made very simple web application. Namely on the main page there is list of records (list.jsp). I can create new record, edit and delete. So when user clic