Re: [EMAIL PROTECTED] logging incomming traffic

2007-08-30 Thread Vincent Bray
On 30/08/2007, Eric Gorr <[EMAIL PROTECTED]> wrote:
> I was wondering if it was possible to configure apache to record how
> many bytes were sent to it from the client as well.

http://httpd.apache.org/docs/2.2/mod/mod_logio.html

Cheers,
-- 
noodl

-
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] mod_python

2007-08-30 Thread Chris Howell

Hi All,

I've installed the Apache webserver 2.2.4 onto a machine. I am trying to 
get the python mod working for the apache webserver.  I installed 
mod_python-3.3.1, for windows and I have the correct version of Python 
installed. I did everything the install asked me to do, when I edited my 
httpd.conf file for apache I added this line


LoadModule python_module modules/mod_python.so

Where all of the other load modules happen, to be.

So I shut the apache server down and I restarted it when I restart the 
server I get this error message.


"Cannot load C:/Program Files/Apache Software 
Foundations/Apache2.2/modules/mod_python.so into server. The specified 
procedure could not be found.


When I went to the modules directory, under the apache root, the 
mod_python.so file does exist so I am not sure what the problem is or 
what the solution is. Any light someone could shed on this would be 
greatly appreciated.


Regards,
Chris Howell
Software Engineer
the PYXIS innovation - /Common Ground for Digital Earth /
Kingston, Ontario
w: www.pyxisinnovation.com





Re: [EMAIL PROTECTED] logging incomming traffic

2007-08-30 Thread Joshua Slive
On 8/30/07, Eric Gorr <[EMAIL PROTECTED]> wrote:

> Sorry, I should have mentioned that I am using Apache 1.3.33 which is
> the default server under MacOSX.

Then go ahead and pull out your network sniffer, since this obsolete
version doesn't have that feature.

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] Force to Push data from a reverse proxy

2007-08-30 Thread Matus UHLAR - fantomas
> On 7/24/07, Jean-Baptiste Mayer <[EMAIL PROTECTED]> wrote: I have a trouble 
> using
> > a reverse proxy:
> >
> > Server A (HTTP) <---> Reverse-Proxy (apache-2.0) <---> Client
> >
> > The client is a java application that displays real time financial data
> > that uses HTTP as transport.
> >
> > Without the reverse proxy in the middle, everything is working fine.
> >
> > Using the reverse proxy, we loose the real time aspect of the
> > application because data come once in a while (every ten seconds or so)
> > by "big chunks".

Chunked transfer encoding probably?

On 25.07.07 18:11, Jean-Baptiste Mayer wrote:
> I solved my problem by installing and configuring squid which does not seem
> to bufferize data.

Yes, because squid doesn't support transfer encoding yet.
Maybe disabling of chunking by forcing http/1.0 protocol between proxy and
client would solve the problem between apache proxy and client too.

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]

-
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] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-08-30 Thread Matus UHLAR - fantomas
On 26.07.07 02:37, Demetri T. wrote:
> OK does anyone here know why when i run ps aux in a terminal i can see 4 
> www-data and 1 as root for apache, but when i use xfce taskmanager i see 
> the root user running all apache process?
> all this time i was thinking there was some config error.

probably XFCE taskmanager config error :-)

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...

-
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] mod_python

2007-08-30 Thread Jeff Peng

 Original-Nachricht 
> Datum: Thu, 30 Aug 2007 10:46:43 -0400
> Von: Chris Howell <[EMAIL PROTECTED]>
> 
> When I went to the modules directory, under the apache root, the 
> mod_python.so file does exist so I am not sure what the problem is or 
> what the solution is. Any light someone could shed on this would be 
> greatly appreciated.
> 

Why mod_python.so is located under apache root dir not module dir?
You many installed something wrong.
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-
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: help on apache mod_rewrite

2007-08-30 Thread Matus UHLAR - fantomas
On 28.07.07 09:30, Marc Jacobs wrote:
> I have a problem with apache, perhaps you can help... I would be glad
> if you did. I'm not an expert on the subject, so forgive me if I'm
> sounding naive
> 
> I need to create 1 virtual host that runs multiple sites (siteA.com) &
> siteB.com) located at different paths in the host.

I do not understand. Why do you think you need to run two "sites" in one
virtual host? The "sites" are called "virtual hosts" in apache.
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Boost your system's speed by 500% - DEL C:\WINDOWS\*.*

-
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] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Steve Finkelstein
Hi all,

I'm trying to redirect users to my base URL upon a 404 submission. According
to Apache's documentation, the method I'm using is not sufficient:

Note that when you specify an ErrorDocument that points to a remote URL (ie.
anything with a method such as http in front of it), Apache will send a
redirect to the client to tell it where to find the document, even if the
document ends up being on the same server. This has several implications,
the most important being that the client will not receive the original error
status code, but instead will receive a redirect status code.

I'd send like use proper headers, send a 404 to the client, then redirect
them to my base URL.

Is this possible? Should I resort to mod_rewrite versus ErrorDocument?

Thanks,

- sf


Re: [EMAIL PROTECTED] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Jeff Peng

 Original-Nachricht 
> Datum: Thu, 30 Aug 2007 11:45:05 -0400
> Von: "Steve Finkelstein" <[EMAIL PROTECTED]>
> An: users@httpd.apache.org

> I'd send like use proper headers, send a 404 to the client, then redirect
> them to my base URL.
> 
> Is this possible? Should I resort to mod_rewrite versus ErrorDocument?
> 


I don't think it's possible.Once you send 404,you don't have chance to send 30x 
for redirection again.
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
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] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Joshua Slive
On 8/30/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to redirect users to my base URL upon a 404 submission. According
> to Apache's documentation, the method I'm using is not sufficient:
>
> Note that when you specify an ErrorDocument that points to a remote URL (ie.
> anything with a method such as http in front of it), Apache will send a
> redirect to the client to tell it where to find the document, even if the
> document ends up being on the same server. This has several implications,
> the most important being that the client will not receive the original error
> status code, but instead will receive a redirect status code.
>
> I'd send like use proper headers, send a 404 to the client, then redirect
> them to my base URL.
>
> Is this possible? Should I resort to mod_rewrite versus ErrorDocument?

No, it's not possible. This is just the way HTTP works. You either get
an error code (404) or you get a redirect code (30x), you can have
both.

As a design issue, I suggest making a proper 404 page and simply
providing an obvious link on this page back to your home page. This is
clearer both for real users and for robots.

If you really want to, you can create a 404 error page that uses a
 refresh in the html to take you back to the homepage. But this
would be ugly and annoying.

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] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Bj
Why don't you use an 404 html page with an automatique redirection to your
home ?

-- 
Bj

On 8/30/07, Jeff Peng <[EMAIL PROTECTED]> wrote:
>
>
>  Original-Nachricht 
> > Datum: Thu, 30 Aug 2007 11:45:05 -0400
> > Von: "Steve Finkelstein" <[EMAIL PROTECTED]>
> > An: users@httpd.apache.org
>
> > I'd send like use proper headers, send a 404 to the client, then
> redirect
> > them to my base URL.
> >
> > Is this possible? Should I resort to mod_rewrite versus ErrorDocument?
> >
>
>
> I don't think it's possible.Once you send 404,you don't have chance to
> send 30x for redirection again.
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
> -
> 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] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Steve Finkelstein
Thanks all, makes more sense now. :-)

- sf

On 8/30/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
>
> On 8/30/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm trying to redirect users to my base URL upon a 404 submission.
> According
> > to Apache's documentation, the method I'm using is not sufficient:
> >
> > Note that when you specify an ErrorDocument that points to a remote URL
> (ie.
> > anything with a method such as http in front of it), Apache will send a
> > redirect to the client to tell it where to find the document, even if
> the
> > document ends up being on the same server. This has several
> implications,
> > the most important being that the client will not receive the original
> error
> > status code, but instead will receive a redirect status code.
> >
> > I'd send like use proper headers, send a 404 to the client, then
> redirect
> > them to my base URL.
> >
> > Is this possible? Should I resort to mod_rewrite versus ErrorDocument?
>
> No, it's not possible. This is just the way HTTP works. You either get
> an error code (404) or you get a redirect code (30x), you can have
> both.
>
> As a design issue, I suggest making a proper 404 page and simply
> providing an obvious link on this page back to your home page. This is
> clearer both for real users and for robots.
>
> If you really want to, you can create a 404 error page that uses a
>  refresh in the html to take you back to the homepage. But this
> would be ugly and annoying.
>
> 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] mod_python

2007-08-30 Thread Chris Howell

Sorry, what I meant was the directory is like htis

Apache
  Modules
mod_python.so

It is under the modules dir.

Jeff Peng wrote:

 Original-Nachricht 
  

Datum: Thu, 30 Aug 2007 10:46:43 -0400
Von: Chris Howell <[EMAIL PROTECTED]>

When I went to the modules directory, under the apache root, the 
mod_python.so file does exist so I am not sure what the problem is or 
what the solution is. Any light someone could shed on this would be 
greatly appreciated.





Why mod_python.so is located under apache root dir not module dir?
You many installed something wrong.
  


-
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] mod_python

2007-08-30 Thread Jeff Peng

 Original-Nachricht 
> Datum: Thu, 30 Aug 2007 12:01:02 -0400
> Von: Chris Howell <[EMAIL PROTECTED]>
> An: users@httpd.apache.org
> Betreff: Re: [EMAIL PROTECTED] mod_python

> Sorry, what I meant was the directory is like htis
> 
> Apache
>Modules
>  mod_python.so
> 
> It is under the modules dir.
> 

It's hard to say what's the problems only by the info you provided.
I once installed mod_python with apache2 on Linux,it went well.
Can you give a try to compile mod_python as apache's static module rather than 
DSO method?
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
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] transparent proxy support in Apache?

2007-08-30 Thread Matus UHLAR - fantomas
> Vincent Bray wrote:
> > I'm a bit confused by your terminology. From what I understand a
> > transparent proxy is the kind which is put in front of clients by
> > dodgy ISPs (such as my own) to perform things like caching and
> > nanny-filtering, without having to properly configure a proxy in the
> > user's browser. 

On 02.08.07 18:51, Jason Haar wrote:
> Yup - that's a transparent *forwarding* proxy.

no, it's an *intercepting* proxy. Looking to RFC 2616, the transparent proxy
is defined this way:

  A "transparent proxy" is a proxy that does not modify the request or
  response beyond what is required for proxy authentication and
  identification. A "non-transparent proxy" is a proxy that modifies
  the request or response in order to provide some added service to
  the user agent, such as group annotation services, media type
  transformation, protocol reduction, or anonymity filtering.

I know that many ppl call intercepting proxy a "transparent" proxy, but
that's incorrect.

... we are talking about HTTP protocol, aren't we?

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.

-
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] mod_python

2007-08-30 Thread Brian Munroe
On 8/30/07, Jeff Peng <[EMAIL PROTECTED]> wrote:

>
> Why mod_python.so is located under apache root dir not module dir?
> You many installed something wrong.

??

The location that Chris specified in the OP is correct.  It *is* in
the module directory.

One curious thing though:

'C:/Program Files/Apache Software Foundations/Apache2.2/modules/'

Foundations?  Plural?  Did you modify the default path?  I doubt that
it matters since it seems like Apache is able to see the module, just
not load it.

What version of Python are you using?  Is it from ActiveState or from
python.org?  I doubt any of that matters, but it doesn't hurt to know.

-- brian

-
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: transparent proxy support in Apache?

2007-08-30 Thread Matus UHLAR - fantomas
On 02.08.07 06:36, Jason Haar wrote:
> I'm making a WAF (Web Application Firewall)  based around Linux/Apache
> and mod_security, and as part of the design, thought that making it a
> transparent (reverse) proxy would be a good move from a disaster
> recovery perspective (i.e. if it blew up you could just wire around it
> and the backends would still be available).

replacing one SPOF (the webserver) by another SPOF (proxy) is usually not
very efficient.

And while you are talking about "transparent" proxy, this term is defined
elsewhere in different way than you think.

The reverse proxy doesn't have to be intercepting and apache does this
easily.

The intercepting proxy has no meaning for reverse proxy and apache does not
support this. And I don't think it ever will.

> Also, the WAF would primarily be used to protect HTTPS sites. Now I know
> "you can't transparently proxy HTTPS"

you can't efficiently proxy HTTPS. You can do reverse proxy, listening on
HTTPS, connecting via HTTP, and this will work well unless your webservers
need to play with client certificates, and it will be safe unless you have
unsafe network between proxies and servers.

> I've done this successfully with Squid as a normal proxy, but I really
> need the funky features of Apache as a reverse-proxy - but I want
> transparency too...

first you should make clear what do you really want and need...
squid can do intercepting, reverse proxy and SSL accelerator, but for
modifying of content you still need at least ICAP patch and some ICAP
server...
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]

-
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] Apache under MacOSX 10.4.10 (was Re: [EMAIL PROTECTED] logging incomming traffic)

2007-08-30 Thread Eric Gorr


On Aug 30, 2007, at 10:55 AM, Joshua Slive wrote:


On 8/30/07, Eric Gorr <[EMAIL PROTECTED]> wrote:


Sorry, I should have mentioned that I am using Apache 1.3.33 which is
the default server under MacOSX.


Then go ahead and pull out your network sniffer, since this obsolete
version doesn't have that feature.


What is the easiest way to switch to Apache 2.2.4 under MacOSX 10.4.10?



-
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] mod_python

2007-08-30 Thread Chris Howell

My mistake there is no "s" it is just Apache Software Foundation//blah!

I download Python 2.5 from Python.org and
the mod_python from.

www.modpython.org

I did not, alter any paths from the default install. So I am very 
bewildered.


Cheers
Chris




Brian Munroe wrote:

On 8/30/07, Jeff Peng <[EMAIL PROTECTED]> wrote:

  

Why mod_python.so is located under apache root dir not module dir?
You many installed something wrong.



??

The location that Chris specified in the OP is correct.  It *is* in
the module directory.

One curious thing though:

'C:/Program Files/Apache Software Foundations/Apache2.2/modules/'

Foundations?  Plural?  Did you modify the default path?  I doubt that
it matters since it seems like Apache is able to see the module, just
not load it.

What version of Python are you using?  Is it from ActiveState or from
python.org?  I doubt any of that matters, but it doesn't hurt to know.

-- brian

-
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] Not able to run the apache server 1.3.33 with ssl enabled

2007-08-30 Thread Matus UHLAR - fantomas
On 06.08.07 02:13, vaishali_k wrote:
> We have installed apachex_1.3.33 on Linux box.To apply patch to apache the
> following steps are performed 
> # cd /mod_ssl-2.8.24-1.3.33
> # ./configure --with-apache=/apache_1.3.33
>  --with-ssl=/apps/TurboSSL-0.9.8d
>  --enable-shared=ssl
>  --prefix=
> 
> The apache is configured and compiled and patched with TurboSSL codebase :
> 
> # cd /apache_1.3.xx/
> # make
> # make certificate
> # make install
> 
> We are able to run the apache without ssl enabled using the command:
>  # /path-to-apache/bin/apachectl start
> But if we run the apache using the ssl enabled we get an error as "httpd
> could not be started
> "
> 
> We don't find any error logs.Please find the below strace logs:
> 
> [EMAIL PROTECTED] ~]# strace /root/bin/apachectl startssl

you pobably should run strace with '-f' option to trace child processes,
strace HTTPD but try check config before doing anything else.

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.

-
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] Virtual Servers vs Virtual Private Servers

2007-08-30 Thread Bob Cohen


On Aug 29, 2007, at 3:16 PM, Joshua Slive wrote:


This sort of "wondering" question is better suited to a forum or
chat-room, rather than a technical support mailing-list.


I wouldn't say it is totally off-topic, although I agree that there
are better forums elsewhere.

There are certainly some situations where apache virtual hosts don't
provide enough isolation. For example, read through
http://wiki.apache.org/httpd/PrivilegeSeparation


Thank you Joshua.  Felicitations and good thoughts to you!

-
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] mod_python

2007-08-30 Thread Brian Munroe
On 8/30/07, Chris Howell <[EMAIL PROTECTED]> wrote:

>
> So I am very bewildered.
>

Yea me too, I have the *exact* same configuration and everything works
perfectly.  Googling tells me that there was some problems with Apache
2.2 and older versions of mod_python, but not 3.3.1.

The only suggestion I can make is maybe try posting your problem on
the mod_python list.

sorry!

-- brian

-
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] mod_python

2007-08-30 Thread Chris Howell

That's what I am going to do.

Brian Munroe wrote:

On 8/30/07, Chris Howell <[EMAIL PROTECTED]> wrote:

  

So I am very bewildered.




Yea me too, I have the *exact* same configuration and everything works
perfectly.  Googling tells me that there was some problems with Apache
2.2 and older versions of mod_python, but not 3.3.1.

The only suggestion I can make is maybe try posting your problem on
the mod_python list.

sorry!

-- brian

-
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] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-08-30 Thread Jacqui caren

Matus UHLAR - fantomas wrote:

On 26.07.07 02:37, Demetri T. wrote:

OK does anyone here know why when i run ps aux in a terminal i can see 4 
www-data and 1 as root for apache, but when i use xfce taskmanager i see 
the root user running all apache process?

all this time i was thinking there was some config error.



probably XFCE taskmanager config error :-)


uid/euid?

Jacqui

-
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] Apache under MacOSX 10.4.10 (was Re: [EMAIL PROTECTED] logging incomming traffic)

2007-08-30 Thread Dragon

Eric Gorr wrote:


On Aug 30, 2007, at 10:55 AM, Joshua Slive wrote:


On 8/30/07, Eric Gorr <[EMAIL PROTECTED]> wrote:


Sorry, I should have mentioned that I am using Apache 1.3.33 which is
the default server under MacOSX.


Then go ahead and pull out your network sniffer, since this obsolete
version doesn't have that feature.


What is the easiest way to switch to Apache 2.2.4 under MacOSX 10.4.10?

 End original message. -

I can't speak from experience with your exact configuration but I 
would simply suggest trying to compile from source.


It's relatively painless for most Unix-style systems. It can't hurt to try.

If you do make the attempt, you might want to configure it to install 
in a different location than where the existing version lives so you 
can easily roll it back if needed.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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] Apache under MacOSX 10.4.10

2007-08-30 Thread Eric Gorr


On Aug 30, 2007, at 12:53 PM, Dragon wrote:


Eric Gorr wrote:


On Aug 30, 2007, at 10:55 AM, Joshua Slive wrote:


On 8/30/07, Eric Gorr <[EMAIL PROTECTED]> wrote:

Sorry, I should have mentioned that I am using Apache 1.3.33  
which is

the default server under MacOSX.


Then go ahead and pull out your network sniffer, since this obsolete
version doesn't have that feature.


What is the easiest way to switch to Apache 2.2.4 under MacOSX  
10.4.10?

 End original message. -

I can't speak from experience with your exact configuration but I  
would simply suggest trying to compile from source.


It's relatively painless for most Unix-style systems. It can't hurt  
to try.


If you do make the attempt, you might want to configure it to  
install in a different location than where the existing version  
lives so you can easily roll it back if needed.


Yes, I am sure I can build and install it from source without any  
trouble.


What I am uncertain of however is how to get the machine to launch  
the Apache2 webserver as opposed to the the default one installed on  
the system.


I am also assuming that if I install Apache2, I would no longer be  
able to use the Sharing panel to turn the server on/off and would  
need to do so from the command line.


I can't imagine this is terribly difficult...I just don't know the  
answer.





-
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] Apache under MacOSX 10.4.10

2007-08-30 Thread Dragon

Eric Gorr sent the message below at 10:01 8/30/2007:


Yes, I am sure I can build and install it from source without any
trouble.

What I am uncertain of however is how to get the machine to launch
the Apache2 webserver as opposed to the the default one installed on
the system.

I am also assuming that if I install Apache2, I would no longer be
able to use the Sharing panel to turn the server on/off and would
need to do so from the command line.

I can't imagine this is terribly difficult...I just don't know the
answer.

 End original message. -

If you were running a flavor of Redhat or a similar Linux 
distribution, I'd be able to help you.


Unfortunately, how Apple has chosen to do things is out of my area of 
expertise.


I do know that the current Mac OS is based on a flavor of BSD, I am 
wondering if they might use a similar start-up scripting method as 
the BSD distributions. At any rate, it would be something to ping the 
Mac support lists about to see what they can do to help you.




Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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] SMTP and POP Thru Apache

2007-08-30 Thread Matus UHLAR - fantomas
On 13.08.07 01:45, Bharathi raja wrote:
> How to configure Apache to connect to local Senamails SMTP and POP3 Server
> i.e i need to configure like one shown below

apache is HTTP server, not SMTP nor POP3

> i will configure my client using the above mentioned domainnames... 
> qns
> 1. How to authenticate clients
> 2. how to configure to connect to local SMTP and POP3

only if your clients can abuse the CONNECT facility of proxy module.
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
LSD will make your ECS screen display 16.7 million colors

-
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] Apache under MacOSX 10.4.10

2007-08-30 Thread paredes
Apache2.2.4 builds without a problem on OS-X.  To use the control panel 
we use the following:


Edit /usr/local/apache2/httpd.conf to change default location of  the 
PID file from:


PidFile /usr/local/apache2/logs/httpd.pid
to:
PidFile /private/var/run/httpd.pid

Link /usr/sbin/apachectl to /usr/local/apache2/bin/apachectl:

cd /usr/sbin
sudo mv apachectl apachectl.orig
sudo ln -s /usr/local/apache2/bin/apachectl apachectl

Bill Paredes
Albert Einstein College of Medicine

Dragon wrote:

Eric Gorr sent the message below at 10:01 8/30/2007:


Yes, I am sure I can build and install it from source without any
trouble.

What I am uncertain of however is how to get the machine to launch
the Apache2 webserver as opposed to the the default one installed on
the system.

I am also assuming that if I install Apache2, I would no longer be
able to use the Sharing panel to turn the server on/off and would
need to do so from the command line.

I can't imagine this is terribly difficult...I just don't know the
answer.

 End original message. -

If you were running a flavor of Redhat or a similar Linux 
distribution, I'd be able to help you.


Unfortunately, how Apple has chosen to do things is out of my area of 
expertise.


I do know that the current Mac OS is based on a flavor of BSD, I am 
wondering if they might use a similar start-up scripting method as the 
BSD distributions. At any rate, it would be something to ping the Mac 
support lists about to see what they can do to help you.




Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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] encoded slashes (2F%) in URLs being decoded

2007-08-30 Thread Rob Lintern
Hello,

We are having some difficulty with encoded slashes being decoded in our 
URLs. According to the version.signature file we are using IBM HTTP Server 
6.0.2.1.

We have set the 'AllowEncodedSlashes' directive to 'On' which gets us past 
a 404 error, but the encoded slashes are decoded by the time they get to 
our application running on WebSphere Application Server 6.0.2.19 with http 
plugin 6.0.0.0.

For example:

/wfsp/wfsp/registry/pullProject/%2Flwpcn06+SSL+test4

shows up as

/wfsp/wfsp/registry/pullProject//lwpcn06+SSL+test4

I have seen related postings and bug reports in regards to 'proxy' 
functionality, however from looking at our httpd.conf all proxy content is 
commented out.

Any ideas would be greatly appreciated.

Cheers,
Rob

 

httpd.conf
Description: Binary 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] Apache 2.2.x mod_rewrite and mod_proxy and pooled connections

2007-08-30 Thread Axel-Stéphane SMORGRAV
Let me rephrase my previous post.

One proxy worker is created for each ProxyPass directive or balancer member. A 
connection pool is associated with each worker. One single remote server is 
associated with each connection pool, and thus with each worker. This allows 
mod_proxy to establish persistent connections to backend servers that can be 
used across requests from different clients.

When using mod_rewrite for proxying (RewriteRule ... [P]), the backend 
connections are always created on the fly for each client request and do not 
benefit from the use of pooled (persistent) connections.

I am wondering whether it would be possible to enhance the implementation of 
mod_proxy so that workers and associated connection pools can be allocated 
whenever a new backend server is detected through the arrival of a request for 
which there is no worker.

In ap_proxy_pre_request() (modules/proxy/proxy_util.c: line 1395), if no worker 
is found, a default worker is returned. Instead a new worker could be created 
for scheme://address/

modules/proxy/proxy_util.c: line 1395 (current implementation in 2.2.4)
else if (r->proxyreq == PROXYREQ_REVERSE) {
if (conf->reverse) {
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
  "proxy: *: found reverse proxy worker for %s",
   *url);
*balancer = NULL;
*worker = conf->reverse;
access_status = OK;
}
 
-ascs

-Message d'origine-
De : Axel-Stéphane SMORGRAV 
Envoyé : mercredi 29 août 2007 19:18
À : users@httpd.apache.org
Objet : [EMAIL PROTECTED] Apache 2.2.x mod_rewrite and mod_proxy and pooled 
connections

Hello folks,

I have been doing some testing with Apache 2.2.4 recently, and one of the 
things I am particularly interested in is the pooling of backend connections of 
mod_proxy's as this makes it possible to maintain persistent connections to 
backend systems across requests from different clients no matter whether the 
client connections are persistent or not.


-
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]