[EMAIL PROTECTED] mod_rewrite & mod_proxy & %2F in URL

2006-06-12 Thread Markus Stockhausen

Hello.

We used Apache 2.0.54 as a reverse proxy for an internet webmail access with the
following rewrite rule:

AllowEncodedSlashes On
RewriteEngine on
RewriteRule
  /(.*)/MessagePart/(.*)/(.*)/(.*)-H.txt
  http://127.0.0.1:8100/$1/MessagePart/$2\%2F$3/$4-H.txt [P]

It is essential for the mailserver to get the %2F character instead of an /.
Otherwise the request results in an "404 not found error". The ruleset worked
well until we upgraded to 2.0.58. Suddenly the rewrite produced another URL
string. What before was an %2F now results in an %252F.

We could track down that problem to the following patch that came with version
2.0.55: http://svn.apache.org/viewvc?view=rev&revision=227435

Obviously the old (but for us correct) url translation worked in three steps:
step 1: mod_rewrite: .../... -> ...%2F...
step 2: mod_proxy: ...%2F... -> ...%252F...
step 3: mod_proxy: ...%252F... -> ...%2F...

With the patch step 3 is now obsolete and we have no possibility to encode an /
character into an %2F because mod_proxy will always replace any % charachter
it finds with the %25 chars.

Has anyone an idea of how to come around this problem. The only solution we
found was to disable the patch and to force the behaviour as it was before.

Best regards.

Markus Stockhausen

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration

2006-06-12 Thread CC CHEN



Hi,
 
Did you mean this :
 
 
##
 
    Options 
FollowSymLinks    AllowOverride None
 
     # 
Insert filter
 
 # HTTP COMPRESSION SetOutputFilter 
DEFLATE
 
 # Netscape 4.x has some 
problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # 
Netscape 4.06-4.08 have some more problems BrowserMatch 
^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is 
fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # 
NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above 
regex won't work. You can use the following # workaround to get the 
desired effect: BrowserMatch \bMSI[E] !no-gzip 
!gzip-only-text/html # Don't compress images SetEnvIfNoCase 
Request_URI \ \.(?:gif|jpe?g|png)$ no-gzip dont-vary
 
 # Make sure proxies don't deliver the wrong 
content #Header append Vary User-Agent 
env=!dont-vary  
 

 
#
 
This would give error message "
 
And I tried to comment the  , no 
error message given. Anyway this doesn't work.
 
 
 

  - Original Message - 
  From: 
  Emmanuel E 
  
  To: users@httpd.apache.org 
  Sent: Monday, June 12, 2006 9:14 PM
  Subject: Re: [EMAIL PROTECTED] Pease help 
  with mod_deflate configuration
  no no what i meant was put it in the section which says 
  . there should already be a  
  section.CC CHEN wrote: 
  

Hi,
 
It doesn't work at all if i replace 
 with 
 
 
 

  - 
  Original Message - 
  From: 
  Emmanuel 
  E 
  To: 
  users@httpd.apache.org 
  Sent: 
  Monday, June 12, 2006 6:58 PM
  Subject: 
  Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration
  try putting it in the  
  container.CC CHEN wrote: 
  



Greeting,
 
I have put in the deflate function in the 
httpd.conf as below. During testing, the compression is working when 
I access my web page from internal IP address e.g.:http://x.x.x.x.Anyway when I access the 
web page using domain name e.g.: http://my.web.com, the compression is not 
working by looking at the apache access log.
 
Can anyone help me to figure what is wrong 
with my httpd.conf file. Thank you.
 
 
 
### 
httpd.conf..# Insert 
filter
 
# HTTP COMPRESSIONSetOutputFilter 
DEFLATE
 
# Netscape 4.x has some 
problems...BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 
4.06-4.08 have some more problemsBrowserMatch ^Mozilla/4\.0[678] 
no-gzip# MSIE masquerades as Netscape, but it is fine# 
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html# NOTE: Due to a 
bug in mod_setenvif up to Apache 2.0.48# the above regex won't work. 
You can use the following# workaround to get the desired 
effect:BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html# 
Don't compress imagesSetEnvIfNoCase Request_URI 
\\.(?:gif|jpe?g|png)$ no-gzip dont-vary
 
# Make sure proxies don't deliver the wrong 
content#Header append Vary User-Agent 
env=!dont-vary 
###- 
  The official User-To-User support forum of the Apache HTTP Server Project. 
  See for more info. To 
  unsubscribe, e-mail: [EMAIL PROTECTED] 
  " from the digest: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  - 
  The official User-To-User support forum of the Apache HTTP Server Project. See 
  for more info. To unsubscribe, 
  e-mail: [EMAIL PROTECTED] " from the digest: 
  [EMAIL PROTECTED] For additional commands, e-mail: 
  [EMAIL PROTECTED] 


Re: [EMAIL PROTECTED] self-referential URL's and load balancer

2006-06-12 Thread Joshua Slive

On 6/12/06, enigma <[EMAIL PROTECTED]> wrote:


I have a problem with the self-referential URL's being generated by Apache
when a hardware load balancer is front ending it.

The load balancer listens on port 443, decrypts SSL and forwards standard
http to Apache on port 13443 on the culster machines. The problem I
encounter is when Apache generates self-referential URL's for mod_dir
trailing slash redirects and mod_rewrite redirects, it is sending the
protocol as http and the port as 13443. So for instance, the brower
requests:

https://www.example.com/test

The redirect returned by Apache is:

http://www.example.com:13443/test/

which is invalid on the load balancer and no longer SSL.

I want it to be:

https://www.example.com/test/

I have tried setting UseCanonicalName Off without success. I can remap the
port with the port directive, but it still changes the https to http.

Any suggestions??


We had an almost identical question two days ago (see below).
Unfortunately, I don't believe there is any way to fix this completely
from the apache side short of using the unreleased svn-head version of
apache which allows the scheme to be specified with the ServerName
directive.

On 6/11/06, Damian Birchler <[EMAIL PROTECTED]> wrote:

Hi all

I have got Squid installed as an httpd accelerator for httpd. Squid will
not allow requests to internal.example.com other than per SSL/TLS. Squid
itself talks to httpd in plain text. Now, when httpd generates automatic
redirects -- what I mean by this, is for example redirecting /foo to /foo/
-- it tells the client to try HTTP://internal.example.com/foo/ which is
then blocked by Squid.

So, my question: Is it somehow possible to customize automatic redirects,
for instance by telling httpd to use only relative paths?


Relative paths are not legal in redirects.  Squid probably has the
capability to rewrite these headers itself (as apache's mod_proxy can
do with the ProxyPassReverse directive).  Otherwise, you can tell
apache to lie about its true hostname using the ServerName and
UseCanonicalName directives.  But you will still have a problem with
the scheme.  The latest development version of apache allows you to
configure ServerName to lie about the scheme, but I don't think any
released version can do that.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] You're flooding people's mailboxes

2006-06-12 Thread Evan Platt
On Mon, June 12, 2006 3:54 pm, Carlos Ross wrote:
> Hello,
>
> For two weeks I've been getting all of your messages...why all of a sudden
> copy everybody?
> Please stop broadcasting my mailbox is getting flooded and I have to
> delete nearly 30
> messages everyday.

Huh?


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] You're flooding people's mailboxes

2006-06-12 Thread Mattias Segerdahl
To unsubscribe, e-mail: [EMAIL PROTECTED]

-Original Message-
From: Carlos Ross [mailto:[EMAIL PROTECTED]
Sent: den 13 juni 2006 00:55
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] You're flooding people's mailboxes

Hello,

For two weeks I've been getting all of your messages...why all of a sudden
copy everybody?
Please stop broadcasting my mailbox is getting flooded and I have to
delete nearly 30
messages everyday.

Thanks!!



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] You're flooding people's mailboxes

2006-06-12 Thread Carlos Ross

Hello,

For two weeks I've been getting all of your messages...why all of a sudden 
copy everybody?
Please stop broadcasting my mailbox is getting flooded and I have to 
delete nearly 30

messages everyday.

Thanks!!



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] self-referential URL's and load balancer

2006-06-12 Thread enigma

I have a problem with the self-referential URL's being generated by Apache
when a hardware load balancer is front ending it.

The load balancer listens on port 443, decrypts SSL and forwards standard
http to Apache on port 13443 on the culster machines. The problem I
encounter is when Apache generates self-referential URL's for mod_dir
trailing slash redirects and mod_rewrite redirects, it is sending the
protocol as http and the port as 13443. So for instance, the brower
requests:

https://www.example.com/test

The redirect returned by Apache is:

http://www.example.com:13443/test/

which is invalid on the load balancer and no longer SSL.

I want it to be:

https://www.example.com/test/

I have tried setting UseCanonicalName Off without success. I can remap the
port with the port directive, but it still changes the https to http.

Any suggestions??


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] FilesMatch Explanation!

2006-06-12 Thread Joshua Slive

On 6/12/06, Zakai Kinan <[EMAIL PROTECTED]> wrote:

I see.  The way I used the filematch did not result in
any errors.  Apache seems to simply ignore the
directive.  The directory is already protected, but I
wanted to restrict access to one script to one user
within the directory.  The user is part of the
authentication for the directory in the htpasswd file.


Show us the exact matching entry from the access_log along with the
exact contents of the .htaccess file without obscuring everything.

(I ask this because it is most likely you are making a simple mistake
someplace.  But we can't tell unless we see exactly what you are
doing.)

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Error message "LocationMatch not allowed here"

2006-06-12 Thread Joshua Slive

On 6/12/06, Jesse Ross <[EMAIL PROTECTED]> wrote:

Hello BP,

You're right - this is a question of what is allowed in .htaccess files.
  Check out http://httpd.apache.org/docs/1.3/mod/core.html#locationmatch,
and look at the "Context" section.  Since it doesn't include .htaccess,
you can't use a LocationMatch in a .htaccess file.  There isn't any
AllowOverride which will change this.


And in addition, trying to use  in an .htaccess file
indicates a problem anyway.   should be used only for
resources that don't live in the filesystem.  .htaccess, on the other
hand, is used only for resources that do live in the filesystem.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Error message "LocationMatch not allowed here"

2006-06-12 Thread Jesse Ross

Hello BP,

You're right - this is a question of what is allowed in .htaccess files. 
 Check out http://httpd.apache.org/docs/1.3/mod/core.html#locationmatch,
and look at the "Context" section.  Since it doesn't include .htaccess, 
you can't use a LocationMatch in a .htaccess file.  There isn't any 
AllowOverride which will change this.


Take care,
Jesse Ross
Systems Administrator
Broad Institute of MIT and Harvard
[EMAIL PROTECTED]


BP Jonsson wrote:

Dear friends,

I get an error message:

"[alert] [client xxx] /home/account/public_html/.htaccess:
http://httpd.apache.org/docs/1.3/howto/htaccess.html#what>
It seems there should be an AllowOverride directive
somewhere, but where? And what should it look like?  Can I
fix this problem or do I have to have the host admin do it?

I'm aware this may be a FAQ.  I have unsuccessfully looked
around for an answer, but I don't really know how to
formulate the question, so I ask your forgiveness and hope
somebody has some advice.

/BP


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] FilesMatch Explanation!

2006-06-12 Thread Zakai Kinan
I see.  The way I used the filematch did not result in
any errors.  Apache seems to simply ignore the
directive.  The directory is already protected, but I
wanted to restrict access to one script to one user
within the directory.  The user is part of the
authentication for the directory in the htpasswd file.
 


ZK
--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On 6/9/06, Zakai Kinan <[EMAIL PROTECTED]>
> wrote:
> > The idea of requiring a specific user to access a
> > script does not work.  Secret is a perl script. 
> The
> > restrictions on the directory work as expected.
> 
> Man oh man.  Please banish the phrase "does not
> work" from your
> vocabulary when you talk on a technical list.  What
> EXACTLY happens?
> Do you get an error message?  Do you get the content
> when you were
> expecting a password prompt?  What is in the error
> and access logs?
> 
> Joshua.
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Error message "LocationMatch not allowed here"

2006-06-12 Thread BP Jonsson

Dear friends,

I get an error message:

"[alert] [client xxx] /home/account/public_html/.htaccess:
http://httpd.apache.org/docs/1.3/howto/htaccess.html#what>
It seems there should be an AllowOverride directive
somewhere, but where? And what should it look like?  Can I
fix this problem or do I have to have the host admin do it?

I'm aware this may be a FAQ.  I have unsuccessfully looked
around for an answer, but I don't really know how to
formulate the question, so I ask your forgiveness and hope
somebody has some advice.

/BP

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Re: FilesMatch Explanation!

2006-06-12 Thread Zakai Kinan
Yes, there is a user admin in the htpasswd file.  No,
I did not have satisfy any as a directory directive so
I will try that.


Thanks


ZK

--- Joost de Heer <[EMAIL PROTECTED]> wrote:

> Zakai Kinan wrote:
> > I have this directive
> > 
> >require user "{Admin}"
> > 
> >
> > in an htaccess file and it does not work.  Does
> any
> > have any ideas.  I have also tried it in
> httpd.conf
> > file.
> 
> - Is the user really called {Admin} (with the {})?
> - Do you have a 'Satisfy any' for the directory the
> script is in?
> 
> Joost
> 
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] segmentation fault

2006-06-12 Thread Josh Stephenson
Yeah - I realize that code doesn't just 'go off', but if no-one tells me 
what they changed, I can't change it back.


Yes - Mac OS X is a BSD-like OS

By re-install, I meant rebuilt from source (I'll remember to be more 
specific in the future).


All Modules are commented out, and I still get a segmentation fault.

Thanks for the suggestionsany more?

-Josh

Boyle Owen wrote:

-Original Message-
From: Josh Stephenson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 8:34 PM

To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] segmentation fault

On an intel mac os x 10.4 with apache 2.2.0 I am getting a 
segmentation 
fault.



Is that one of the BSD-like OSes?
  

When I run apachectl start, I get:
./bin/apachectl: line 102:   359 Segmentation fault  
$HTTPD -k $ARGV





Seg faults are often caused by inconsistent compilation - a (third-party) 
module compiled for one version of apache is loaded into a new version without 
being recompiled. This could also apply to external libraries (eg, openSSL, 
libstdc+, libgcc etc.)

  

'359' changes randomly

If I run httpd, I get:
Segmentation fault

I have not changed anything recently (other root-access users 
swear they 
haven't either), 



Despite the protests to the contrary, someone must've changed something on the machine - code doesn't "go off". 

  
so I have no idea why this is happening.  I 
have tried 
completely reinstalling apache, and I still get the same error.



When you usay you "re-installed" apache - is this a recompile from source, or 
RPM or binary or what?

  

Any help is greatly appreciated.



Try commenting out all the LoadModule lines from the config and associated 
directives and seeing if it will start. If so, put back the modules one at a 
time until you identify who's causing the seg fault.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

  

-josh


-
The official User-To-User support forum of the Apache HTTP 
Server Project.

See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration

2006-06-12 Thread Emmanuel E




no no what i meant was put it in the section which says . there should already be a  section.

CC CHEN wrote:

  
  
  Hi,
   
  It doesn't work at all if i replace
 with 
   
   
   
  
-
Original Message - 
From:
Emmanuel
E 
To:
users@httpd.apache.org 
Sent:
Monday, June 12, 2006 6:58 PM
Subject:
Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration


try putting it in the  container.

CC CHEN wrote:

  
  
  Greeting,
   
  I have put in the deflate
function in the httpd.conf as below. 
During testing, the compression is working when I access my web page
from internal IP address e.g.:http://x.x.x.x.
Anyway when I access the web page using domain name e.g.: http://my.web.com, the compression is not
working by looking at the apache access log.
   
  Can anyone help me to figure
what is wrong with my httpd.conf file. Thank you.
   
   
   
  ### httpd.conf
...
...

# Insert filter
   
  # HTTP COMPRESSION
SetOutputFilter DEFLATE
   
  # Netscape 4.x has some
problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
   
  # Make sure proxies don't
deliver the wrong content
#Header append Vary User-Agent env=!dont-vary
 
###

-
The official User-To-User support forum of the Apache HTTP Server
Project. See for more
info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from
the digest: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] 




-
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] jsp/java servelets

2006-06-12 Thread Boyle Owen
> -Original Message-
> From: Muhammad Rizwan [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 12, 2006 7:07 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] jsp/java servelets
> 
> Hello
> 
> I want to run jsp and java servelets pages on my Apache webserver, 

Start here: http://tomcat.apache.org/

NB - A java-enabled webserver is non-trivial. It is not as simple as adding a 
module or something...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> How i can do sooo
> 
> Thanks!!!
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Antwort: [EMAIL PROTECTED] jsp/java servelets

2006-06-12 Thread Dietmar . Mueller
http://www.apachetomcat.com/home

regards Dietmar




Muhammad Rizwan <[EMAIL PROTECTED]> am 12.06.2006 19:06:36

Bitte antworten an users@httpd.apache.org

An: users@httpd.apache.org
Kopie:
Thema:  [EMAIL PROTECTED] jsp/java servelets


Hello

I want to run jsp and java servelets pages on my Apache webserver,

How i can do sooo

Thanks!!!


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] jsp/java servelets

2006-06-12 Thread Muhammad Rizwan
Hello

I want to run jsp and java servelets pages on my Apache webserver, 

How i can do sooo

Thanks!!!


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration

2006-06-12 Thread CC CHEN



Hi,
 
It doesn't work at all if i replace  with 
 
 
 

  - Original Message - 
  From: 
  Emmanuel E 
  
  To: users@httpd.apache.org 
  Sent: Monday, June 12, 2006 6:58 PM
  Subject: Re: [EMAIL PROTECTED] Pease help 
  with mod_deflate configuration
  try putting it in the  container.CC 
  CHEN wrote: 
  



Greeting,
 
I have put in the deflate function in the 
httpd.conf as below. During testing, the compression is working when I 
access my web page from internal IP address e.g.:http://x.x.x.x.Anyway when I access the web 
page using domain name e.g.: http://my.web.com, the compression is not 
working by looking at the apache access log.
 
Can anyone help me to figure what is wrong with 
my httpd.conf file. Thank you.
 
 
 
### 
httpd.conf..# Insert 
filter
 
# HTTP COMPRESSIONSetOutputFilter 
DEFLATE
 
# Netscape 4.x has some 
problems...BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 
4.06-4.08 have some more problemsBrowserMatch ^Mozilla/4\.0[678] 
no-gzip# MSIE masquerades as Netscape, but it is fine# BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html# NOTE: Due to a bug in mod_setenvif 
up to Apache 2.0.48# the above regex won't work. You can use the 
following# workaround to get the desired effect:BrowserMatch 
\bMSI[E] !no-gzip !gzip-only-text/html# Don't compress 
imagesSetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png)$ no-gzip 
dont-vary
 
# Make sure proxies don't deliver the wrong 
content#Header append Vary User-Agent 
env=!dont-vary 
###- 
  The official User-To-User support forum of the Apache HTTP Server Project. See 
  for more info. To unsubscribe, 
  e-mail: [EMAIL PROTECTED] " from the digest: 
  [EMAIL PROTECTED] For additional commands, e-mail: 
  [EMAIL PROTECTED] 


Re: [EMAIL PROTECTED] Pease help with mod_deflate configuration

2006-06-12 Thread Emmanuel E




try putting it in the  container.

CC CHEN wrote:

  
  
  
  Greeting,
   
  I have put in the deflate function
in the httpd.conf as below. 
During testing, the compression is working when I access my web page
from internal IP address e.g.:http://x.x.x.x.
Anyway when I access the web page using domain name e.g.: http://my.web.com, the compression is not
working by looking at the apache access log.
   
  Can anyone help me to figure what is
wrong with my httpd.conf file. Thank you.
   
   
   
  ### httpd.conf
...
...

# Insert filter
   
  # HTTP COMPRESSION
SetOutputFilter DEFLATE
   
  # Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
   
  # Make sure proxies don't deliver
the wrong content
#Header append Vary User-Agent env=!dont-vary
 
###




-
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Pease help with mod_deflate configuration

2006-06-12 Thread CC CHEN



Greeting,
 
I have put in the deflate function in the httpd.conf as below. During 
testing, the compression is working when I access my web page from internal IP 
address e.g.:http://x.x.x.x.Anyway when I access the web page using domain 
name e.g.: http://my.web.com, the compression is 
not working by looking at the apache access log.
 
Can anyone help me to figure what is wrong with my httpd.conf file. Thank 
you.
 
 
 
### httpd.conf..# Insert 
filter
 
# HTTP COMPRESSIONSetOutputFilter DEFLATE
 
# Netscape 4.x has some problems...BrowserMatch ^Mozilla/4 
gzip-only-text/html# Netscape 4.06-4.08 have some more 
problemsBrowserMatch ^Mozilla/4\.0[678] no-gzip# MSIE masquerades as 
Netscape, but it is fine# BrowserMatch \bMSIE !no-gzip 
!gzip-only-text/html# NOTE: Due to a bug in mod_setenvif up to Apache 
2.0.48# the above regex won't work. You can use the following# 
workaround to get the desired effect:BrowserMatch \bMSI[E] !no-gzip 
!gzip-only-text/html# Don't compress imagesSetEnvIfNoCase Request_URI 
\\.(?:gif|jpe?g|png)$ no-gzip dont-vary
 
# Make sure proxies don't deliver the wrong content#Header append Vary 
User-Agent env=!dont-vary 
###


[EMAIL PROTECTED] Can I have negotiated includes?

2006-06-12 Thread Nicholas Shanks

Hi there.
I am trying to find a solution to two problems, the first being:

User requests /blah with "Accept-Language: fr, en;q=0.5"
File blah.html is the only one available, gets served.
File needs to include a common navigation bar.
There are two available, /nav.en.inc and /nav.fr.inc
File uses 
User gets navigation bar in English instead of French

Now what I want is for the navigation element to use content  
negotiation, so that even though this particular file is not  
available in French, the user still gets the French nav bar.


I tried using  but that wouldn't let my pop-up  
menus appear (even with overflow: visible; set on the   
element, and  &  tags of the included file).

Does anyone know how to do this? I am using version 1.3.33


The second problem is that in order to send my Last-Modified headers,  
I am using "xBitHack full", but this still suppresses the Accept- 
Ranges and ETag headers. Can this be amended somehow? ETags are very  
useful.


p.s. Does anyone know what "TCN: choice" headers mean?

- Nicholas.


smime.p7s
Description: S/MIME cryptographic signature


Re: [EMAIL PROTECTED] PROPFIND record in access_log of apache2 under windows

2006-06-12 Thread Rainer Sokoll
On Mon, Jun 12, 2006 at 11:29:12AM +0200, Francisco Ruiz Ibañez wrote:

> No, the ip is from out of our network.

Then I would think this is regular background noise.
Anyway: As long as you do not offer DAV, you should be safe in this
particular case.

Rainer

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] PROPFIND record in access_log of apache2 under windows

2006-06-12 Thread Francisco Ruiz Ibañez
No, the ip is from out of our network.

-Mensaje original-
De: Rainer Sokoll [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de junio de 2006 11:05
Para: users@httpd.apache.org
Asunto: Re: [EMAIL PROTECTED] PROPFIND record in access_log of apache2 under
windows


On Mon, Jun 12, 2006 at 10:52:09AM +0200, Francisco Ruiz Ibañez wrote:
> Hi all,
>   Last weekend, I've seen in my access_log many records like:
>
>  "x.x.x.x - - [11/Jun/2006:00:09:14 +0200] "PROPFIND /pub/ HTTP/1.1" 405
325
> "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
>
>   This is in apache2 under windows:
>
>   What does it mean? is it a malicious action like denial of service?

Most probably not, if x.x.x.x belongs to your LAN.
Background: If a windows box mounts a share (/pub/, in your case), it
thinks that there might be a WebDAV share also.
Stupid behaviour.

Rainer


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Este  correo  electrónico  contiene  información  privada  que puede estar 
legalmente   protegida,   parcial  o  totalmente.  Es  sólo  para  uso  del 
destinatario  al  que está dirigido. Si ha recibido este mensaje por error, le 
rogamos que lo notifique al remitente del email y que además borre de su 
sistema  el  mensaje  así  como  todas  sus copias, incluyendo las posibles 
copias  del  mismo  en  su  disco  duro,  y  se  abstenga de usar, revelar, 
distribuir  a  terceros,  imprimir  o  copiar ninguna de las partes de este 
mensaje.


Los datos personales  que pueda contener el presente mensaje, ya sea en su 
contenido o en los  destinatarios, cumplen  con lo  establecido  en la Ley 
Orgánica  15/1999, de 13  de diciembre, de Protección Datos de Carácter 
Personal.





This  e-mail  contains proprietary information some or all of which may be 
legally  protected.  It  is for sole use of the intended recipient only. If you 
 have received this message by mistake, you are requested to notify the e-mail  
sender  and erase both the message and any copies from your system, including  
hard  disk  copies.   You  are further requested to refrain from using,  
distributing  to  third  parties,  printing or making copies of any parts of 
this message.


The personal data that may  appear in this e-mail message are in accordance 
with the Organic Law  15/1999 of  13 December on the Protection of Personal 
Data.





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] PROPFIND record in access_log of apache2 under windows

2006-06-12 Thread Rainer Sokoll
On Mon, Jun 12, 2006 at 10:52:09AM +0200, Francisco Ruiz Ibañez wrote:
> Hi all,
>   Last weekend, I've seen in my access_log many records like:
> 
>  "x.x.x.x - - [11/Jun/2006:00:09:14 +0200] "PROPFIND /pub/ HTTP/1.1" 405 325
> "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
> 
>   This is in apache2 under windows:
> 
>   What does it mean? is it a malicious action like denial of service?

Most probably not, if x.x.x.x belongs to your LAN.
Background: If a windows box mounts a share (/pub/, in your case), it
thinks that there might be a WebDAV share also.
Stupid behaviour.

Rainer


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] PROPFIND record in access_log of apache2 under windows

2006-06-12 Thread Francisco Ruiz Ibañez
Hi all,
Last weekend, I've seen in my access_log many records like:

 "x.x.x.x - - [11/Jun/2006:00:09:14 +0200] "PROPFIND /pub/ HTTP/1.1" 405 325
"-" "Microsoft-WebDAV-MiniRedir/5.1.2600"

This is in apache2 under windows:

What does it mean? is it a malicious action like denial of service?

best regards





Este  correo  electrónico  contiene  información  privada  que puede estar 
legalmente   protegida,   parcial  o  totalmente.  Es  sólo  para  uso  del 
destinatario  al  que está dirigido. Si ha recibido este mensaje por error, le 
rogamos que lo notifique al remitente del email y que además borre de su 
sistema  el  mensaje  así  como  todas  sus copias, incluyendo las posibles 
copias  del  mismo  en  su  disco  duro,  y  se  abstenga de usar, revelar, 
distribuir  a  terceros,  imprimir  o  copiar ninguna de las partes de este 
mensaje.


Los datos personales  que pueda contener el presente mensaje, ya sea en su 
contenido o en los  destinatarios, cumplen  con lo  establecido  en la Ley 
Orgánica  15/1999, de 13  de diciembre, de Protección Datos de Carácter 
Personal.





This  e-mail  contains proprietary information some or all of which may be 
legally  protected.  It  is for sole use of the intended recipient only. If you 
 have received this message by mistake, you are requested to notify the e-mail  
sender  and erase both the message and any copies from your system, including  
hard  disk  copies.   You  are further requested to refrain from using,  
distributing  to  third  parties,  printing or making copies of any parts of 
this message.


The personal data that may  appear in this e-mail message are in accordance 
with the Organic Law  15/1999 of  13 December on the Protection of Personal 
Data.





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[EMAIL PROTECTED] Re: Authentication directive from 1.3 to 2.2 , what do i miss here?

2006-06-12 Thread Joost de Heer
> but now in 2.2 it does recognized that the page needs Authentication
> but then
>
> in the logs it says :
>
> [Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] No Authn
> provider configured, referer: http://myhome:/blah.html
>
> [Sun Jun 11 16:53:15 2006] [error] [client 1#2.1##.#.6#] access to
> /BLD/PER/none.foo failed, reason: verification of user
>
> id 'admin' not configured, referer: http://myhome:/blah.html

> what im doing wrong here ? does the configuration changed ? do i miss
> something in the configuration?

The configuration for authentication in httpd 2.2 completely changed. See
http://httpd.apache.org/docs/2.2/howto/auth.html for an explanation on how
the new authentication mechanism works.

Joost


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]