[users@httpd] Apache with two cgi-bins

2005-06-16 Thread Kory Wheatley
I''m configuring my Apache 2.0 to run an Non Secure and Secure Server on the same instance. How do you configure two separate cgi-bin paths for the secure and non-secure server? In the 'httpd.conf" file there is a ScriptAlias /cgi-bin "/var/www/cgi-bin/" so in the "ssl.conf" file do I need to ad

[users@httpd] Basic Authentication over reverse proxy

2005-06-16 Thread K Anand
I want to do basic authentication with reverse proxy...My relevant config is as follows : ProxyRequests Off Order deny,allow Deny from all Allow from all AuthType Basic AuthName "By Invitaion Only" AuthUserFile /etc/httpd/conf/passwd/passwords Require valid-user P

[users@httpd] Apache secure and non secure server cgi-bin setup

2005-06-16 Thread Kory Wheatley
I''m configuring my Apache 2.0 to run a Non Secure and Secure Server on the same instance. How do you configure to separate cgi-bin paths for the secure and non-secure server? In the 'httpd.conf" file there is a ScriptAlias /cgi-bin "/var/www/cgi-bin/" so in the "ssl.conf" file do I need to add

RE: [users@httpd] ProxyPass with variables...

2005-06-16 Thread Fabricio Luiz Machado
Hi, this is my vhost configuration: DocumentRoot /var/www/htdocs ServerName app.mydomain.com RewriteEngine On RewriteLog "/var/log/apache/rewrite.log" RewriteLogLevel 9 RewriteRule ^/(.*) http:/%{REQUEST_URI}.app.mydomain.com:8080/b2b [P] The application that runs on J

RE: [users@httpd] ProxyPass with variables...

2005-06-16 Thread Fabricio Luiz Machado
Ian, It rewrites an URL like "http://app.mydomain.com:8080/client1";, and I wan´t to keep the default port (80) on URL, like: "http://app.mydomain.com/client1";. Understood ? Sorry about my poor english... Regards, Fabricio. --- Ian Huynh <[EMAIL PROTECTED]> escreveu: > Fabricio > > Sorry

Re: [users@httpd] Problem redirecting http to https

2005-06-16 Thread Joost de Heer
Jignesh Badani said: > We have a similar problem. > > We have always been doing it the Virtual host way (virtual on port 80 > redirects (permanant) to virtual on 443). In my Virtual host for port 80, > I have: > > Redirect permanent / https://www.mysite.com/home/index.htm This should be

Re: [users@httpd] Upgraded from RHE3 to RHE4 - REMOTE_USER env variable is not available

2005-06-16 Thread Richard DeWath
Joshua, I also found it strange, but had another server that was new with RHE4. I set up a test and had the same results. I will try your suggestion, but suspect more that the problem is with SELinux. I will let you know the outcome. Richard --- Joshua Slive <[EMAIL PROTECTED]> wrote: > O

Re: [users@httpd] Upgraded from RHE3 to RHE4 - REMOTE_USER env variable is not available

2005-06-16 Thread Joshua Slive
On 6/16/05, Richard DeWath <[EMAIL PROTECTED]> wrote: > Nagios is working and monitoring. The problem comes > with the authentication. I am using > .htaccess/htpasswd basic and it works fine on the old > system. I can authenticate on the new server, but > Nagios on its web page the cgi does not

[users@httpd] Upgraded from RHE3 to RHE4 - REMOTE_USER env variable is not available

2005-06-16 Thread Richard DeWath
I have Nagios running on a RHE3 server with Apache version 2.0.46 and planned to migrate it to a newer server using RHE4. The install for the new system is standard with the needed libraries for building source code. The Apache on the new system is version 2.0.52. I updated the changes on the ht

Re: [users@httpd] /mail calls /mail.php, but why?

2005-06-16 Thread Tim Burden
Sounds like Multiviews http://httpd.apache.org/docs-2.0/content-negotiation.html#multiviews - Original Message - From: "Marten Lehmann" <[EMAIL PROTECTED]> To: Sent: Thursday, June 16, 2005 11:32 AM Subject: [EMAIL PROTECTED] /mail calls /mail.php, but why? > Hello, > > I have a file c

RE: [users@httpd] ProxyPass with variables...

2005-06-16 Thread Axel-Stéphane SMORGRAV
You probably get a redirection to http://localhost:8080, right? Add ProxyPassReverse / http://localhost:8080/ This will replace any redirection to http://localhost:8080/ with a redirection to /. If that does not work, try to explain more thoroughly what the problem is, i.e. exactly wh

RE: [users@httpd] ProxyPass with variables...

2005-06-16 Thread Ian Huynh
Fabricio Sorry I don't understand exactly what's not working for you. Are you saying you want to make the port # dynamic as well? -Original Message- From: Fabricio Luiz Machado [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 6:00 PM To: users@httpd.apache.org Subject: RE: [EMAI

[users@httpd] /mail calls /mail.php, but why?

2005-06-16 Thread Marten Lehmann
Hello, I have a file called mail.php. When I enter mysite.de/mail.php, it's displayed correctly. What I don't understand is: Why do I reach mail.php when I enter mysite.de/mail - without the .php ending? I haven't defined any mod_rewrite rules or ErrorDocuments. Is this behaviour intentionally

RE: [users@httpd] Remote Logging access_log with syslog-ng

2005-06-16 Thread Jan van den Berg
I know.   But this is exactly whay I am trying to avoid! I don’t want too many open files (which happens when every vhost has their own logfiles) nor do I want logger threads for each vhost. I want logger and syslog too handle the load of logging not Apache.   Regards,   Jan

Re: [users@httpd] RewriteRule problems

2005-06-16 Thread Krist van Besien
On 6/15/05, Arne Heizmann <[EMAIL PROTECTED]> wrote: > Krist van Besien wrote: > > > > I get the impression that probably somewhere in your httpd config > > there is an access rule that forbids access to the /old URL, and that > > therefore the "403 Forbidden" gets triggered before everything else.

RE: [users@httpd] Re: apache2: mod_cache: the order of CacheEnable and CacheDisable

2005-06-16 Thread =?iso-8859-1?Q?Axel-St=E9phane__SMORGRAV?=
I think you are right. However, be aware that there has been a problem with the implementation of CacheDisable in Apache 2.0.51 and 2.0.52: http://issues.apache.org/bugzilla/show_bug.cgi?id=31128 -ascs -Original Message- From: john doe [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16

Re: [users@httpd] mod_proxy over mod_rewrite precedence

2005-06-16 Thread lists
Delete the ProxyPass / ... line. The RewriteRule with the [P] flag is doing that for you already. Thanks ! -G.- - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersli