Re: [users@httpd] SSL Smartcard and Chrome browser

2011-10-05 Thread Devraj Mukherjee
How is this an Apache question? On Tue, Oct 4, 2011 at 1:21 AM, Margus Pärt wrote: > Hello! > > > Problem #1 > > 1. Log in to site1.com with Smartcard (and enter PIN1) > 2. Go to site2.com and enter with Smartcard > > > Result: > No PIN1 is asked. (Chrome caches PIN1) > > > > Problem #2 > > 1. Lo

Re: [users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Devraj Mukherjee
On Wed, Oct 5, 2011 at 4:15 PM, Ben Timby wrote: > On Tue, Oct 4, 2011 at 8:51 PM, Devraj Mukherjee wrote: >> Is it possible to configure Apache to ask a script to perform the >> authentication / authorization but allow Apache to serve the content? > > Yes, with mo

Re: [users@httpd] Could Apache login support CAPTCHA and lockout?

2011-10-04 Thread Devraj Mukherjee
Hi Neal, I have used http://authmemcookie.sourceforge.net/ previously to create a form based authentication for web sites. The form can be in any scripting language Apache supports so CAPTCHA should be easy to implement. On Tue, Oct 4, 2011 at 11:44 PM, Neal Rhodes wrote: > We have bunches of w

[users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Devraj Mukherjee
Hi all, We have a largish application written in Python / MySQL running under Apache 2.2.x + mod_wsgi (Ubuntu 11.04). Part of the application requires us to deliver large number of documents to each user. Problem being each user has different levels of access (based on roles they have in an appli

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Devraj Mukherjee
On Fri, Jul 8, 2011 at 9:54 AM, Michael B Allen wrote: > This is a wreck and I must say I don't think it has much to do with > PHP. It has to do with the CGI model which is all but dead. > Considered Python via mod_wsgi? - The o

Re: [users@httpd] Invoking PHP without .php extension?

2011-07-07 Thread Devraj Mukherjee
Hi, If your Rewrite rule reads something like this RewriteRule ^api/(.*) api-gateway.php [L] Then basically you can extract the last few bit using regular expression in our case $urlParts = null; preg_match('/api\/([^\/]+)\/([0-9]+)*/', $_SERVER['REQUEST_URI'], $urlParts); $handlerName = coun

Re: [users@httpd] Caching module

2011-04-01 Thread Devraj Mukherjee
We found this while we were doing some research, http://code.google.com/p/modmemcachecache/ Although our solution ended up being caching on an application level. If you are a little more specific about your problem, we might be able to share a little more. On Sat, Apr 2, 2011 at 10:24 AM, Mohit

[users@httpd] SetEnv scope

2011-03-30 Thread Devraj Mukherjee
Hi all, We find it quite handy to use SetEnv to store configuration variables for our PHP / Python Web apps. Helps us keep configuration separate to the application, hence moving code from development to production environments becomes quite simple. Our SetEnvs are generally defined in our Virtu

Re: [users@httpd] Filtering HTTPS Access

2011-03-16 Thread Devraj Mukherjee
Is there a reason you dont want to use Rewrite rules? On Sat, Mar 12, 2011 at 5:27 AM, Farid Izem wrote: > Hi, > > I'm currently working on a configuration to force HTTPS by directory. > Configuration looks like : > > > SSLOptions StrictRequire > SSLRequireSSL > ErrorDocument 403 https://mywebse

Re: [users@httpd] Reverse Proxying to 2 backends, how to keep the URL-directory prefix having relative paths?

2011-02-11 Thread Devraj Mukherjee
On Sat, Feb 12, 2011 at 1:57 PM, Nick Kew wrote: > On Fri, 11 Feb 2011 22:52:25 +0100 > Nick Rudnick wrote: > > >> I run into problems with the second backend, as its relative paths lack >> the wiki/ prefix. > > http://www.apachetutor.org/admin/reverseproxies > That article uses mod_proxy_html t

Re: [users@httpd] mod_ssl, erratic performance

2011-01-22 Thread Devraj Mukherjee
I found that turning KeepAlive On makes a huge difference to SSL performance (or performance in general). On Sat, Jan 22, 2011 at 11:53 AM, wrote: > Solaris 10 > Apache version: 2.2.11 & 2.2.17 (32 &64 bit) > > We recently moved our production webserver from a sparc platform (T2000) to > an x86

Re: [users@httpd] Password Protection Ignored

2011-01-22 Thread Devraj Mukherjee
Have you checked the Order directive? Also I usually have the Basic authentication in a Location tag to ensure its been applied to the right URL. On Sat, Jan 22, 2011 at 11:45 PM, --[ UxBoD ]-- wrote: > Hi, > > I have a reports directory I wish to secure and have created the necessary > .htacce

Re: [users@httpd] Help with config

2011-01-13 Thread Devraj Mukherjee
Hi Bob, Are you able to post error messages from your HTTPD error log? Thanks. On Thu, Jan 13, 2011 at 11:41 PM, Bob Wilson wrote: > Can any one help with the initial configuration of Apache? > > I was told that to make localhost point to a alternative directory I > should change both the 'Docu

Re: [us...@httpd] RewriteCond %{HTTPS} =on

2011-01-11 Thread Devraj Mukherjee
Condition satisfies if HTTPS protocol is in use. http://www.askapache.com/htaccess/http-https-rewriterule-redirect.html On Tue, Jan 11, 2011 at 7:01 PM, Tushar Chavan wrote: > Hi  Experts, > > I am bit confused with 'RewriteCond %{HTTPS} =on'. > > Can you please tell me, what is the function of

Re: [users@httpd] HTTP authentication using HTTP

2011-01-11 Thread Devraj Mukherjee
Hi Anders, Depending on what the directories contains (eg. your app) I would nearly be tempted to using OAuth or one of the open authentication protocols. I realise that its not the same as Basic authentication where the authenticated session is generated by another server. Just my two cents wor

Re: [us...@httpd] SQL Server authentication

2011-01-11 Thread Devraj Mukherjee
Hi Paolo, I found this looking for a solution to my MySQL authentication post, might help. http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html Says that it supports ODBC. Good luck. On Tue, Jan 11, 2011 at 7:58 PM, Paolo DiCanio wrote: > > Hi, > > My Apache server currently uses a passwd f

[us...@httpd] mod_auth_mysql under Ubuntu 10.04 different to CentOS 5.5?

2011-01-10 Thread Devraj Mukherjee
Hi all, Is mod_auth_mysql an official Apache module? I have successfully used it under a CentOS 5.5 box for a couple of years now, installed like so http://dev.e-taxonomy.eu/trac/wiki/ApacheMySQLAuthentication We are migrating to an Ubuntu 10.04 VM, and the module distributed by the package liba

Re: [us...@httpd] CGI-BIN

2010-10-28 Thread Devraj Mukherjee
Hi Motty, On Fri, Oct 29, 2010 at 9:11 AM, motty.cruz wrote: > Hello, > I'm trying  to get apache to execute cgi scripts outside  cgi-bin > directory(/usr/local/www/cgi-bin) instead I want to run scripts from > /usr/local/www/directory. I google it but most furums are for Linux. My > machine is a

Re: [us...@httpd] mod_proxy and POST requests

2010-09-07 Thread Devraj Mukherjee
On Tue, Sep 7, 2010 at 5:21 PM, Rainer Jung wrote: > On 07.09.2010 06:53, Devraj Mukherjee wrote: >> >> A particular requests happens to be a POST request and the proxy fails >> to proxy the request. >> >> Reading the documentation suggests that this is kno

[us...@httpd] mod_proxy and POST requests

2010-09-06 Thread Devraj Mukherjee
Hi all, I am using Apache as a reverse proxy to proxy Lotus iNotes 8.5.1. iNotes is moving to an Ajax based interface which uses JSON strings to fetch data from the server. A particular requests happens to be a POST request and the proxy fails to proxy the request. Reading the documentation sugg

Re: [us...@httpd] Multiple IPs NATed to apache

2010-05-23 Thread Devraj Mukherjee
If you have NATed the addresses, the local interface has no idea about the external addresses. Hence the VirtualHost will be defined on the local IP. I don't see this to be a problem unless you want to use SSL. Or map each external IP to a different internal IP, for transparency in your configura

Re: [us...@httpd] Deny from all force

2010-04-11 Thread Devraj Mukherjee
here. The web is about freedom of information. On Mon, Apr 12, 2010 at 2:25 AM, Nilesh Govindarajan wrote: > On 04/10/10 13:53, Devraj Mukherjee wrote: >> >> Hi Nilesh, >> >> Deny and Allow option override can be globally configured as such >> http://httpd.apac

Re: [us...@httpd] Deny from all force

2010-04-10 Thread Devraj Mukherjee
Hi Nilesh, Deny and Allow option override can be globally configured as such http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride I was wondering how and more importantly WHY you plan to block users from particular countries? On Wed, Apr 7, 2010 at 3:15 PM, Nilesh Govindarajan wrote: >

Re: [us...@httpd] RE: Apache 1.3.41 + SSL

2010-04-10 Thread Devraj Mukherjee
Hi Motty, According to Networking handbook on Freebsd's site http://www.freebsd.org/doc/handbook/network-apache.html Section 29.7.5.1 mod_ssl "If you have not yet installed Apache, then a version of Apache 1.3.X that includes mod_ssl may be installed with the www/apache13-modssl port. SSL suppor

Re: [us...@httpd] htpasswd is working in only one machine

2010-03-28 Thread Devraj Mukherjee
On Wed, Mar 24, 2010 at 11:42 PM, Wagner Pereira wrote: > Hi, folks. > > I made all the configs described in the manual, but the htpasswd/htaccess > authentication method is working only in my machine. > > It means that just for me it is necessary provide the user/password for > access the Rancid

Re: [us...@httpd] Reverse Proxy incorrectly transform content

2010-02-10 Thread Devraj Mukherjee
Hi Pongtawat, We have worked on a similar issue with the Pentaho business intelligence suite. If you are using Apache 2.2 + You can use mob_substitute and have rules that change the domain name and fix these issues. I believe these issues are caused by dynamically generated URLs via JavaScript et

Re: [us...@httpd] Web page usage and monitoring

2010-02-10 Thread Devraj Mukherjee
We use Google analytics a lot as well, it seems to work quite well and gather extra information about the browser etc. Not Apache related but works well. On Wed, Feb 10, 2010 at 5:15 AM, Dorrian, William M Contractor ace...@saj wrote: > We're using Apache 2.0.52 on RHEL 4. Does anyone know if th

Re: [us...@httpd] using mod_custom_header module.

2010-02-10 Thread Devraj Mukherjee
What do you mean by printing Client IP? On Thu, Feb 11, 2010 at 4:13 AM, Arnab Ganguly wrote: > Hi All, > Please guide me in printing the Client ip address using mod_custom_header > module ?Any standard  LogFromat configuration do we have for this ? > Also would like to know about the directive "

Re: [us...@httpd] speaking url is not working inside subfolder

2010-01-20 Thread Devraj Mukherjee
Hi, On Wed, Jan 20, 2010 at 3:28 AM, J. Bakshi wrote: > Dear list, > > Options +FollowSymLinks > RewriteEngine on > > # domain for typo3 > > RewriteCond %{HTTP_HOST} ^(www.)domain.in$ > RewriteCond %{REQUEST_URI} !^/TYPO3/ > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-

Re: [us...@httpd] Handling multipart/form-data requests via Apache Module

2010-01-20 Thread Devraj Mukherjee
If you can access the POST data then it should be a matter of decoding the mime string and get the multipart data out. Are you writing your module in C, Perl or Python? On Thu, Jan 21, 2010 at 5:07 AM, Jain Sachinkumar wrote: > Hello, > > We are interested in logging HTTP requests that are sent

Re: [us...@httpd] Apache 2.2: mod_proxy_balancer does not work as documented?

2010-01-14 Thread Devraj Mukherjee
Hi Francis, I use mod_proxy_ajp to proxy Pentaho, also a Tomcat application. I think what you are looking for is ProxyPassReverseCookieDomain so the cookies are set for the right domain. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain Let me know if you want me t

Re: [us...@httpd] Appending or replacing html/text output

2010-01-12 Thread Devraj Mukherjee
If you are using Apache 2.x then mod_substitute is your friend. 2010/1/12 Sam Minning : > hello apache community, > > > > I am using Apache 2.2, combined with PHP via fastcgi > Additionally there is mod_deflate in use, as well as gzip-compression via > PHP. > > I would like to append a string and/

Re: [us...@httpd] Redirection from DocumentRoot

2010-01-12 Thread Devraj Mukherjee
You can also you use Alias /testinstall /opt/apache/htdocs/testinstall On Mon, Jan 11, 2010 at 8:38 PM, Petr Hracek wrote: > Hello *, > > sorry for bother you with this (may be simple) question but I have following > problem. > Let's say that my document root is situated to the /usr/apache/htdo

Re: [us...@httpd] Apache on IA64

2010-01-07 Thread Devraj Mukherjee
What OS are you referring to ? On Thu, Jan 7, 2010 at 5:05 PM, Pravesh Rai wrote: > Hi All, > > Has anybody tried to port Apache (2.2.6 onwards) to IA64 setup ? If > yes, what would be the major precautions needs to be taken in that > case ? > > Thank, > Pravesh > > --

Re: [us...@httpd] Intermittent PHP network connection errors, restart fixes it. What's the cause?

2010-01-04 Thread Devraj Mukherjee
Hi Mark, On Tue, Jan 5, 2010 at 6:41 AM, Mark London wrote: > Hi - At the top of my php scripts, I have code to connect to our ldap server, > in order for the scripts to make ldap requests.  I don't have any disconnect > call in my code.  Lately I have noticed that the apache server will get into

Re: [us...@httpd] Setting up a basic http proxy?

2010-01-04 Thread Devraj Mukherjee
You are looking at the right documentation, you need to add rules that are custom to your situation. For example if your web server serving the JS is running on port 8080 a rule would look like ProxyPass /js http://localhost:8080/ On Mon, Jan 4, 2010 at 11:17 AM, DJ AM_Juicebox wrote: > Hi, > >

Re: [us...@httpd] Upgrading from 1.3.22 to 1.3.41`

2009-12-31 Thread Devraj Mukherjee
Can you please look through the logs and share anything meaningful you find there? What OS are you using? On Fri, Jan 1, 2010 at 4:58 AM, Paul McFerrin wrote: > I asked this question of this mailing lists many years ago about my 1.3.22 > and I'm again performing this upgrade to 1.3.41 (last 1.x

Re: [us...@httpd] Getting PHP to work w Apache 1.3.41

2009-12-31 Thread Devraj Mukherjee
You need to add something like AddType application/x-httpd-php .php to your Apache configuration file. You are also likely to get more information regarding this on the PHP resource centres. Also is there a reason you aren't choosing Apache 2.x + PHP5? On Fri, Jan 1, 2010 at 8:17 AM, Paul McFer

Re: [us...@httpd] Logs of uploaded files from browser

2009-12-31 Thread Devraj Mukherjee
Do you mean files uploaded by applications running on the Apache server or by something like mod_dav? On Thu, Dec 31, 2009 at 7:28 PM, Manoj Singh wrote: > Hi, > > Is it possible to get the logs of uploaded files in the apache server? > > Please help me out. > > Regards, > Manoj > -- "The se

Re: [us...@httpd] Change response status from 403 to 404

2009-12-23 Thread Devraj Mukherjee
Depending on which Version of Apache you are using, mod_headers may be of assistance http://httpd.apache.org/docs/2.0/mod/mod_headers.html On Thu, Dec 24, 2009 at 1:40 AM, Xibin Liu wrote: > Hello, > > Is there an easy way to change the response status in the http header from > 403 to 404 by conf

Re: [us...@httpd] Localized Apache webserver

2009-12-23 Thread Devraj Mukherjee
Which part of the log would you want to be localised for your purpose? On Wed, Dec 23, 2009 at 6:02 PM, wrote: > Hello, > > I would like to know if Apache webserver can generate localized logging. > For example, If I install Apache webserver on Japanese OS or English OS with > system locale chan

Re: [us...@httpd] Apache config

2009-12-22 Thread Devraj Mukherjee
Provide us some more information please. - What OS are you using? - If Linux can you do something like a netstat --listen and see if 443 is being used. - Change in firewall configuration On Wed, Dec 23, 2009 at 12:15 PM, cpanon wrote: > > Hello > I have a Apache2.054 system that was working perf

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

[us...@httpd] HTTPS connections via mod_proxy ProxyRemote don't work

2009-12-03 Thread Devraj Mukherjee
Hi all, I am using Apache as a reverse proxy (primarily because we use mod_substitute, mod_heads to add Firefox CSS fixes to a web application provided by a third party for our users). Essentially its setup as a VirtualHost that reverse proxies the requests to the external site. The complication

Re: [us...@httpd] Reverse proxying is problematic

2009-12-03 Thread Devraj Mukherjee
Also look at mod_substitute and mod_headers On Wed, Dec 2, 2009 at 10:45 PM, Robert Schenck wrote: > Peter, > > I have to use Apache, I don't have a choice (says my employer). > > On Wed, Dec 2, 2009 at 12:13 PM, Peter Schober > wrote: >> >> * Robert Schenck [2009-12-02 12:03]: >> > My office i

Re: [us...@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

2009-11-20 Thread Devraj Mukherjee
Hi Nick, >> >> We are setting up a reverse proxy to proxy contents from an external >> web site, because we need to change parts of the content before we >> serve it to our users (primarily to make the site Firefox friendly). >> mod_substitute does most of what we want, apart from file downloads.

Re: [us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Devraj Mukherjee
Hi Nick, On Sat, Nov 21, 2009 at 10:14 AM, Nick Kew wrote: > Devraj Mukherjee wrote: > >> Can mod_proxy authenticate and route its request against squid or >> another proxy server? > > What authentication method is the squid demanding?  If HTTP-based, > set the head

[us...@httpd] Change Content-Disposition from inline to attachment using mod_headers in a reverse proxy?

2009-11-20 Thread Devraj Mukherjee
Hi all, We are setting up a reverse proxy to proxy contents from an external web site, because we need to change parts of the content before we serve it to our users (primarily to make the site Firefox friendly). mod_substitute does most of what we want, apart from file downloads. Firefox on Linux

[us...@httpd] Can mod_proxy authenticate against another proxy (squid) server?

2009-11-20 Thread Devraj Mukherjee
Hi all, I am trying to setup a reverse proxy inside our corporate network to proxy an external web site. We wish to modify parts of the content before we send it down the line to our users. We have a proof of concept working and have managed to use mod_substitute to change what we need to in the c

Re: [us...@httpd] Reverse proxy

2009-10-14 Thread Devraj Mukherjee
I am not familiar with Oracle app servers but I am guessing they are Tomcat based? If they are then you might want to look at mod_proxy_ajp as well. On Fri, Oct 9, 2009 at 6:59 PM, isha b wrote: > Hi all > > I have a Oracle Web application which is running in backend server as > http://oracleweb

Re: [us...@httpd] virtualhost doubt

2009-10-14 Thread Devraj Mukherjee
Hi Andre, I believe this would be easier handled at the application server / application level than trying to get Apache to direct error logs based on URLs. Unless of course you can create two VirualHost entries in which case you can redirect the logs to different locations. On Tue, Oct 13, 2009

Re: [us...@httpd] Authorisation using LDAP

2009-10-14 Thread Devraj Mukherjee
Hi Stephen, What you describe can be handled by http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html and a combination of Location tags if you want your authentication to be fine grained. On Wed, Oct 14, 2009 at 3:49 AM, Foster, Stephen (ASPIRE) wrote: > > > > > Hi there, > > I’m wanting to

Re: [us...@httpd] How to configure Apache 2.2.8 to act as reverse proxy?

2009-10-14 Thread Devraj Mukherjee
Hi Ted, You might be looking for mod_proxy_html http://apache.webthing.com/mod_proxy_html/ See if that helps. On Thu, Oct 15, 2009 at 8:28 AM, Ted Byers wrote: > > This ought to be a FAQ, but I haven't found it yet. > > Please be patient with my as I am out of my element (I develop software, an

[us...@httpd] URL exception when using ProxyPass directive (mod_proxy)

2009-09-05 Thread Devraj Mukherjee
Hi all, I am using mod_proxy to reverse proxy content from another web server. I have assigned the root of the web server as the root of the mod_proxy setup, such as ProxyPass / http://sourceserver.local/ ProxyPassReverse / I would like make an exception and serve some local content at the

Re: [us...@httpd] Apache 2.3 source?

2009-06-18 Thread Devraj Mukherjee
On Fri, Jun 19, 2009 at 3:59 PM, Prasanna Ram Venkatachalam wrote: >> >> Is it possible to get a copy of the Apache 2.3 source? Looked around >> on the source distribution site and can't find anything. > > > Might help. This is an automated snapshot system. Not sure if it completely > works!! :( >

[us...@httpd] Apache 2.3 source?

2009-06-18 Thread Devraj Mukherjee
Hi all, Is it possible to get a copy of the Apache 2.3 source? Looked around on the source distribution site and can't find anything. Thanks. -- "The secret impresses no-one, the trick you use it for is everything" - Alfred Borden (The Prestiege) ---

Re: [us...@httpd] Configure LDAP authentication group name using script

2008-12-23 Thread Devraj Mukherjee
Thanks. On Tue, Dec 23, 2008 at 10:52 PM, Eric Covener wrote: > On Tue, Dec 23, 2008 at 5:32 AM, Devraj Mukherjee wrote: >> Hi all, >> >> I am using the "Require group" directive to authenticate my users. >> Based on the URL I would like the value of the

[us...@httpd] Configure LDAP authentication group name using script

2008-12-23 Thread Devraj Mukherjee
Hi all, I am using the "Require group" directive to authenticate my users. Based on the URL I would like the value of the require group to be difference for the site. Is it possible to have a script or DBM file return the list of groups that this directive considers as values? Thanks. -- "I nev

Re: [us...@httpd] mod_dav_svn configuration to support multiple repositories

2008-12-22 Thread Devraj Mukherjee
> If all repositories live in the same directory you can use the > SVNParentPath directove. > In the other case you will have to use seperate blocks, as > they tell apache to hand over handling of a particular url to mod_svn, > something you can't do with mod_rewrite. > Appreciate your response.

[us...@httpd] mod_dav_svn configuration to support multiple repositories

2008-12-22 Thread Devraj Mukherjee
Hi all, I have been successfully running mod_dav_svn locally at work and so far we have been using a single Subversion repository to store all our projects, but as work is growing we wish to run separate repos for various groups here. As far as I can see I have to make Location tag entries for ea

Re: [EMAIL PROTECTED] httpd segfaults?

2008-03-26 Thread Devraj Mukherjee
I already have that in httpd.conf and don't see any CoreDump files in /tmp. On Thu, Mar 27, 2008 at 5:11 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 3:35 AM, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > > &

[EMAIL PROTECTED] httpd segfaults?

2008-03-24 Thread Devraj Mukherjee
Hi everyone, I administer a web server running CentOS running httpd 2.0.59 distributed from the centosplus repository. I noticed that dmesg splits out a heap of these messages. However httpd was still running, I am suspecting that a child process spat the dummy. httpd[17570]: segfault at 007f

Re: [EMAIL PROTECTED] webdav not authenticating on apache 2.2.3 - centos 5

2008-02-20 Thread Devraj Mukherjee
Hi James, Not sure if this is the cause but it seems you are providing a directory name in your location tag where as a Location tag excepts a URL path. http://httpd.apache.org/docs/2.0/mod/core.html#location Thought it might be worth pointing out. On Thu, Feb 21, 2008 at 7:47 AM, James Chase <

[EMAIL PROTECTED] Apache 2.0.59 catches SIGTERM and shuts down

2008-02-19 Thread Devraj Mukherjee
Hi everyone, I administer a CentOS 4.6 server (use the CentOS plus repo) that runs Apache 2.0.59 and PHP 5.1.6 For the past few days the httpd processes have been locking up (the parent processes still seem to be there), but the rest of it comes to a grinding halt. The server itself is still acce

[EMAIL PROTECTED] Apache 2.0.59

2008-02-19 Thread Devraj Mukherjee
Hi everyone, I administer a CentOS 4.6 server (use the CentOS plus repo) that runs Apache 2.0.59 and PHP 5.1.6 For the past few days the httpd processes have been locking up (the parent processes still seem to be there), but the rest of it comes to a grinding halt. The server itself is still acce

Re: [EMAIL PROTECTED] reverse proxy with ldap authentication

2007-09-26 Thread Devraj Mukherjee
Hi Roberto, Clearly your LDAP client or Apache module is missing SSL support for LDAP. What operating system are you using? (CentOS, RHEL?) On 9/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi all, I try to install a reverse proxy with ldap authentication : it > works with ldap

[EMAIL PROTECTED] Version features of mod_dav

2007-07-03 Thread Devraj Mukherjee
Hi everyone, I am interested in using the verisoning features of Webdav that may be implemented by mod_dav. Are there any resources you can point me to? Thanks for your time. -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles) ---

Re: [EMAIL PROTECTED] htpasswd

2007-02-12 Thread Devraj Mukherjee
If you are writing PHP then check http://koivi.com/php-http-auth/ On 2/12/07, Tony Morris <[EMAIL PROTECTED]> wrote: I have a single users file that is output from htpasswd/2 and I'm looking for a web application that allows users to authenticate and change their password in the users file. I a

[EMAIL PROTECTED] Re: Basic authentication timeout issues

2006-10-24 Thread Devraj Mukherjee
I know I am reverse posting but I found the answer to my own problem and the result is located at http://www.outoforder.cc/projects/apache/mod_auth_xradius/docs/#AuthXRadiusCacheTimeout On 10/25/06, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: Hi everyone, I am using Apache as a reverse

[EMAIL PROTECTED] Basic authentication timeout issues

2006-10-24 Thread Devraj Mukherjee
Hi everyone, I am using Apache as a reverse proxy and having it authenticate against a RADIUS server. I am using mod_auth_xradius to communicate with the RADIUS server using basic authentication. All my user sessions however seem to timeout in about 10 mins. I can't seem to find a timeout direct

Re: [EMAIL PROTECTED] Custom error page 401 for reverse proxy

2006-10-23 Thread Devraj Mukherjee
Thanks Joshua. On 10/19/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 10/18/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > The *obvious* solution is to use ErrorDocument, but that requires that > *some* of your webspace is publicly accessible. If you can't host the > ErrorDocument on the main s

Re: [EMAIL PROTECTED] Custom error page 401 for reverse proxy

2006-10-18 Thread Devraj Mukherjee
Thanks Owen. On 10/18/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Devraj Mukherjee [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2006 6:29 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Custom error page 401 for

[EMAIL PROTECTED] Custom error page 401 for reverse proxy

2006-10-17 Thread Devraj Mukherjee
Hi everyone, I am running a reverse proxy based on Apache. The root of the web server is protected (basic authentication) however I wish to present the user with a custom error page if they fail to authenticate (primarily to hide the details of the web server and operating system, presented by de

[EMAIL PROTECTED] Apache 2.0.52 CentOS memory leak issue

2006-10-02 Thread Devraj Mukherjee
Hi everyone, I have a box running CentOS 4.4 as an httpd server. I am running version 2.0.52 of Apache as ditributed by CentOS. It seems to me that httpd is eating up all the memory and thus my machiens eventually runs out of memory and comes to a stand still. Is this true? Has anyone had simila

Re: [EMAIL PROTECTED] mod_publisher question

2006-09-13 Thread Devraj Mukherjee
otes/Forms7.nsf/expand-mo.gif?OpenFileResource&MX">','','','','','','','1'); BFK(); On 9/14/06, Nick Kew <[EMAIL PROTECTED]> wrote: On Wednesday 13 September 2006 15:08, Devraj Mukherjee wrote: > I

[EMAIL PROTECTED] mod_publisher question

2006-09-13 Thread Devraj Mukherjee
Hi everyone, I am trying to setup a reverse proxy using Apache that proxys Domino web access for my organisation. The problem with Domini web access (DWA) is that it has absolute URLs in all the documents that it produces. These URLs are in various HTML tags (such as img, a href) to JavaScript,

Re: [EMAIL PROTECTED] Php Load Script

2006-09-04 Thread Devraj Mukherjee
I am not sure if there is anything to do that on the PHP level. Have you looked at http://opensourcetesting.org/performance.php On 9/3/06, Armin ranjbar <[EMAIL PROTECTED]> wrote: hi all ; im looking for somekind of php load script to monitor / measure my webserver performance , any idea ? --

[EMAIL PROTECTED] Mixing virtual hosting techniques

2006-09-04 Thread Devraj Mukherjee
Hi everyone, I am looking at running an Apache web server with a combination of name and ip based virtual hosting. Say I have ip address 192.168.1.3 and 192.168.1.4 and I wish to listen on both those ip addresses and provide virtual name based virtual hosting on each one of those addresses So 1

Re: [EMAIL PROTECTED] Rewriting for Reverse proxy style setups

2006-08-31 Thread Devraj Mukherjee
Any ideas about a list for proxy_html module? On 8/31/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 8/30/06, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > I have nailed it down to two problems. > > 1. All elements (scripts, etc) have absolute references to others so &

Re: [EMAIL PROTECTED] Using apache on 127.0.01 , localhost and internal ip address (192.168.1.3)

2006-08-30 Thread Devraj Mukherjee
If that is the only public IP address you have, just change the listen directive to Listen 80 which makes it listen on all interfaces on port 80 Or have two listen directive for each ip address On 8/30/06, Yashesh Bhatia <[EMAIL PROTECTED]> wrote: Hello: I'm using Apache 2.2.3 on Fedora C

Re: [EMAIL PROTECTED] Alias/RewriteRule/ProxyPass/SSL - how do they coexist?

2006-08-30 Thread Devraj Mukherjee
UseCanonicalNames Off On 8/26/06, Chris Dagnon <[EMAIL PROTECTED]> wrote: Here is hopefully a succinct re-statement of my current problem: I had a website setup and it was working fine using VirtualHost ProxyPass to forward to another port and a server-level Alias+Directory pair to forward all

[EMAIL PROTECTED] Rewriting for Reverse proxy style setups

2006-08-30 Thread Devraj Mukherjee
Hi everyone, I am using Apache in as a reverse proxy to proxy a host of different things. I have a successfully managed to proxy web based applications like TYPO3, DotProject and the likes. The one that causes me grief is Domino Web access. I have nailed it down to two problems. 1. All elements

[EMAIL PROTECTED] Radius authentication

2006-08-30 Thread Devraj Mukherjee
Hi everyone, I have a protected web site which uses mod_auth_radius to perform its authentication. However even after I have authenticated some elements such as images don't turn up. One of the pages also delivers a Java applet and the JRE seems to be asking me to authenticate over again and at

Re: [EMAIL PROTECTED] Use of environment variables in configuration files?

2006-08-27 Thread Devraj Mukherjee
Thanks for that Joshua. On 8/25/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 8/25/06, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > Hello World, > > Is it possible to environment variables such as the domain name being > access to adaptable Apache configuratio

[EMAIL PROTECTED] Use of environment variables in configuration files?

2006-08-24 Thread Devraj Mukherjee
Hello World, Is it possible to environment variables such as the domain name being access to adaptable Apache configuration. Such as Alias /documents /home/www/domain.com.au/documents Where domain.com.au could be replaced depending on what domain name was accessed. Any help is appreciated. T

Re: [EMAIL PROTECTED] how to get asp on apache ?(asap)

2006-02-02 Thread Devraj Mukherjee
Hi Mohan, I have no experience with Apache::ASP but It's worth looking at mod_mono that supports ASP .NET on Apache. Devraj mohan devanoor wrote: hello all, i have apache 2.0.55 and perl. and i installed mod_perl in order to get asp run on my apache. i copied eg/ folder to htdocs but could

Re: [EMAIL PROTECTED] Apache2 on Debian

2006-01-23 Thread Devraj Mukherjee
Hi Brian, I am not a debian user but I wouldn't think that it matters who owns the script unless the apache process has to write back to the files/directories. For example if you are running a CMS then it would matter or an application that uploaded pictures etc. Devraj Brian Street wrote:

[EMAIL PROTECTED] Writing Apache modules in Python

2005-09-08 Thread Devraj Mukherjee
Hi everyone, I am a newbie to mod_python (I have programmed in Python before) and having trouble understanding if using mod_python or one of the related projectes (such as mod_snake which seems to be dea) I can actually develop Apache modules in Python. I have been tossing the option of writing m

[EMAIL PROTECTED] Module development

2005-07-17 Thread Devraj Mukherjee
Are there any resources for module development with Apache? Devraj -- Eternity Technologies Pty. Ltd. ACN 107 600 975 P O Box 5949 Wagga Wagga NSW 2650 Australia Voice: +61-2-69255866 / Fax: +61-2-69251039 http://www.eternitytechnologies.com/ --

[users@httpd] RewriteRule issue

2005-07-10 Thread Devraj Mukherjee
Hi All, I am implementing a site using Apache 2.0/PHP/MySQL and using the Typo3 content management product. Everything works well but (there is always a but) a little Rewrite problem. We migrated from a static site so Google and all the other search engines still bring up search results for