Re: [us...@httpd] mod_proxy auth from PHP?

2009-12-20 Thread Devraj Mukherjee
On Mon, Dec 21, 2009 at 1:24 PM, Perl Whore wrote: > Ah, thanks. This is a good idea. I didn't know about mod_auth_memcookie. > > Yes, it'll be great if you share your configuration so I can have a > better understanding. > The following is what my configuration sort of looks like (very similar t

Re: [us...@httpd] mod_proxy auth from PHP?

2009-12-20 Thread Perl Whore
Ah, thanks. This is a good idea. I didn't know about mod_auth_memcookie. Yes, it'll be great if you share your configuration so I can have a better understanding. On Mon, Dec 21, 2009 at 6:21 AM, Devraj Mukherjee wrote: > On Mon, Dec 14, 2009 at 11:04 PM, Perl Whore wrote: >> Here is the situat

[us...@httpd] protecting directories

2009-12-20 Thread Zachary Uram
I am running Apache 2 in Linux and have several websites. Say site A is in /var/www/a and there is a directory /var/www/a/foo/ and foo/ has 3 .html files but I only wish to serve index.html so how do I protect the other files so that people can't fish for the name to find them. Also how do I preve

Re: [us...@httpd] Module to accept and parse POST in JSON

2009-12-20 Thread Devraj Mukherjee
It might help if you describe what you are trying to achieve and we might be able to give you a better answer. On Sun, Dec 13, 2009 at 3:09 AM, Kevac Marko wrote: > Hello > > Is there any module similar to mod_form > (http://apache.webthing.com/mod_form/) which is able to accept and > parse POST

Re: [us...@httpd] mod_proxy auth from PHP?

2009-12-20 Thread Devraj Mukherjee
On Mon, Dec 14, 2009 at 11:04 PM, Perl Whore wrote: > Here is the situation: > > I have a php login page at https://login.mydomain.com and an internal > server listening only on localhost http://localhost:12345 > > I want mod_proxy to send to the internal server only if auth was > successful from

Re: [us...@httpd] reverse proxy with apache 1.3 and apache 2.2

2009-12-20 Thread Devraj Mukherjee
At first guess it seems like your server intra-8.lan is dropping connections for the new server. Does intra-8.lan restrict connections from certain IPs? On Thu, Dec 17, 2009 at 11:54 PM, Jérémie G wrote: > Hello, > > I have to migrate a working reverse proxy from apache-ssl > 1.3.33-6sarge3 to a

Re: [us...@httpd] Is it possible to disable the Server header from mod_proxy destination?

2009-12-20 Thread Devraj Mukherjee
Yes, you can use mod_headers to change the headers on the proxy. On Fri, Dec 18, 2009 at 3:33 AM, Perl Whore wrote: > I'm using the [P] flag with mod_rewrite to forward requests to an > internal application server but the Server header returned is that of > the application server's and not Apache

Re: [us...@httpd] Allowing users access to their websites (Possibly OT?)

2009-12-20 Thread Devraj Mukherjee
I have experienced something similar with applications that ship .htaccess files to override parameters for the web server and / or PHP. These .htaccess files override the settings for your WebDAV connections. I ended up creating a virtual host for the WebDAV with a separate domain name and turned

Re: [us...@httpd] mod_auth_form in 2.2

2009-12-20 Thread Devraj Mukherjee
Hi Jeff, I was faced with the same issue and finally concluded that it was easier not to try and recompile the mod_auth_form for httpd 2.2. Instead I worked around by using mod_auth_memcookie http://authmemcookie.sourceforge.net/ and wrote my own form. Our implementation consisted of a custom two

[us...@httpd] Official websocket implementation in Apache?

2009-12-20 Thread Devraj Mukherjee
Hi all, We are working on a project that could really make use of Websockets. We are currently using the Google pywebsocket project but are concerned about performance. pywebsocket is based around mod_python and is available at http://pywebsocket.googlecode.com/ Does anyone have any opinions on m

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Guruprasad Jakka
I will trying posting it in the dev list. Thanks ! On Sun, Dec 20, 2009 at 4:45 AM, Jonathan Zuckerman wrote: > On Sun, Dec 20, 2009 at 1:42 AM, Jonathan Zuckerman > wrote: > > On Sun, Dec 20, 2009 at 12:37 AM, Krist van Besien > > wrote: > >> On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG > w

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Jonathan Zuckerman
On Sun, Dec 20, 2009 at 1:42 AM, Jonathan Zuckerman wrote: > On Sun, Dec 20, 2009 at 12:37 AM, Krist van Besien > wrote: >> On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG >> wrote: >>> I am referring to the Apache code written in C. I would like to see if all >>> the paths are exercised for - r

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Guruprasad JG
Ok, here is what I am trying to do. I have modified the kernel to track some of the system calls made by apache at run time. I want to ensure that all possible invocations of those system calls in any place in the apache code are invoked. This means that if I run gcov or any code coverage tool on t

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Jonathan Zuckerman
On Sun, Dec 20, 2009 at 12:37 AM, Krist van Besien wrote: > On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG > wrote: >> I am referring to the Apache code written in C. I would like to see if all >> the paths are exercised for - request processing, resource management, >> connection pooling, and c

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Krist van Besien
On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG wrote: > I am referring to the Apache code written in C. I would like to see if all > the paths are exercised for - request processing, resource management, > connection pooling, and configuration directives of the apache core. This > would be more li