[EMAIL PROTECTED] Another "attempt to invoke directory as script" Error

2007-03-12 Thread Liyu,She
Hi, everyone. I am running Apache 2.2.3 on FreeBSD 6.1release. I was trying to make the /cgi/ path indexed while visiting. More specifically, I want anyone visiting /cgi/ would be automatically redirected to /cgi/index.html The related configuration part is: =

Re: [EMAIL PROTECTED] Re: Setting parameters from config file

2007-03-12 Thread Vincent Bray
On 13/03/07, Venkateswara Rao Parimi <[EMAIL PROTECTED]> wrote: Thanks for the info noddl. As the If crud is still around I think it's worth having the ability to define the parameters in custom configs. For example if I want to include default ssl.conf in my config without mucking with startup

[EMAIL PROTECTED] Apache 2.0.5x wrong Apache hostname in Via Header when used as Reverse Proxy

2007-03-12 Thread ABAPGUY
Hi all , using Apache 2.0.58 and 59 as a Reverse Proxy I am seeing the wrong hostname in the Via header that Apache sends to downstream servers . e.g. Apache has a load balanced alias = host1.xxx.com although the server hostname is actually = apache.xxx.yyy.com in the xxx.yyy.com domain All clien

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread Asim Munawar
Dear Matt and All Actually i just realized that telnet is also not working ... only ssh is working from the internet I am really sorry for the wrong information... I have tried everything possible after searching the internet but not able to find any solution I dont know why simp

Re: [EMAIL PROTECTED] Re: Setting parameters from config file

2007-03-12 Thread Venkateswara Rao Parimi
Thanks for the info noddl. As the If crud is still around I think it's worth having the ability to define the parameters in custom configs. For example if I want to include default ssl.conf in my config without mucking with startup scripts or default ssl.conf itself per node, wouldn't it really m

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread matt farey
Thomas Blanchin wrote: > Yes, sure, here it is. > > here is a working one : > http://www01.123ticket.com/public/index_d.php?lang=ru > > and a non-working one : > http://www10.123ticket.com/public/index_d.php?lang=ru > > The text is contained in static files (part of the nfs share) > All servers a

Re: [EMAIL PROTECTED] Re: Setting parameters from config file

2007-03-12 Thread Vincent Bray
On 13/03/07, Venkateswara Rao Parimi <[EMAIL PROTECTED]> wrote: hello, Is this addressed or any workaround found to define a parameter within config files? No, it's not addressed and like Dean points out in the message you quoted, doesn't need to be in this way. The question asked here is "can

[EMAIL PROTECTED] Re: Setting parameters from config file

2007-03-12 Thread Venkateswara Rao Parimi
hello, Is this addressed or any workaround found to define a parameter within config files? Thanks in advance for the responding! Yes, Dean, you are allowed to say that. =) Brian On Tue, 1 Jun 1999, Dean Gaudet wrote: Do I get to say "I told you so" here? (For those who've forgotte

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread Serge Dubrouski
On 3/12/07, Thomas Blanchin <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have a problem getting some httpd servers displaying russians characters. I have different machines serving the same content (mounted via nfs). - - All servers run httpd 2.0.52 and php

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread Grant
> OK I have: > > AddOutputFilter DEFLATE html css cool provided your browser sends the accept header, then this should bring performance and bandwidth benefits, especially for larger pages. (for tiny JSON output the server zip and browser unzip cycle isnt worth it, but CPU is cheap eh?:) Thanks

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread Thomas Blanchin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, sure, here it is. here is a working one : http://www01.123ticket.com/public/index_d.php?lang=ru and a non-working one : http://www10.123ticket.com/public/index_d.php?lang=ru The text is contained in static files (part of the nfs share) All serv

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread matt farey
Grant wrote: >> > Have you used mod_security yourself? >> yes I can say that the code is extremely well written, and that the >> project as a whole has gained critical acclaim. If you are _not_ using >> it, do - it's very useful. The idea is to gain control over a >> problematic and complex appli

Re: [EMAIL PROTECTED] Russian characters

2007-03-12 Thread matt farey
Thomas Blanchin wrote: > Hi all, > > I have a problem getting some httpd servers displaying russians > characters. > I have different machines serving the same content (mounted via nfs). > - All servers run httpd 2.0.52 and php 4.4.5. > - The httpd and php configuration is synced over all servers

[EMAIL PROTECTED] Russian characters

2007-03-12 Thread Thomas Blanchin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have a problem getting some httpd servers displaying russians characters. I have different machines serving the same content (mounted via nfs). - - All servers run httpd 2.0.52 and php 4.4.5. - - The httpd and php configuration is synced ove

Re: [EMAIL PROTECTED] Reverse proxying errors

2007-03-12 Thread sniedermeyer
Hi Nick, Sorry about the long post. 1) Pretty sure the network and DNS are working. Wouldn't we see more consistent failures if it was this? 2) I have the following directives in the httpd.conf file: SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 Is that what you were referring t

Re: [EMAIL PROTECTED] Reverse proxying errors

2007-03-12 Thread Nick Kew
On Mon, 12 Mar 2007 15:43:24 -0700 [EMAIL PROTECTED] wrote: [chop. This post is far too long. Next time, please post a summary, and just a pointer to your config and log stuff] > Symptoms > > Pages or sometimes images take much longer to load than the page > (sometimes 30+ seconds or more). T

[EMAIL PROTECTED] Reverse proxying errors

2007-03-12 Thread sniedermeyer
I've been trying to track down a resolution to this issue for some time now and still haven't found anything. If anyone has ideas on what might be happening and how to fix it, I would greatly appreciate a hand. Summary We're using Apache to reverse proxy a number of web applications. The sympto

[EMAIL PROTECTED] Default APR sizes of size_t and ssize_t when cross compiling

2007-03-12 Thread Aizer Danny-BDA023
Hello, I am cross-compiling Apache HTTPD 2.2.3 on a Red Hat Linux 9 (the build machine) for a PowerPC 82xx embedded device. When I run the top-level configure script which runs among others the APR configure script, I notice that the sizeof size_t and ssize_t are being defaulted to "8" because th

[EMAIL PROTECTED] More mod_rewrite info

2007-03-12 Thread Israel Brewster
I was recently having an issue using mod_rewrite that turned out to be due to the PHP script that I was using querying the REQUEST_URI to figure out the page it needed to display, and the (apparent) fact that mod_rewrite doesn't change this value (see archives for full discussion/problem ex

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread Grant
> Have you used mod_security yourself? yes I can say that the code is extremely well written, and that the project as a whole has gained critical acclaim. If you are _not_ using it, do - it's very useful. The idea is to gain control over a problematic and complex application/codebase by modifying

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread matt farey
Asim Munawar wrote: > I am using Fedora Core 6 on Pentium Mobile laptop... > My Apache version is > > [EMAIL PROTECTED] ~]# apachectl -v > Server version: Apache/2.2.3 > Server built: Sep 11 2006 09:43:18 > > I added the line > Listen MY_STATIC_INTERNET_IP:80 to http.conf but its giving th

Re: [EMAIL PROTECTED] Kerberos Authentication

2007-03-12 Thread [EMAIL PROTECTED]
There are some web references out there. I had to install from source because I was installing on Solaris 8 and not linux. Here are some links: http://sl.mvps.org/docs/LinuxApacheKerberosAD.htm http://modauthkerb.sourceforge.net/ On 3/12/07, Gayal <[EMAIL PROTECTED]> wrote: Can u please t

Re: [EMAIL PROTECTED] Kerberos Authentication

2007-03-12 Thread [EMAIL PROTECTED]
I've done it with W2K DCs. On 3/12/07, Gayal <[EMAIL PROTECTED]> wrote: Greetings, I was trying to implement Kerberos authentication for Apache Web Server. Have any one tried this earlier with a KDC without using Win2003DC. Thanks in advance. -- Gayal Rupasinghe http://Gayal.zapto.org

Re: [EMAIL PROTECTED] Help: how to configure multiple apache servers behind a hardware load balancer

2007-03-12 Thread anton
Thanks again for your suggestions, Matt. I got it working by using a slightly different approach. My guess is that apache had an issue (again, only with multiple servers) when the first virtual server was a redirect. By changing the httpd.conf section included earlier to the following one (note

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread matt farey
Krist van Besien wrote: > On 3/12/07, Asim Munawar <[EMAIL PROTECTED]> wrote: >> Dear All >>I am new to apache... I have actually installed apache, php and >> postgres to run a wiki web page. my web server have two network >> cards. one >> is connected to the internet with static IP and t

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread Asim Munawar
I am using Fedora Core 6 on Pentium Mobile laptop... My Apache version is [EMAIL PROTECTED] ~]# apachectl -v Server version: Apache/2.2.3 Server built: Sep 11 2006 09:43:18 I added the line Listen MY_STATIC_INTERNET_IP:80 to http.conf but its giving the same problem... please sugg

Re: [EMAIL PROTECTED] Kerberos Authentication

2007-03-12 Thread Gayal
Can u please tell me how u did that..I need to implement this ASAP.. Thanx in advance On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I've done it with W2K DCs. On 3/12/07, Gayal <[EMAIL PROTECTED]> wrote: > > Greetings, > > I was trying to implement Kerberos authentication for Apach

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread Krist van Besien
On 3/12/07, Asim Munawar <[EMAIL PROTECTED]> wrote: Dear All I am new to apache... I have actually installed apache, php and postgres to run a wiki web page. my web server have two network cards. one is connected to the internet with static IP and the other is connected to the LAN. now the

Re: [EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread Norbert Wachnicki
maybe you should add Listen LAN_IP_ADRES in httpd.conf - Original Message - From: Asim Munawar To: users@httpd.apache.org Sent: Monday, March 12, 2007 1:43 PM Subject: [EMAIL PROTECTED] Problem in using Apache Dear All I am new to apache... I have actually instal

[EMAIL PROTECTED] Problem in using Apache

2007-03-12 Thread Asim Munawar
Dear All I am new to apache... I have actually installed apache, php and postgres to run a wiki web page. my web server have two network cards. one is connected to the internet with static IP and the other is connected to the LAN. now the apache homepage is only visible from the LAN whi

RE: [EMAIL PROTECTED] Apache + PHP as CGI?!

2007-03-12 Thread Jan van den Berg
In your VH or in your global config: AddHandler php .php Action php /path/to/your/cgi-bin/php Jan Van: Norbert Wachnicki [mailto:[EMAIL PROTECTED] Verzonden: maandag 12 maart 2007 12:48 Aan: users@httpd.apache.org Onderwerp: [EMAIL PROTEC

[EMAIL PROTECTED] Apache + PHP as CGI?!

2007-03-12 Thread Norbert Wachnicki
Dear Subscribers, I am going to configure apache with PHP, but I need that scripts in users directory was run with users rights, I know that I can do this with suexec and CGI, but I DON'T want to add #/usr/pin/php line at the begining of each file. Maybe You have any suggestions how to do t

[EMAIL PROTECTED] Kerberos Authentication

2007-03-12 Thread Gayal
Greetings, I was trying to implement Kerberos authentication for Apache Web Server. Have any one tried this earlier with a KDC without using Win2003DC. Thanks in advance. -- Gayal Rupasinghe http://Gayal.zapto.org

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-12 Thread matt farey
Grant wrote: >> >> As I understand it, the reason why you wish the whitespace to be >> reduced >> >> is so you look at the source within your browser, and that you >> plan to >> >> use mod_deflate later ro reduce bandwidth (which is surely not too >> much >> >> of a problem - it's probably equiva