Re: [EMAIL PROTECTED] PerlSetEnv in .htaccess ?

2008-01-24 Thread Torsten Foertsch
On Thu 24 Jan 2008, abhishek jain wrote: > > The server might not have mod_perl support and that's why it could make > > that error. > > Hi, i do not have access to error log as well, i am on a shared hosting, I really doubt that a shared hoster that denies access to the error_log supports mod_pe

[EMAIL PROTECTED] ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var Problem

2008-01-24 Thread Tony Molloy
Hi, I've installed bugzilla onto a CentOS-5 server. It is running as a virtual host on the server and seems to work OK except for a few problems. Bugzilla is installed into /usr/share/bugzilla and in /etc/httpd/conf.d I've got the following bugzilla conf file Alias /bugzilla /usr/share/bu

[EMAIL PROTECTED] ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var

2008-01-24 Thread Tony Molloy
Hi, Sorry for mailing this twice but I had the wrong subject the first time ;-( I've installed bugzilla onto a CentOS-5 server. It is running as a virtual host on the server and seems to work OK except for a few problems. Bugzilla is installed into /usr/share/bugzilla and in /etc/httpd/conf.d

[EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Dani Pardo
Hi all, I have an environment in which I reverse proxy some servers depending on the value of a cookie, that is: RewriteCond %{HTTP_COOKIE} ^.*destination_host=host1.*$ RewriteRule (.+) http://www.host1.com$1 [P] RewriteCond %{HTTP_COOKIE} ^.*destination_host=host2.*$

Re: [EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Charles Goyard
Hi, Dani Pardo wrote : > Hi all, I have an environment in which I reverse proxy some servers > depending on the value of a cookie, that is: > > RewriteCond %{HTTP_COOKIE} ^.*destination_host=host1.*$ > RewriteRule (.+) http://www.host1.com$1 [P] > RewriteCond %{HTTP_COOKI

RE: [EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Axel-Stephane SMORGRAV
You need ServerName www.mysite.com ProxyPassReverse / http://www.host1.com/ ProxyPassReverse / http://www.host2.com/ What ProxyPassReverse does is simply rewriting the Location headers that match the second argument: If the Location header of the HTTP 30[12] (redirect) starts with http://www

Re: [EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Dani Pardo
On Jan 24, 2008 3:24 PM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > You need > > ServerName www.mysite.com > ProxyPassReverse / http://www.host1.com/ > ProxyPassReverse / http://www.host2.com/ > > What ProxyPassReverse does is simply rewriting the Location headers that > match the second

Re: [EMAIL PROTECTED] Re: PerlSetEnv in .htaccess ?

2008-01-24 Thread Dragon
abhishek jain wrote: On second thoughts is there a method by which i can execute some piece of code to execute even before my scripts are called, remember i am on a shared host, abhi End original message. - Child Perl programs inherit the environment of t

[EMAIL PROTECTED] Page faults on Windows

2008-01-24 Thread Daniel Barrett
Our Apache 2.2 server, running on Windows 2003 Server, generates massive numbers of page faults. Every web page hit generates 3000 page faults or more; Is this normal? If not, any suggestions for which settings to tweak first? The httpd.conf file hasn't been changed much from the default. I'll

[EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread paredes
Greetings! I've successfully built apache2.2.8 with all the appropriate modules [mod_authn*, mod_authz*, mod_dbd*, mod_ldap* etc etc] for ldap & mysql support. An ldap [valid-user] protected area works fine. A mysql [valid-user] protected area works fine. A mysql [require-dbd-group] group pro

[EMAIL PROTECTED] jk_mod switching URLs?

2008-01-24 Thread Hehl, Thomas
I have httpd running on a Redhat 3 box as a load balancer to two other redhat servers in a tomcat 6.0 cluster. If I connect directly to one of the cluster servers, I can test my application with no issues. When I go to the load balancer and run the same test, I can log on and click on one link

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread Eric Covener
On Jan 24, 2008 2:22 PM, paredes <[EMAIL PROTECTED]> wrote: > Greetings! > > I've successfully built apache2.2.8 with all the appropriate modules > [mod_authn*, mod_authz*, mod_dbd*, mod_ldap* etc etc] for ldap & mysql > support. An ldap [valid-user] protected area works fine. A mysql > [valid-user

[EMAIL PROTECTED] Mass virtual host

2008-01-24 Thread Lukáš Fendrych
Hello there! I using dynamic mass virtual host (one virtual host record in config, mod_rewrite). I thinking what is the best for mass virtual host? One record = one domain or one record = all domains? For 100+ domains? Thanks for yours ideas.

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread Eric Covener
On Jan 24, 2008 2:39 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > For LDAP, this is normally not being able to convert the basic auth > username into a DN on the LDAP server. I just verified that on 2.2.8 mod_authnz_ldap "gets out of the way" for authentication when it's first and can't lookup a

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread paredes
Hi! Only the 1st provider hits and returns "user not found" or "password mismatch". The 2nd provider is never seen. I had expected to see some type of error related to the 2nd provider. In the case where I use "AuthBasicProvider ldap dbd" & provide a valid ldap user:password the logs show lda

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread Eric Covener
On Jan 24, 2008 3:13 PM, paredes <[EMAIL PROTECTED]> wrote: > Hi! > > Only the 1st provider hits and returns "user not found" or "password > mismatch". The 2nd provider is never seen. I had expected to see some > type of error related to the 2nd provider. In the case where I use > "AuthBasicProvide

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread paredes
I shudder to think about doing this for 720 medical students, some 1200 house staff, another 1000 or so affiliated faculty. However, being that you mention "file" below, it's worth exploring if I can set up AuthBasicProvider with a null or empty file [AuthBasicProvider file ldap dbd] so that ld

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread Eric Covener
On Jan 24, 2008 3:36 PM, paredes <[EMAIL PROTECTED]> wrote: > I shudder to think about doing this for 720 medical students, some 1200 > house staff, another 1000 or so affiliated faculty. However, being that > you mention "file" below, it's worth exploring if I can set up > AuthBasicProvider with a

[EMAIL PROTECTED] Debugging

2008-01-24 Thread Hehl, Thomas
I'm on the latest version of httpd 2.0. Is there a way to turn debugging on so I can get extended logging information? Thanks. Thom Hehl Sr. eJuror Architect * Office (859) 277-8800 x 144 * [EMAIL PROTECTED] ACS, Inc. Government Solutions 1733 Harrodsburg Ro

[EMAIL PROTECTED] Compiling Apache with mod_proxy_html

2008-01-24 Thread Al Sparks
I'm trying to get apache 2.0.61 working. I use the following configure parameters: ./configure --enable-deflate \ --enable-headers \ --enable-proxy \ --enable-proxy-connect \ --enable-proxy-http \ --enable-rewrite \ --enable-so \ --enable-ssl Do a "make" and "make insta

Re: [EMAIL PROTECTED] AuthBasicProvider ldap dbd not failing through

2008-01-24 Thread paredes
Hi! It was an interesting experiment. You're correct. "AuthBasicProvider file ldap", or "ldap file" or "file dbd" or "dbd file" either authenticate or fail through correctly. Looks like ldap and dbd can't co-exist at least as apache 2.2.8. Regards, -bill Eric Covener wrote: On Jan 24, 200

[EMAIL PROTECTED] Can Apache Proxy server to proxy the HTTP requests to the backend HTTPS/SSL server?

2008-01-24 Thread Qingshan Xie
Dear Friends, We configured a HTTPS proxy server successfully to server the HTTPS requests. However, we also want to configure a HTTP proxy server to handle the HTTP requests but proxy the HTTP requests to the backend SSL(or HTTPS) server. The request flow is as below, HTTP request ==>

Re: [EMAIL PROTECTED] Compiling Apache with mod_proxy_html

2008-01-24 Thread Al Sparks
I got it figured out. For some reason or other, I didn't realize that mod_proxy_html is a 3rd party module that needs to be compiled with apxs. === Al - Original Message From: Al Sparks <[EMAIL PROTECTED]> To: Apache Users Sent: Thursday, January 24, 2008 11:48:23 AM Subject: [EMAIL

[EMAIL PROTECTED] Dynamic text-file created by PHP

2008-01-24 Thread Kent Larsson
Hi, I want to create a dynamic textfile using PHP for each request of it. If the users asks for http://server/textfile.txt I want a PHP-script to execute and serve the textual data completely transparent to the user. This is a "single case" so associating all txt-files with PHP is not what I would