Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-12 Thread Thorsten Scherler
On Fri, 2008-05-09 at 09:22 -0400, Joshua Slive wrote: On Fri, May 9, 2008 at 4:05 AM, Thorsten Scherler [EMAIL PROTECTED] wrote: Hi all, how can I test whether a file exist in a ssi page? I have following !--#set var=name value=$DOCUMENT_ROOT/2008/88/test.html -- which will return

Re: [EMAIL PROTECTED] Apache 2.2.8 serves nothing or garbled directory lists or image file name

2008-05-12 Thread Frank Huddleston
I just realized that I didn't answer all of your questions: The NetBSD computer on which this apache is installed is part of my home LAN, so I'm not running a browser on the machine running the server: I'm running the browser on a laptop in the other room. Regards, Frank H. William A. Rowe,

Re: [EMAIL PROTECTED] Apache2+NFS+LDAP+CGI issue

2008-05-12 Thread Henric Blomgren
Hi, The slashbang is correct - perl is loaded from the local (boot) filesystem on each of the servers. Only the scripts and public_html folders are loaded from the NFS share. For simplicity I changed apache's processes to max 3, made it easier to find which PID's to run strace on. Perl is

[EMAIL PROTECTED] Web publication, elemental doubt

2008-05-12 Thread aldiaz84
Hi! , i have some doubts about apache config to publish mi aplication in web I have an apache server runnig at port 8080 , whith my web aplication, all it's ok. I want to acces to my app by the Web, i have an Public ip adress, and i want to associate it to my localhost ip. i have

Re: [EMAIL PROTECTED] Web publication, elemental doubt

2008-05-12 Thread Henric Blomgren
Hi, If you server machine has got the external IP assigned to it you'd simply need to tell apache to listen to that interface, e.g.: Listen EXTERNAL_IP_ADDRESS_HERE:8080 If your server machine is behind a firewall / nat, you'd need to configure your router / firewall to map traffic for 8080 to

Re: [EMAIL PROTECTED] Apache2+NFS+LDAP+CGI issue

2008-05-12 Thread Krist van Besien
What happens when you set Options +ExecCGI for the scripts directory in your apache config? (It might be that somewhere in your config you have Options -ExecCGI, and that your vitualhosts inherit this option. With this set no CGI gets executed...) Krist -- [EMAIL PROTECTED] [EMAIL

Re: [EMAIL PROTECTED] Apache2+NFS+LDAP+CGI issue

2008-05-12 Thread Eric Covener
On Mon, May 12, 2008 at 5:39 AM, Henric Blomgren [EMAIL PROTECTED] wrote: Strace available for download from: http://digitalroutes.co.uk/httpdList.txt maybe lost some relevant info due to no -f on strace invocation... -- Eric Covener [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-12 Thread Nick Kew
On Mon, 12 May 2008 09:30:28 +0200 Thorsten Scherler [EMAIL PROTECTED] wrote: !--#if expr=-A /2008/88/test.html-- !--#include virtual=/boletines/2008/88/test.html-- Is the difference in those paths a typo? -- Nick Kew Application Development with Apache - the Apache Modules Book

Re: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Mohammed Salih
Hi there, The answer is simple. The Apache balancer module will not check if the tomcat is operational or not until it gets a new request for the tomcat or backend servers. There is no watch dog facility like those seen in hardware load balancers in Apache. Cheers. Salih On Thu, May 8, 2008 at

Re: [EMAIL PROTECTED] Large File Upload blocking

2008-05-12 Thread Mohammed Salih
Hi there, Look for something related to Content-length request header. Usually it contains the size of the POST data. You may need to use a mix of the exisiting solution + the Content-length for security reasons. Cheers Salih On Fri, May 2, 2008 at 8:32 PM, sirius black [EMAIL PROTECTED] wrote:

Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-12 Thread Thorsten Scherler
On Mon, 2008-05-12 at 13:27 +0100, Nick Kew wrote: On Mon, 12 May 2008 09:30:28 +0200 Thorsten Scherler [EMAIL PROTECTED] wrote: !--#if expr=-A /2008/88/test.html-- !--#include virtual=/boletines/2008/88/test.html-- Is the difference in those paths a typo? Yeah, but only in the mail,

Re: [EMAIL PROTECTED] Web publication, elemental doubt

2008-05-12 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true.

Re: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Serge Dubrouski
That is well understood, but why does balance-manager reports Ok status for members that failed on previous requests? On Mon, May 12, 2008 at 6:35 AM, Mohammed Salih [EMAIL PROTECTED] wrote: Hi there, The answer is simple. The Apache balancer module will not check if the tomcat is

[EMAIL PROTECTED] question on mod_proxy_balancer

2008-05-12 Thread Arnab Ganguly
Hi All, I am using mod_proxy_balancer in Apache Red-Hat 3.0 and mpm=worker. Just curious is it possible to configure a time to live value so that within that particular time all the request will be routed by the load balancer to a particular server.Once it expires it switches to some other server.

Re: [EMAIL PROTECTED] RE: pac file

2008-05-12 Thread Matus UHLAR - fantomas
On 11.05.08 17:41, Dean Larson wrote: i have looked and tried everything i can to get a pac file to be sent to my browser. if the file extension is .pac, i get an error. i can get the file sent to my browser to autoconfigure my browser for proxy settings, if it is named pacfile, readme,

[EMAIL PROTECTED] two factor authentication

2008-05-12 Thread Travis Sidelinger
Any know an easy method to provide 2-factor authentication in Apache? I'd like to require both a group name+password and a user name+password. (or simply just two user accounts) I think this could be implemented via mod_proxy, or by writing a CGI program to handle all the authentication.

Re: [EMAIL PROTECTED] two factor authentication

2008-05-12 Thread William A. Rowe, Jr.
Travis Sidelinger wrote: Any know an easy method to provide 2-factor authentication in Apache? I'd like to require both a group name+password and a user name+password. (or simply just two user accounts) I think this could be implemented via mod_proxy, or by writing a CGI program to handle

Re: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Mohammed Salih
If that is the case then it is a problem. But I think you didn't go through the email posted by Mr. Narendra Cheers On Mon, May 12, 2008 at 6:09 PM, Serge Dubrouski [EMAIL PROTECTED] wrote: That is well understood, but why does balance-manager reports Ok status for members that failed on

[EMAIL PROTECTED] Best practices for ProxyPassReverse

2008-05-12 Thread Francisco Gimeno
Hello, I'm having some problems with ProxyPassReverse directive. My current config is similar to this: Location /A ProxyPass http://B ProxyPass http://B /Location Location /C ProxyPass http://B/C ProxyPass http://B/C /Location - If I do the following

Re: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Serge Dubrouski
He's talking almost the same problem: balancer-manager doesn't reflect a correct status for a given balancer member. On Mon, May 12, 2008 at 11:30 AM, Mohammed Salih [EMAIL PROTECTED] wrote: If that is the case then it is a problem. But I think you didn't go through the email posted by Mr.

[EMAIL PROTECTED] reverse-proxy from /

2008-05-12 Thread Eric Bowman
Hi all, I'm trying to run http 2.2.x so that it proxies all requests to subpath on another server, something like: ProxyPass / balancer://foocluster/ ProxyPassReverse / http://bar:35540/foo/ proxy balancer://foocluster/ BalancerMember http://bar:35540/foo/ loadfactor=1 /proxy This works

[EMAIL PROTECTED] Stripping off headers

2008-05-12 Thread Tracy12
Hi All, We got apache httpd server 2.2.6, we also got mod_perl 2.0.2, We wrote a authentication handler, Everything works fine, but we have a strage behaviour that all the custom headers in the request before it goes through the auth handler and stripped off when it goes to the destination.

RE: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Narendra Verma
Hi Salih, Thanks for your reply, Yes it makes sense. Now I got answer. cheers Narenera -Original Message- From: Mohammed Salih [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 11:01 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] balancer-manager gui issue If that is