Re: [EMAIL PROTECTED] mmap cache can't open foo.php - Too many open files

2008-03-27 Thread Arnab Ganguly
Increase your soft limit to the hard limit value allowed to max open files.You can use the apachectl script which internally does the same or issue the following command from the command prompt ulimit -S -n `ulimit -H -n` and then start the Apache, hopefully it will resolve the issue :) Thanks -A

Re: [EMAIL PROTECTED] httpd segfaults?

2008-03-27 Thread ohaya
Hi, Apache may not be able to write to the /tmp unless you do: ulimit -c unlimited before starting Apache. At least that's what worked for me on RHEL4. Jim Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > I already have that in httpd.conf and don't see any CoreDump files in /tmp. > >

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 6:32 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hi > > httpd -M shows > proxy_module (shared) > proxy_connect_module (shared) > proxy_ftp_module (shared) > proxy_http_module (shared) > proxy_ajp_module (shared) > proxy_balancer_module (shared) > > > My rewr

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
Hi httpd -M shows proxy_module (shared) proxy_connect_module (shared) proxy_ftp_module (shared) proxy_http_module (shared) proxy_ajp_module (shared) proxy_balancer_module (shared) My rewrite lines are: RewriteEngine On RewriteRule ^/(RAS.*) http://zeus:8089/$1 [P,L] RewriteRule ^/(.*web:jar

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Peter J Milanese
No. Make sure you are loading proxy and the proxy_http mods. - Original Message - From: Melanie Pfefer [EMAIL PROTECTED] Sent: 03/27/2008 05:40 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] url redirection the proxy module should be loaded since [P] is working on anot

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
the proxy module should be loaded since [P] is working on another rewrite rule (but not to a tomcat server) --- Peter J Milanese <[EMAIL PROTECTED]> wrote: > Are you loading the proxy modules? > > > > > - Original Message - > From: Melanie Pfefer [EMAIL PROTECTED] > Sent: 03/27/2008

Re: [EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread John Almberg
Technically, it all work fine. I think Joshua put his finger on the fatal flaw -- corporate firewalls that block access to 'suspicious' ports. Not a problem for most home users, but a serious problem for people working behind paranoid/appropriately concerned corporate firewalls... Oh well

[EMAIL PROTECTED] modify Host header

2008-03-27 Thread Eqbal Z
I need to modify the Host header for my application in order to add the port information. I tried the following directive RequestHeader set Host "%{HOST_NAME}e:443" This sets it to (null):443 How do I get the host name value here? For example if the request comes in as http://www.myhostname.com:

[EMAIL PROTECTED] Apache Password authentication issues

2008-03-27 Thread Sailesh Krishnamurthy
Hi, We tried setting up password authentication on one of the directories in our apache virtualhost using a .htaccess file . we now notice that the password authentication is working only for some users and not others. Has anyone else noticed this. Ami I missing something here. The directory and

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Peter J Milanese
Are you loading the proxy modules? - Original Message - From: Melanie Pfefer [EMAIL PROTECTED] Sent: 03/27/2008 03:11 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] url redirection hello, changing to [P] flag: RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [P] r

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
hello, changing to [P] flag: RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [P] returns a page cannot be displayed. This is when apache redirects to a tomcat. Why P flag does not work in this redirection? Could it be that tomcat needs additional configuration to accept Proxy? thanks --- M

Re: [EMAIL PROTECTED] Complex authentication problem with LDAP and Apache 2.2.3

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 2:14 PM, Zembower, Kevin <[EMAIL PROTECTED]> wrote: > However, in a separate section, I want to further restrict access to > just records in LDAP and exclude users who are originating from inside > our LAN but don't have records in the LDAP. > This too seems to be work

[EMAIL PROTECTED] Complex authentication problem with LDAP and Apache 2.2.3

2008-03-27 Thread Zembower, Kevin
I'm having a problem with a complex (to me, at least) authentication scheme using OpenLDAP and Apache 2.2.3 and I'm hoping for some advice or suggestions. I'm trying to set up an intranet server so that all personnel on desktop computers within our LAN can access the main areas without authorizati

RE: [EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread Wilda, Jet
I see. Thanks, ~Jet -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, March 27, 2008 2:01 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] using non-standard SSL ports On Thu, Mar 27, 2008 at 1:52 PM, Wilda, Jet <[E

Re: [EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 1:52 PM, Wilda, Jet <[EMAIL PROTECTED]> wrote: > I think the bigger issue is that you certificate will be for 1 FQDN i.e. > sample.com and hitting with any other FQDN will pop up a window saying > the certificate and servername don't match. No, he can supply a different c

RE: [EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread Wilda, Jet
I think the bigger issue is that you certificate will be for 1 FQDN i.e. sample.com and hitting with any other FQDN will pop up a window saying the certificate and servername don't match. ~Jet -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive S

[EMAIL PROTECTED] mod_jk, worker.properties reload

2008-03-27 Thread frannack Guimard
Hello, I'm using mod_jk to load balance my tomcat instances. Everything is working fine (load balancing, fail over and fall back). But the problem is when I want to add a new instances of Tomcat to the load balancer list. I have a cgi script that update the worker.properties but then I need to

Re: [EMAIL PROTECTED] mod_negotiate and source qualities by type, charset, language, and encoding

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 12:11 PM, Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > On 2008-03-27, Joshua Slive wrote: > > As far as I know, there is no way to set source quality in apache > > other than through type maps. > > Is there a way to set global type maps? No, I don't believe so. Jo

[EMAIL PROTECTED] mod_negotiate and source qualities by type, charset, language, and encoding

2008-03-27 Thread Daniel Aleksandersen
On 2008-03-27, Joshua Slive wrote: > On Thu, Mar 27, 2008 at 11:14 AM, Daniel Aleksandersen wrote: > > Hi, > > > > I know I can set the source quality (qs) for language negotiation > > using the "LanguagePriority" option. For example, "LanguagePriority > > nn nb en". But can I achieve the same on

Re: [EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 12:02 PM, John Almberg <[EMAIL PROTECTED]> wrote: > I run a web server with a bunch of websites, all of which need an SSL > connection. Instead of buying a big block of new IP addresses, I'm > thinking of running the SSL virtual hosts on non-standard ports, like > 444, 44

Re: [EMAIL PROTECTED] how to change the response text of the httpd server while the server is sending its response text to the client.

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 12:08 PM, Halil Ağın <[EMAIL PROTECTED]> wrote: > Hello List; > > I want to change the response text of the httpd server while the server is > sending its response text to the client. > > > However, i wnat to this action by looking at the its html header. > If html header ha

[EMAIL PROTECTED] how to change the response text of the httpd server while the server is sending its response text to the client.

2008-03-27 Thread Halil Ağın
Hello List; I want to change the response text of the httpd server while the server is sending its response text to the client. However, i wnat to this action by looking at the its html header. If html header has a special meta tag, i want to add a previosly determined html code as a last html

[EMAIL PROTECTED] using non-standard SSL ports

2008-03-27 Thread John Almberg
I run a web server with a bunch of websites, all of which need an SSL connection. Instead of buying a big block of new IP addresses, I'm thinking of running the SSL virtual hosts on non-standard ports, like 444, 445, etc. (just an example... I'd probably use a higher set of numbers.) Sinc

[EMAIL PROTECTED] mod_jk + apache 2.2 problem

2008-03-27 Thread Mamta Singh
Hello!! Sorry for my earlier incomplete question. Actually I am a newbie and now totally messed up with apache and tomcat. Let me try to explain the whole scenario. I have apache 2.2, tomcat 5.5 installed on Debian linux. Now I am trying to configure mod_jk to connect tomcat and apache. I did

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
things are ok now with this rewrite rule RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [R=301,L] I wanted to have 'jar' as pattern but couldn't do it. If someone can help, I appreciate. --- Melanie Pfefer <[EMAIL PROTECTED]> wrote: > I tried this > > RewriteEngine On > RewriteRule ^/(.*

Re: [EMAIL PROTECTED] mod_negotiate and source qualities by type, charset, language, and encoding

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 11:14 AM, Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > Hi, > > I know I can set the source quality (qs) for language negotiation using > the "LanguagePriority" option. For example, "LanguagePriority nn nb en". > But can I achieve the same on type, charset, and encodi

[EMAIL PROTECTED] mod_negotiate and source qualities by type, charset, language, and encoding

2008-03-27 Thread Daniel Aleksandersen
Hi, I know I can set the source quality (qs) for language negotiation using the “LanguagePriority” option. For example, “LanguagePriority nn nb en”. But can I achieve the same on type, charset, and encoding? I want to set the priority for types like this for all URIs. For example, “TypePriorit

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
I tried this RewriteEngine On RewriteRule ^/(.*jar.*) http://zeus:8086/src/$1 [R=301,L] However http://zeus/web:jar:001 becomes http://zeus:8086/src/web:jar:/web:jar:001 while I want it to be http://zeus:8086/src/web:jar:001 could you please advise? thanks --- Mathew <[EMAIL

[EMAIL PROTECTED] mod_jk initialisation problem

2008-03-27 Thread frannack Guimard
Hello, I'm using mod_jk to load balance my tomcat instances on Apache http server 2. The problem I'm having is that if I don't have any tomcat instances running, I still want my apache to work for the static pages. But If in my worker.properties I don't set any worker, apache does not seem to

Re: [EMAIL PROTECTED] [error] [client 127.0.0.1] Directory index forbidden by Options directive

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 5:32 AM, thomas Armstrong <[EMAIL PROTECTED]> wrote: > Hi. > > Using Apache 2.2 with Plesk, I found out these error messages on my > 'error_log' file: > > [Wed Mar 26 18:45:50 2008] [error] [client 127.0.0.1] Directory index > forbidden by Options directive: /v

Re: [EMAIL PROTECTED] httpd segfaults?

2008-03-27 Thread Joshua Slive
On Wed, Mar 26, 2008 at 11:43 PM, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > 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 PRO

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Mathew
The last time I had to configure something for tomcat I used proxy settings. I don't have access to this information right now otherwise I'd give an example of what I did but I'm sure you can find something on Google. Mathew Melanie Pfefer wrote: Hi, How to redirect urls that contains �jar�

[EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
Hi, How to redirect urls that contains ‘jar’ string from http://zeus:8085/web/sec:jar:001 to http://zeus:8086/src/web:sec:jar:001 the first one is on apache the 2nd web app is on tomcat thanks bunches __ Sent from Yahoo! M

[EMAIL PROTECTED] Re: You don't have permission to access foo.php on this server.

2008-03-27 Thread thomas Armstrong
This is my Apache configuration (I use Plesk): - DocumentRoot "/var/www/vhosts/foo.com/httpdocs/web" php_admin_value open_basedir "/var/www/vhosts/foo.com/httpdocs:/tmp:/usr/share/pear/plugins:/usr/share/php/plugins" Order Allow,Deny Allow from all A

[EMAIL PROTECTED] You don't have permission to access foo.php on this server.

2008-03-27 Thread thomas Armstrong
Hi. Using Apache/2.2 + PHP/5.2, I'm suffering an odd issue when accessing an image generated with PHP. When I access: http://www.foo.com/apc.php?IMG=1&1206615989 I get *SOMETIMES* this error message --- Forbidden You don't have permission to access /apc.php on this server. -- But most o

[EMAIL PROTECTED] [error] [client 127.0.0.1] Directory index forbidden by Options directive

2008-03-27 Thread thomas Armstrong
Hi. Using Apache 2.2 with Plesk, I found out these error messages on my 'error_log' file: [Wed Mar 26 18:45:50 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Wed Mar 26 18:49:57 2008] [error] [client 127.0.0.1] Directory index forbidden by

[EMAIL PROTECTED] Re: mmap cache can't open foo.php - Too many open files

2008-03-27 Thread thomas Armstrong
Some data of my server: []# free -m total used free sharedbuffers cached Mem: 2693267 2425 0 0 0 -/+ buffers/cache:267 2425 Swap:0 0 0 []# ulimit -m unlimited As you

[EMAIL PROTECTED] mmap cache can't open foo.php - Too many open files

2008-03-27 Thread thomas Armstrong
Hi. Using Apache version 2.2.3 on 'Linux CentOS', my webpages are very slow and I get this error messages on my 'error_log' file: --- [Wed Mar 26 13:05:39 2008] [warn-phpd] mmap cache can't open /var/www/classes/Threads.php - Too many open files (pid 17650) [Wed Mar 26 13:05:42 2008] [warn-php