Re: [us...@httpd] how to prevent mp3 downloading ?

2009-04-08 Thread J. Bakshi
Bruno - e-comBR wrote: > You can difficult it to be downloaded in massive way by automated > scripts to prevent somebody doing massive download if you want. > > But, preventing the downloading and allowing it at the same time is > impossible. You have two options: allow or deny. > > Allowing the do

Re: [us...@httpd] Query string encoding

2009-04-08 Thread Igor Cicimov
Just an idea ... have you tried putting the hexadecimal representation of the "+" symbol so apache translates it into "+" when encoding? On Wed, Apr 8, 2009 at 11:19 PM, Clodoaldo Pinto Neto < clodoaldo.pi...@gmail.com> wrote: > 2009/4/7 Clodoaldo Pinto Neto : > > 2009/4/3 André Warnier : > >> Cl

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread deh
awarnier wrote: > > deh wrote: >> >> awarnier wrote: >>> Hi. >>> >>> Maybe the very first thing you need to do, if you are going to use your >>> email program to post to lists such as this one, is to turn off all >>> these nice features like "view as html" and "send as html". View and >>> c

Re: [us...@httpd] No VirtualHosts Issue

2009-04-08 Thread Viaduct Productions
sh: apachectl/apache2ctl/httpd/: No such file or directory I am on my way out. On 8-Apr-09, at 8:24 PM, Eric Covener wrote: Can you include a full apachectl/apache2ctl/httpd/ -S? Rich in Toronto ...now go get on your bike

Re: [us...@httpd] No VirtualHosts Issue

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 8:21 PM, Viaduct Productions wrote: > So 1 NameVirtualHost *:80 per ? > > I've only had that once on my previous servers. > > I just entered one per, just before, and that error came up 11 times. > No, 1:n. Can you include a full apachectl/apache2ctl/httpd/ -S? -- Eric C

Re: [us...@httpd] No VirtualHosts Issue

2009-04-08 Thread Viaduct Productions
So 1 NameVirtualHost *:80 per ? I've only had that once on my previous servers. I just entered one per, just before, and that error came up 11 times. On 8-Apr-09, at 8:17 PM, Eric Covener wrote: You should have only 1 NameVirtualHost for "n" matching VirtualHost containers. Extras can trigg

Re: [us...@httpd] No VirtualHosts Issue

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 8:03 PM, Viaduct Productions wrote: > Hi folks.  I seem to be having some issues with vhosts.  The error: > > [Wed Apr 08 19:53:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts > Syntax OK You should have only 1 NameVirtualHost for "n" matching VirtualHost containe

[us...@httpd] No VirtualHosts Issue

2009-04-08 Thread Viaduct Productions
Hi folks. I seem to be having some issues with vhosts. The error: [Wed Apr 08 19:53:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts Syntax OK My rich.conf is indeed included, and is used on my development box. I've created a handful of local "domains" so that I can split up site

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread André Warnier
Eric Covener wrote: On Wed, Apr 8, 2009 at 6:19 PM, Eric Covener wrote: Seems like a simple proxy reverse proxy might be sufficient One too many proxies! What do you do with the responses from both servers though ? - The

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 6:19 PM, Eric Covener wrote: > Seems like a simple proxy reverse proxy might be sufficient One too many proxies! -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 6:09 PM, André Warnier wrote: > John Oliver wrote: >> >> On Wed, Apr 08, 2009 at 04:16:32PM -0400, Eric Covener wrote: >>> >>> On Wed, Apr 8, 2009 at 1:37 PM, John Oliver >>> wrote: Is it possible for an instance of httpd to basically copy all traffic it rece

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread André Warnier
John Oliver wrote: On Wed, Apr 08, 2009 at 04:16:32PM -0400, Eric Covener wrote: On Wed, Apr 8, 2009 at 1:37 PM, John Oliver wrote: Is it possible for an instance of httpd to basically copy all traffic it receives to another instance of httpd on another host? No -- You want something much low

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread André Warnier
deh wrote: awarnier wrote: Hi. Maybe the very first thing you need to do, if you are going to use your email program to post to lists such as this one, is to turn off all these nice features like "view as html" and "send as html". View and compose and send as plain text, or you are going t

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread John Oliver
On Wed, Apr 08, 2009 at 04:16:32PM -0400, Eric Covener wrote: > On Wed, Apr 8, 2009 at 1:37 PM, John Oliver wrote: > > Is it possible for an instance of httpd to basically copy all traffic it > > receives to another instance of httpd on another host? > > No -- You want something much lower-level,

[us...@httpd] Possible problem with mod_proxy/mod_proxy_balancer BalancerMembers on Apache 2.2.8+

2009-04-08 Thread Michael Whiteley
After upgrading from Apache 2.2.6 to Apache 2.2.9, when gracefully shutting down one of our Embedded Tomcats on our application server, we notice a temporary outage (503) from our proxy balancer before the Hot Standby (status=+H) takes over. Layout: - Application proxy server (Apache 2.2.9) -

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread deh
awarnier wrote: > > Hi. > > Maybe the very first thing you need to do, if you are going to use your > email program to post to lists such as this one, is to turn off all > these nice features like "view as html" and "send as html". View and > compose and send as plain text, or you are going

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 1:37 PM, John Oliver wrote: > Is it possible for an instance of httpd to basically copy all traffic it > receives to another instance of httpd on another host? No -- You want something much lower-level, like a TCP tunnel or a load balancer. Apache will always decrypt/re-enc

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread John Oliver
On Wed, Apr 08, 2009 at 07:56:39PM +0200, André Warnier wrote: > Ok, part of my answer below is because I missed the subject of your > post. It still does not seem to make much sense hhowever, so explain a > bit more. > > André Warnier wrote: > >John Oliver wrote: > >>Is it possible for an insta

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread André Warnier
Hi. Maybe the very first thing you need to do, if you are going to use your email program to post to lists such as this one, is to turn off all these nice features like "view as html" and "send as html". View and compose and send as plain text, or you are going to confuse yourself and others

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread André Warnier
Ok, part of my answer below is because I missed the subject of your post. It still does not seem to make much sense hhowever, so explain a bit more. André Warnier wrote: John Oliver wrote: Is it possible for an instance of httpd to basically copy all traffic it receives to another instance of

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread deh
Krist van Besien wrote: > > On Wed, Apr 8, 2009 at 5:32 AM, deh wrote: >> >> I wanted to setup my web pages that are on verizon.net on my local >> network >> with a machine running Suse 11.1/apache2.  I downloaded the web pages >> with >> 'wget -a -k' into a directory and set the directory/root

Re: [us...@httpd] "tee" SSL traffic?

2009-04-08 Thread André Warnier
John Oliver wrote: Is it possible for an instance of httpd to basically copy all traffic it receives to another instance of httpd on another host? As put, the question just deserves a "yes". I'll be nice though : That's certainly possible, most of the time. But why would you want to do that,

[us...@httpd] "tee" SSL traffic?

2009-04-08 Thread John Oliver
Is it possible for an instance of httpd to basically copy all traffic it receives to another instance of httpd on another host? -- *** * John Oliver http://www.john-oliver.net/ * *

Re: [us...@httpd] [SOLVED] RewriteRule with .flv extension

2009-04-08 Thread Josh Trutwin
On Wed, 8 Apr 2009 12:31:34 -0400 Brian Mearns wrote: > On Wed, Apr 8, 2009 at 12:19 PM, Josh Trutwin > wrote: > > I'm dealing with something odd and I can't figure out what to > > make of it - I have the following rewrite rule: > > > > RewriteRule > > ^([0-9]+)/([a-z0-9]+)/get_flash\.php$ /get_

Re: [us...@httpd] RewriteRule with .flv extension

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 12:19 PM, Josh Trutwin wrote: > I'm dealing with something odd and I can't figure out what to make of > it - I have the following rewrite rule: > > RewriteRule > ^([0-9]+)/([a-z0-9]+)/get_flash\.php$ /get_file.php?id=$1&flash=1&key=$2 > [L] > > then a URL liks this /123/2313

[us...@httpd] RewriteRule with .flv extension

2009-04-08 Thread Josh Trutwin
I'm dealing with something odd and I can't figure out what to make of it - I have the following rewrite rule: RewriteRule ^([0-9]+)/([a-z0-9]+)/get_flash\.php$ /get_file.php?id=$1&flash=1&key=$2 [L] then a URL liks this /123/2313412sdfsdf/get_flash.php works fine. BUT if I change my rule to this

Re: [us...@httpd] HTTP Headers appear in HTML page

2009-04-08 Thread Marius Hanganu
Thanks Eric and Prasanna. To answer - all .htm pages are served by tomcat, so apache acts only as a proxy. Some .htm pages work, others don't. When I try the HTTP connector from Tomcat, these pages that don't work return an incomplete status line: "HTTP/1.x 200" , instead of "HTTP/1.x 200 OK" (t

RE: [us...@httpd] Apache memory hog

2009-04-08 Thread Adrian Marsh
Ok, So I've switched to the collab.net version of the subversion package. This includes a 2.2.8 version of apache. They also only include 3 modules I their config (python_module, dav_svn_module, authz_svn_module). This seems to be enough to get SSL and LDAP lookups working for me. After aro

[us...@httpd] Different type of authentication depending on IP

2009-04-08 Thread tobbel
I have a little problem that you guys may help me wtih... I have a directory on my apache that i want to protect. >From outside our internal network only specific hosts togheter with a specific user should be allowed access to the directory. In apache terms: Allow from (external_host) Require val

Re: [us...@httpd] SSl Redirect

2009-04-08 Thread Lists
Stephen Goldschmidt wrote: [snip] my question is the certificate is only assigned to one domain name. www.domain.com so in my browser if i go to www.domain.com or domain.com the ssl certificate works with no problems. [snip] Just a side comment, I would guess your cert is "assigned" to 'doma

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-08 Thread Ed Lazor
>> Yes it is possible to do with a VirtualDocumentRoot but the thing to >> remember is the value of DocumentRoot does not equal VirtualDocumentRoot. >> If DocumentRoot is important in your applications you can use >> multiple VirtualHosts with SSL by using different port numbers. Doesn't that requ

Re: [us...@httpd] HTTP Headers appear in HTML page

2009-04-08 Thread Prasanna Ram Venkatachalam
You mentioned some html pages only have this wierd problem. Are all those problematic htmls are in tomcat or only some of them in tomcat and rest in Apachel? Regards Prasanna Ram On Wed, Apr 8, 2009 at 3:32 PM, Marius Hanganu wrote: > Thanks for responding. > > I am indeed using mod_proxy, but

RE: [us...@httpd] SSl Redirect

2009-04-08 Thread Stephen Goldschmidt
Thanks for getting back to me. I tried adding the code as you described below but the server seemed to go into a loop and did not open the page. So what I did instead was I added a NameVirtualHost 192.168.100.25:443 and then in my virtual host conf file added a new virtual host with a redirect

Re: [us...@httpd] SSl Redirect

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 9:04 AM, Stephen Goldschmidt wrote: > Hello > > I am using apache and have a Virtualhost enabled with ssl and this works > great, using a godaddy ssl cert. > > my question is the certificate is only assigned to one domain name. > www.domain.com > > so in my browser if i go t

Re: [us...@httpd] Query string encoding

2009-04-08 Thread Clodoaldo Pinto Neto
2009/4/7 Clodoaldo Pinto Neto : > 2009/4/3 André Warnier : >> Clodoaldo Pinto Neto wrote: >>> >>> I want to rewrite a url to a query string like this: >>> >>> from http://example.com/x+ to http://example.com/var=x%2B >>> or >>> from http://example.com/x%2B to http://example.com/var=x%2B >>> >>> Usi

Re: [us...@httpd] Custom http auth

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 9:04 AM, Tom Evans wrote: > On Wed, 2009-04-08 at 14:43 +0200, m...@bortal.de wrote: >> Hello List, >> >> is there a way to build or code or make  a custom HTTP Auth? The plain >> htaccess one looks ugly and has not all the features that i want. >> >> Are there any alternati

Re: [us...@httpd] Custom http auth

2009-04-08 Thread Tom Evans
On Wed, 2009-04-08 at 14:43 +0200, m...@bortal.de wrote: > Hello List, > > is there a way to build or code or make a custom HTTP Auth? The plain > htaccess one looks ugly and has not all the features that i want. > > Are there any alternatives? > > Cheers, > Mario > http://httpd.apache.org/d

[us...@httpd] SSl Redirect

2009-04-08 Thread Stephen Goldschmidt
Hello I am using apache and have a Virtualhost enabled with ssl and this works great, using a godaddy ssl cert. my question is the certificate is only assigned to one domain name. www.domain.com so in my browser if i go to www.domain.com or domain.com the ssl certificate works with no problem

Re: [us...@httpd] Custom http auth

2009-04-08 Thread André Warnier
m...@bortal.de wrote: Hello List, is there a way to build or code or make a custom HTTP Auth? The plain htaccess one looks ugly and has not all the features that i want. Are there any alternatives? There are plenty. First, you should have a look at the mod_auth_ modules available in t

Re: [us...@httpd] how to prevent mp3 downloading ?

2009-04-08 Thread Bruno - e-comBR
You can difficult it to be downloaded in massive way by automated scripts to prevent somebody doing massive download if you want. But, preventing the downloading and allowing it at the same time is impossible. You have two options: allow or deny. Allowing the download only for a certain user-agen

[us...@httpd] Custom http auth

2009-04-08 Thread m...@bortal.de
Hello List, is there a way to build or code or make a custom HTTP Auth? The plain htaccess one looks ugly and has not all the features that i want. Are there any alternatives? Cheers, Mario - The official User-To-User suppo

Re: [us...@httpd] apache fails to show jpg and not find files

2009-04-08 Thread Krist van Besien
On Wed, Apr 8, 2009 at 5:32 AM, deh wrote: > > I wanted to setup my web pages that are on verizon.net on my local network > with a machine running Suse 11.1/apache2.  I downloaded the web pages with > 'wget -a -k' into a directory and set the directory/root and directory for > the apache .conf fil

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-08 Thread Eric Covener
On Wed, Apr 8, 2009 at 3:59 AM, Nick Cooper wrote: > Yes it is possible to do with a VirtualDocumentRoot but the thing to > remember is the value of DocumentRoot does not equal VirtualDocumentRoot. I think it's worth emphasizing that this is a general FAQ, and not unique to SSL. -- Eric Cove

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-08 Thread Brian Mearns
On Wed, Apr 8, 2009 at 3:59 AM, Nick Cooper wrote: > 2009/4/8 Ed Lazor >> >> > Despite common quotations to the contrary, you /can/ successfully use >> > Name-based Virtual Hosts with SSL. The caveat is that you have to use >> > the same certificate and all the same SSL settings for all the virtu

Re: [us...@httpd] HTTP Headers appear in HTML page

2009-04-08 Thread Marius Hanganu
Thanks for responding. I am indeed using mod_proxy, but no special configuration. Only ProxyPass settings. Thanks, Marius On Wed, Apr 8, 2009 at 8:33 AM, Prasanna Ram Venkatachalam wrote: > Its really wierd! > I think 'Apache-Coyote' is the server header from Tomcat and if the header > is from

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-08 Thread Nick Cooper
2009/4/8 Ed Lazor > > Despite common quotations to the contrary, you /can/ successfully use > > Name-based Virtual Hosts with SSL. The caveat is that you have to use > > the same certificate and all the same SSL settings for all the virtual > > hosts, but that seems to be exactly what you're aski