[EMAIL PROTECTED] RE: RE: [CONFIG] make httpd serve .java files as text

2007-04-19 Thread deufrai
Boyle Owen wrote: > >> -Original Message- >> From: deufrai [mailto:[EMAIL PROTECTED] >> > >> > >> >> All right, many thanx, made a backup of mime.types file and >> modified said >> line as "text/plain java" >> Works like a charm in fireFox 2, Opera 9 but "surprisingly not

[EMAIL PROTECTED] mod_proxy_balancer

2007-04-19 Thread Christian
hi, i am using apache 2.2.4 with mod_proxy_balancer and mod_proxy_ajp. both working fine using the lbmethod byrequest. is there a possibility to change the lbmethod to something like bySourceIP ? what i want to do, is to send requests from one client only to one backend tomcat server as long as

RE: [EMAIL PROTECTED] RE: [CONFIG] make httpd serve .java files as text

2007-04-19 Thread Boyle Owen
> -Original Message- > From: deufrai [mailto:[EMAIL PROTECTED] > > > > > > All right, many thanx, made a backup of mime.types file and > modified said > line as "text/plain java" > Works like a charm in fireFox 2, Opera 9 but "surprisingly not > surprisingly" fails in IE7. >

RE: [EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Boyle Owen
> -Original Message- > From: Ben Roberts [mailto:[EMAIL PROTECTED] > > > > Yes, the "satisfy any" directive has worked a treat. I have > also had to > add another Files directive to allow .css, .js, .gif, .jpg > files etc as > all the index page assets were triggering htpasswd prompt

Re: [EMAIL PROTECTED] .htpasswd problems

2007-04-19 Thread Steve Swift
Using htpasswd to control passwords in the .htpasswd file has always resulted in varying values for the same password. This is a standard encryption technique. It doesn't matter what gets stored as long as the decrypted value matches the password. A simple mechanism could use 256 different encrypt

[EMAIL PROTECTED] .htpasswd problems

2007-04-19 Thread Jannetta S Steyn
Hi All I'm not sure that I'm on exactly the correct mailing list here, but I figured it a good place to start, even it is just to get someone to guide me in the right direction. Some years ago I wrote web front-end for managing .htpasswd files. My client has been using this for years. Everythi

Re: [EMAIL PROTECTED] Is it possible for Apache to randomly select different URLs to serve up?

2007-04-19 Thread mraible
It seems there's two ways to do this and I can't get either one to work. #1: Using a perl script: RewriteMap router prg:/opt/local/apache2/conf/router.pl RewriteRule ^(.*)$ ${router} [R,L] router.pl: #!/usr/bin/perl my $range = 3; my $random_number = int(rand($range)); print "/?v=" . $random

Re: [EMAIL PROTECTED] ¿Which are the possible causes of segmentation fault in Apache?

2007-04-19 Thread Joshua Slive
On 4/19/07, Diego F. Fernandez <[EMAIL PROTECTED]> wrote: Hi!!! ¿Which are the possible causes of segmentation fault in Apache? There are infinitely many possible causes. Most of them are problems in third-party modules and libraries linked with apache. To find out the details, you need to do

[EMAIL PROTECTED] mod_dbd and mysql

2007-04-19 Thread Frank Jones
I'm using mod_dbd to access mysql. Since one of the queries I use is executed on every request, I prepare it by using DBDPrepareSQL. However, I don't know what to do if apr_dbd_pvselect using the prepared statement returns 2013 (Lost connection). This happens when a long interval passes between q

[EMAIL PROTECTED] Segmentation fault in Apache

2007-04-19 Thread Diego F. Fernandez
Hi I have an application Web php that uses persistent connections to a database DB2. During the day it works without problems but at dawn something happens and the connections are lost which causes that errors of preparation of sentence in the application appear. This loss of connections i solve

[EMAIL PROTECTED] ¿Which are the possible causes of segmentation fault in Apache?

2007-04-19 Thread Diego F. Fernandez
Hi!!! ¿Which are the possible causes of segmentation fault in Apache? I appreciate the collaboration. diegofff - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersli

[EMAIL PROTECTED] Problems load balancing with lb.pl and RewriteMap

2007-04-19 Thread Roberto Bouza
Hello, I hope everyone can give me some help here. I've battling for a while without any luck. I have the following in httpd.conf (changed domain to 'mydomain'). DocumentRoot /var/www/www.domain.com ServerName www-test.domain.com LogLevel debug ErrorLog /var/log/htt

Re: [EMAIL PROTECTED] rendering php

2007-04-19 Thread Dragon
Richard Dunne wrote: I was able to view php webpages in localhost with jakarta tomcat, but I had a problem with executing php scripts using ajax. Now I am using apache instead, but instead of seeing the webpage, I am seeing the code. does anyone have any suggstions? End or

[EMAIL PROTECTED] rendering php

2007-04-19 Thread Richard Dunne
I was able to view php webpages in localhost with jakarta tomcat, but I had a problem with executing php scripts using ajax. Now I am using apache instead, but instead of seeing the webpage, I am seeing the code. does anyone have any suggstions? Richard __

[EMAIL PROTECTED] using a varible in a virtual include

2007-04-19 Thread David Bear
I'd to use a variable in a virtual include. Does apache handle resolving the strings in a virtual include as a variable? I want to do something like this then later on but it looks like item is a constant string and not evaluate to the value of item. Any pointers? -- -- David Bear College

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread David Southwell
On Thursday 19 April 2007 11:40:18 Matt Fielding wrote: > > > here is an example of one of my virtual host settings that are is in > > > etc/apache22/includes/virtual > > > > # typo on the line above should read etc/apache22/includes/virtual.conf > > > > > > > > DocumentRoot /usr/virtualwebs

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread Matt Fielding
On 4/19/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 4/19/07, Matt Fielding <[EMAIL PROTECTED]> wrote: > I'm still getting the same problem. Which ever virtualhost is listed first > is the one that works on both domains, and it is now setup like this: > > Do you have NameVirtualHost *:80 s

Re: [EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Ben Roberts
Joshua Slive wrote: On 4/19/07, Ben Roberts <[EMAIL PROTECTED]> wrote: Hello there, I need to setup htpasswd protection on a web directory served by Apache. I also need to permit access to the index file in the specified directory, but block access to any other files or subdirectories. So I'm

[EMAIL PROTECTED] mod_ldap/mod_auth_ldap via ssl

2007-04-19 Thread John Minson
My ldap auth works 100% when my ldap url is ldap://dir:389 and fails 100% when I attempt to go via ssl ldaps://dir:636 and spews forth auth_ldap authenticate: user johndoe authentication failed; URI / [LDAP: ssl connections not supported][Can't contact LDAP server] If I use ldap://dir:636

Re: [EMAIL PROTECTED] Memory occupied and number of files open

2007-04-19 Thread Joshua Slive
On 4/19/07, Arnab Ganguly <[EMAIL PROTECTED]> wrote: Hi, How much Apache occupies memory and number of files it opens for each client request of the MaxClient value?If it is dependent on the system , how do we find out?Looking forward for your response. Yes, it is system and configuration depen

Re: [EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Joshua Slive
On 4/19/07, Ben Roberts <[EMAIL PROTECTED]> wrote: Hello there, I need to setup htpasswd protection on a web directory served by Apache. I also need to permit access to the index file in the specified directory, but block access to any other files or subdirectories. So I'm using a configuratio

Re: [EMAIL PROTECTED] Apache and ajax

2007-04-19 Thread Richard Dunne
My php script is working perfectly and my xmlhttprequest was communicating with the php script as I was getting readystates 1,2,3,4 and http status 200, only the php script itself was not getting executed. The only element I changed was changing from jakarta tomcat to apache. I'm in the middle

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread Joshua Slive
On 4/19/07, Matt Fielding <[EMAIL PROTECTED]> wrote: I'm still getting the same problem. Which ever virtualhost is listed first is the one that works on both domains, and it is now setup like this: Do you have NameVirtualHost *:80 someplace in your config? Joshua.

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread Matt Fielding
> here is an example of one of my virtual host settings that are is in > etc/apache22/includes/virtual # typo on the line above should read etc/apache22/includes/virtual.conf > > > DocumentRoot /usr/virtualwebs/my.domain.net > ServerName www.my.domain.net > Options Indexes >

Re: [EMAIL PROTECTED] Apache and ajax

2007-04-19 Thread Pid
Richard Dunne wrote: I was using localhost:8080 on jakarta tomcat to view php webpages and execute an xmlhttprequest, but I found that this version on tomcat was not compatible with php scripts. So I installed apache 2.0 instead. Now when I try to execute the same request, I am getting this

Re: [EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Leah Newmark
Would it help to nest the directive in the ? Ben Roberts wrote: > Hello there, > > I need to setup htpasswd protection on a web directory served by Apache. > > I also need to permit access to the index file in the specified > directory, but block access to any other files or subdirectories. > >

[EMAIL PROTECTED] Apache and ajax

2007-04-19 Thread Richard Dunne
I was using localhost:8080 on jakarta tomcat to view php webpages and execute an xmlhttprequest, but I found that this version on tomcat was not compatible with php scripts. So I installed apache 2.0 instead. Now when I try to execute the same request, I am getting this unspecified error: cod

[EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Ben Roberts
Hello there, I need to setup htpasswd protection on a web directory served by Apache. I also need to permit access to the index file in the specified directory, but block access to any other files or subdirectories. So I'm using a configuration like this: Order deny,allow Al

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread David Southwell
On Thursday 19 April 2007 10:31:55 David Southwell wrote: > On Thursday 19 April 2007 09:37:19 Matt Fielding wrote: > > Hello, I am new to this group and asking my first question, hopefully I > > explain it with enough detail. > > > > I have two domains hosted via dyndns.org pointing to a server I

Re: [EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread David Southwell
On Thursday 19 April 2007 09:37:19 Matt Fielding wrote: > Hello, I am new to this group and asking my first question, hopefully I > explain it with enough detail. > > I have two domains hosted via dyndns.org pointing to a server I run in my > house, I am running WAMP5 off it, and trying to configur

[EMAIL PROTECTED] VirtualHost Issues

2007-04-19 Thread Matt Fielding
Hello, I am new to this group and asking my first question, hopefully I explain it with enough detail. I have two domains hosted via dyndns.org pointing to a server I run in my house, I am running WAMP5 off it, and trying to configure both my domains to point to different directories on the apach

[EMAIL PROTECTED] RE: [CONFIG] make httpd serve .java files as text

2007-04-19 Thread deufrai
Boyle Owen wrote: > >> -Original Message- >> From: deufrai [mailto:[EMAIL PROTECTED] >> Sent: Thursday, April 19, 2007 4:49 PM >> To: users@httpd.apache.org >> Subject: [EMAIL PROTECTED] [CONFIG] make httpd serve .java files as text >> >> >> hi there. >> >> I'm serving a few java uti

RE: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed

2007-04-19 Thread Boyle Owen
> -Original Message- > From: Scott Dudley [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 3:10 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed > > > > Boyle Owen wrote: > >> -Original Message- > >> From: Sc

Re: [EMAIL PROTECTED] [CONFIG] make httpd serve .java files as text

2007-04-19 Thread Dragon
deufrai wrote: hi there. I'm serving a few java utilities with an apache 2.2.3 server. I provide .jar files along with the sources. Tried with lots of web browsers, but I cannot simply view the sources as text inside web browsers. I'm always asked to download the file or pick an app to open it

RE: [EMAIL PROTECTED] [CONFIG] make httpd serve .java files as text

2007-04-19 Thread Boyle Owen
> -Original Message- > From: deufrai [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 4:49 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] [CONFIG] make httpd serve .java files as text > > > hi there. > > I'm serving a few java utilities with an apache 2.2.3 serve

[EMAIL PROTECTED] [CONFIG] make httpd serve .java files as text

2007-04-19 Thread deufrai
hi there. I'm serving a few java utilities with an apache 2.2.3 server. I provide .jar files along with the sources. Tried with lots of web browsers, but I cannot simply view the sources as text inside web browsers. I'm always asked to download the file or pick an app to open it. Server is hos

[EMAIL PROTECTED] Memory occupied and number of files open

2007-04-19 Thread Arnab Ganguly
Hi, How much Apache occupies memory and number of files it opens for each client request of the MaxClient value?If it is dependent on the system , how do we find out?Looking forward for your response. Thanks -A

Re: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed

2007-04-19 Thread Sander Temme
Scott Dudley wrote: > > > Steve Swift wrote: >> Does the file which failed to execute contain a #! (shebang) pointing >> at an executable that apache cannot execute? > No. It's a static HTML. Looks like your web server is trying to execute the file, possibly because it's under your ScriptAlias

Re: [EMAIL PROTECTED] question about %b, %O (log_io) and %X formats

2007-04-19 Thread Joshua Slive
On 4/19/07, Alex <[EMAIL PROTECTED]> wrote: I suspected so. However, there are also a lot of lines, where %b is not equal to filesize (for example, for a 3Mb file, it can be 1034567, 2065789, almost anything, and it's not 206 response, but 200) - does it mean that server does not attempt to send

Re: [EMAIL PROTECTED] Apache 2.2 on WinXP and MPM Prefork mode

2007-04-19 Thread Joshua Slive
On 4/19/07, Sebastian Kubiak <[EMAIL PROTECTED]> wrote: I need to install software like Zend Optimizer on my machine but system requirements for Zend Optimizer is Apache 2.2.x (Prefork mode only). My OS: WinXP Prof. SP 2 MPM Defaults for Apache 2.2.x on Windows is mpm_winnt and now my question

Re: [EMAIL PROTECTED] new user

2007-04-19 Thread Joshua Slive
On 4/19/07, Stefan Cobb <[EMAIL PROTECTED]> wrote: I found apache, sourceforge.org and xxamp. How do I configure what files to offer on the ftp site? That question is WAY under-specified. We have no idea what you want to do or where you are starting from. If you have absolutely no experience

Re: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed

2007-04-19 Thread Scott Dudley
Boyle Owen wrote: -Original Message- From: Scott Dudley [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 8:28 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed I'm working on a friend's FC 3 server running Apache/2.0.54. We'r

Re: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed

2007-04-19 Thread Scott Dudley
Steve Swift wrote: Does the file which failed to execute contain a #! (shebang) pointing at an executable that apache cannot execute? No. It's a static HTML. On 19/04/07, *Scott Dudley* < [EMAIL PROTECTED] > wrote: I'm working on a friend's FC 3 server runn

Re: [EMAIL PROTECTED] mod_proxy_html is filling error_log

2007-04-19 Thread Nick Kew
On Thu, 19 Apr 2007 12:11:27 +0200 Torsten Foertsch <[EMAIL PROTECTED]> wrote: > [Thu Apr 19 08:42:50 2007] [error] [client 192.168.254.25] Error in > bucket read Yes, that's a minor bug in 2.5.2. with Apache 2.2. There's a fix but I haven't got around to releasing it as a version. > The devel

Re: [EMAIL PROTECTED] mod_proxy_html is filling error_log

2007-04-19 Thread Torsten Foertsch
On Thursday 19 April 2007 12:11, Torsten Foertsch wrote: > What is right? Or would it be better to try the development version? Torsten pgpz3ZKTtl9ZG.pgp Description: PGP signature

[EMAIL PROTECTED] mod_proxy_html is filling error_log

2007-04-19 Thread Torsten Foertsch
Hi, I am trying to deploy mod_proxy_html-2.5.2 with a httpd 2.2.3 but it fills my error_log with messages like: [Thu Apr 19 08:42:50 2007] [error] [client 192.168.254.25] Error in bucket read The reason for this message lies in the following part of the code, I think. if ( APR_BUCKET_IS_E

Re: [EMAIL PROTECTED] question about %b, %O (log_io) and %X formats

2007-04-19 Thread Alex
> I don't understand your confusion. If the response is aborted, > it is > natural that the actual number of bytes sent to the client (%O) > is > smaller than the size of the resource the server attempted to > send > (%b). In reality, %b is not a reliable measure of anything > except > exactly what

[EMAIL PROTECTED] Apache 2.2 on WinXP and MPM Prefork mode

2007-04-19 Thread Sebastian Kubiak
I need to install software like Zend Optimizer on my machine but system requirements for Zend Optimizer is Apache 2.2.x (Prefork mode only). My OS: WinXP Prof. SP 2 MPM Defaults for Apache 2.2.x on Windows is mpm_winnt and now my question is: Can I install Apache on WinXP with other MPM mode,

Re: [EMAIL PROTECTED] Signal 11 (SIGSEV) and signal 10 (SIGBUS)

2007-04-19 Thread Dave Floyd
Hi, You don't give any details of the system or software configuration. You may be running out of system resources. For instance, if your build causes apache processes with a large memory footprint, you might run out of memory with a high MaxClient value. This is only an example. You need to

[EMAIL PROTECTED] options indexes

2007-04-19 Thread Thufir
I'm trying to change my options such that browsing to brings up a list of files in that directory, rather than the fedora default page. If I rename helloworld.html to index.html, yes, it shows the index. Also, I can point the browser to and g

RE: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed

2007-04-19 Thread Boyle Owen
> -Original Message- > From: Scott Dudley [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 8:28 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] (13)Permission denied: exec of ... failed > > > I'm working on a friend's FC 3 server running Apache/2.0.54. > > We're g