Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 17:17, Matus UHLAR - fantomas wrote: > > > Redirect / https://www.site.co.za > > > > in the VirtualHost section for site.co.za (yes, you need separate virtual > > host) > > > > I hope you have SSL certificate for www.site.co.za with alternative name > > site.co.za, otherwise

Re: [us...@httpd] Apache22 + PHP52

2010-11-15 Thread Sharl.Jimh.Tsin
it is so strange,check your httpd logs and server-info. Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 2010/11/16 Eric Covener : > On Mon, Nov 15, 2010 at 6:55 PM, motty.cruz wrote: >> Thanks Eric, >> I tried that too! To no success. >> > http://wiki.apache.org/httpd/

Re: [us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread William A. Rowe Jr.
On 11/15/2010 6:30 PM, Nick Kew wrote: > > The CGI spec is clear: CONTENT_LENGTH is guaranteed; > EOF is NOT guaranteed, so reading to EOF is a bug and > means the CGI can only ever "work" by coincidence! Ah yes, pre-HTTP/1.1, silly me. > CGI pre-dates chunked encoding (as do reports of the > d

Re: [us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread Nick Kew
On Mon, 15 Nov 2010 15:25:18 -0600 "William A. Rowe Jr." wrote: > This is really a flaw in your CGI; No it isn't! The CGI spec is clear: CONTENT_LENGTH is guaranteed; EOF is NOT guaranteed, so reading to EOF is a bug and means the CGI can only ever "work" by coincidence! CGI pre-dates chunked

Re: [us...@httpd] Apache22 + PHP52

2010-11-15 Thread Eric Covener
On Mon, Nov 15, 2010 at 6:55 PM, motty.cruz wrote: > Thanks Eric, > I tried that too! To no success. > http://wiki.apache.org/httpd/PHPDownload - The official User-To-User support forum of the Apache HTTP Server Project. See http

RE: [us...@httpd] Apache22 + PHP52

2010-11-15 Thread motty.cruz
Thanks Eric, I tried that too! To no success. Thanks, -Motty -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Monday, November 15, 2010 3:51 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache22 + PHP52 On Mon, Nov 15, 2010 at 6:43 PM, motty.cruz wr

Re: [us...@httpd] Apache22 + PHP52

2010-11-15 Thread Eric Covener
On Mon, Nov 15, 2010 at 6:43 PM, motty.cruz wrote: > Hello, > I installed the following > Apache 2.2 > PHP 5.2 > MySQL 5.1 > > But when I access domain.com/test.php I get the following >        Phpinfo(); > ?> > > I don't get the usual output by PHP, instead I get the code; acting as if I > don't

[us...@httpd] Apache22 + PHP52

2010-11-15 Thread motty.cruz
Hello, I installed the following Apache 2.2 PHP 5.2 MySQL 5.1 But when I access domain.com/test.php I get the following I don't get the usual output by PHP, instead I get the code; acting as if I don't have PHP enable in Apache22. In my httpd.conf LoadModule php5_modulelibexec/apac

Re: [us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread Jeff Trawick
On Mon, Nov 15, 2010 at 4:25 PM, William A. Rowe Jr. wrote: > On 11/15/2010 3:43 AM, Steven Simpson wrote: >> >> I intend to have a CGI program extract a form field and deliver this >> data to an external system, but the field in question is likely to be >> huge.  The server can't invoke the progr

Re: [us...@httpd] port 80 or port 8080

2010-11-15 Thread Daniel Reinhardt
-Original Message- From: William A. Rowe Jr. Sent: 15 November, 2010 21:22 To: users@httpd.apache.org Subject: Re: [us...@httpd] port 80 or port 8080 On 11/14/2010 6:02 AM, Jorge Schrauwen wrote: You can tell skype to use another port. (Somewhre onder settings, alteast on linux and

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Mohit Anchlia
On Mon, Nov 15, 2010 at 1:23 PM, Jeroen Geilman wrote: > On 11/15/2010 10:21 PM, Mohit Anchlia wrote: >> >> On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman  wrote: >> >>> >>> On 11/15/2010 10:12 PM, Mohit Anchlia wrote: >>> On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman  wrote: >>

Re: [us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread William A. Rowe Jr.
On 11/15/2010 3:43 AM, Steven Simpson wrote: > > I intend to have a CGI program extract a form field and deliver this > data to an external system, but the field in question is likely to be > huge. The server can't invoke the program until it knows the length of > the request body, in order to se

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Jeroen Geilman
On 11/15/2010 10:21 PM, Mohit Anchlia wrote: On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman wrote: On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman wrote: On 2010-11-04 23:38, Mohit Anchlia wrote: 500 (Internal Se

Re: [us...@httpd] port 80 or port 8080

2010-11-15 Thread William A. Rowe Jr.
On 11/14/2010 6:02 AM, Jorge Schrauwen wrote: > You can tell skype to use another port. (Somewhre onder settings, > alteast on linux and mac) > Then you can install httpd on port 80. > > You can use other ports like 8080 but if you do this you will need to > include them in the URL. And if httpd

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Mohit Anchlia
On Mon, Nov 15, 2010 at 1:18 PM, Jeroen Geilman wrote: > On 11/15/2010 10:12 PM, Mohit Anchlia wrote: >> >> On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman >>  wrote: >> >>> >>> On 2010-11-04 23:38, Mohit Anchlia wrote: >>> >>> 500 (Internal Server Error) Can't read entity body: Connect

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Jeroen Geilman
On 11/15/2010 10:12 PM, Mohit Anchlia wrote: On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman wrote: On 2010-11-04 23:38, Mohit Anchlia wrote: 500 (Internal Server Error) Can't read entity body: Connection reset by peer Content-Type: text/plain Client-Date: Thu, 04 Nov 2010 22:36:21

Re: [us...@httpd] Re: LimitRequestBody http return code

2010-11-15 Thread Mohit Anchlia
On Sun, Nov 14, 2010 at 11:58 AM, Jonas Eckerman wrote: > On 2010-11-04 23:38, Mohit Anchlia wrote: > >> 500 (Internal Server Error) Can't read entity body: Connection reset by peer >> Content-Type: text/plain >> Client-Date: Thu, 04 Nov 2010 22:36:21 GMT >> Client-Warning: Internal response > > I

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-15 Thread Mohit Anchlia
On Mon, Nov 15, 2010 at 3:56 AM, Matus UHLAR - fantomas wrote: >> >> On Thu, October 28, 2010 16:24, Tom Evans wrote: >> >> > Why do you care what the status code is? (or rather, why do you want >> >> > to return OK when an error occurs?) >> > >> > On 28.10.10 16:48, Joost de Heer wrote: >> >> To

[us...@httpd] Distributed logging

2010-11-15 Thread Dennis Jacobfeuerborn
Hi, what is the best way to handle the logging of multiple Apache instances? I'm looking for a way to have say 10 Apache servers efficiently log to central location so I can analyze the aggregated log-data there. I've seen mod_log_spread but the last changelog entry is from 2006 so I'm not sure

[us...@httpd] Group authentication to AD

2010-11-15 Thread Patricia A Moss
I am having a problem with apache authenticating using an ldap group. I have version 2.2.3, of httpd, installed. My location block is configured as below: dav svn SVNPath /disk01/home/test_repo AuthType Basic AuthName "Subversion Repository" AuthBasicProvider ldap-FCGNET ldap-VIET AuthzLDAPAuth

Re: [us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread Jeff Trawick
On Mon, Nov 15, 2010 at 4:43 AM, Steven Simpson wrote: > Hi, > > I intend to have a CGI program extract a form field and deliver this > data to an external system, but the field in question is likely to be > huge.  The server can't invoke the program until it knows the length of > the request body

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Frank Gingras
On 11/15/2010 12:37 PM, Rudi Kramer wrote: On 15 November 2010 17:17, Matus UHLAR - fantomas mailto:uh...@fantomas.sk>> wrote: Redirect / https://www.site.co.za in the VirtualHost section for site.co.za (yes, you need separate virtual host) I hope you

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
On 15 November 2010 17:17, Matus UHLAR - fantomas wrote: > Redirect / https://www.site.co.za > > in the VirtualHost section for site.co.za (yes, you need separate virtual > host) > > I hope you have SSL certificate for www.site.co.za with alternative name > site.co.za, otherwise browsers will rep

Re: [us...@httpd] Rewrite logs are empty (Apache 2.0.47)

2010-11-15 Thread Sai A
I didn't try with an absolute path, only with relative paths. The file does get generated inside the logs folder, just that it is empty. Inigo, thanks a lot for trying to help. I really appreciate everybody's help and time on these threads. A fellow colleague informed me that he'd earlier had a s

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 14:40, Matus UHLAR - fantomas wrote: > > > > There is no need for mod_rewrite. the Redirect directive can do exactly the > > same with less of workload. > > > > You don't need a cannon for shooting birds, do you? On 15.11.10 15:27, Rudi Kramer wrote: > > ServerName www.site

Re: [us...@httpd] ssl_error_rx_unexpected_server_key_exch

2010-11-15 Thread Plot Lost
On Mon, Nov 15, 2010 at 6:43 PM, Ricardo Stella wrote: > > Hello, > > We're getting these errors on some of our web servers (different > instances running on different ports) being detected by Firefox 3.6.9+ > > This happens after about a week of normal use. A restart temporarily > fixes the pro

[us...@httpd] ssl_error_rx_unexpected_server_key_exch

2010-11-15 Thread Ricardo Stella
Hello, We're getting these errors on some of our web servers (different instances running on different ports) being detected by Firefox 3.6.9+ This happens after about a week of normal use. A restart temporarily fixes the problem, but we have not been able to find a solution from the server sid

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Eric Covener
> but I still cannot get it right to redirect the https://site.co.za redirect > to https://www.site.co.za, I think it might be my lack understanding of > regex though. > Does this look right? > RedirectMatch ^http\://bpultimateride\.co\.za No, the first argument is just the URL-path, not an entire

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
On 15 November 2010 14:40, Matus UHLAR - fantomas wrote: > > There is no need for mod_rewrite. the Redirect directive can do exactly the > same with less of workload. > > You don't need a cannon for shooting birds, do you? On 15 November 2010 14:40, Matus UHLAR - fantomas wrote: > > There is

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
- "Rudi Kramer" wrote: > I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue > with mod rewrite and SSL redirection. > > I have two objectives. The first is to redirect http://www.site.co.za > and http://site.co.za to the url https://www.site.co.za and the second > is to redire

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Igor Galić
- "Rudi Kramer" wrote: > Hi, > > > I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue > with mod rewrite and SSL redirection. > > > I have two objectives. The first is to redirect http://www.site.co.za > and http://site.co.za to the url https://www.site.co.za and the seco

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-15 Thread Matus UHLAR - fantomas
> >> On Thu, October 28, 2010 16:24, Tom Evans wrote: > >> > Why do you care what the status code is? (or rather, why do you want > >> > to return OK when an error occurs?) > > > > On 28.10.10 16:48, Joost de Heer wrote: > >> To work around the "Display userfriendly error messages" bug^Wfeature? >

[us...@httpd] Buffering of huge POSTs to CGI and alternatives

2010-11-15 Thread Steven Simpson
Hi, I intend to have a CGI program extract a form field and deliver this data to an external system, but the field in question is likely to be huge. The server can't invoke the program until it knows the length of the request body, in order to set CONTENT_LENGTH in the program's environment. If

Re: [us...@httpd] Rewrite logs are empty (Apache 2.0.47)

2010-11-15 Thread iñigo medina
When you say: "I've tried the above both inside and outside the virtual host." do you mean you have already tried absolute path? For instance: RewriteLog "/var/apache2/log/rewrite.log" iñ 2010/11/13 Sai A > Hi inigo, > > I tried it out now but that doesn't seem to be help as well. I am real

[us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
Hi, I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue with mod rewrite and SSL redirection. I have two objectives. The first is to redirect http://www.site.co.za and http://site.co.za to the url https://www.site.co.za and the s

Re: [us...@httpd] dynamic mpm-itk

2010-11-15 Thread Igor Galić
- "James Devine" wrote: > I wrote a module that runs prior to itk which checks for this special > case and sets both the uid and gid, this seems to run fairly nicely So you wrote a hack to stand on the shoulders of another hack? Nce ;) i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail