Re: [EMAIL PROTECTED] Redirect Port 80 requests to https

2005-08-26 Thread Sean Conner
It was thus said that the Great Dave Morrow once stated: > > Hi all. How can I rewrite port 80 to https? I know I have seen this > somewhere, but cannot locate it. > > Basically, if someone comes in to http://www.mydomain.com I want to > redirect them to https://www.mydomain.com Try

[EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
Hello, I've some problem implementing ProxyErrorOverride. It does not work correctly with "302" (moved) errors. In fact each first access time, the 302 error is printed instead of redirecting the browser on the right page. Any clue ? I really don't like sql server and IIS server errors being p

[cli-users] System.OutOfMemoryException

2005-08-26 Thread Luis Fco. Ramirez Daza Glez.
Hello   I have the following problem:   I have a page with a grid that is very large (>5000 records). It is a report, the user can select to print this info to a PDF or directly to the printer. The problem is that when using Apache the memory grows and the following error is raised: S

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
That's a good starting point. I've redone the vhost like that : SSLEngine On SSLProxyEngine on SSLCACertificateFile /etc/apache2/ssl/cacert.pem #SSLCertificateFile /etc/apache2/ssl/www.toto.net.crt #SSLCertificateKeyFile /etc/apache2/ssl/www.toto.net.key

RE: [EMAIL PROTECTED] Redirect Port 80 requests to https

2005-08-26 Thread Dave Morrow
Title: Redirect Port 80 requests to https Thanks for the replies all.    Here's what I found as the best overall answer for my situation (which is to redirect the entire site);   RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]   David A. Morrow Technical System

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Nick Kew
Jérôme Tytgat wrote: > the " " are transformed in " " no, the ampersand is entified. If you validated, you'd see that " " means something very different from " ", which is what you meant. Technically it's a browser bug if your browser doesn't display the " " as the characters "&", "n", etc

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
> > Since when is 302 an error? Since it's interpreted as it ? Anyway, the problem occurs WHEN and only WHEN I use ProxyErrorOverride > > You may need a proxyPassReverse directive. See > http://www.apacheweek.com/features/reverseproxies > I use it... elsewhere my reverse proxy would not at

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Nick Kew
Jérôme Tytgat wrote: Hello, I've some problem implementing ProxyErrorOverride. It does not work correctly with "302" (moved) errors. Since when is 302 an error? In fact each first access time, the 302 error is printed instead of redirecting the browser on the right page. Any clue ? You m

Re: [EMAIL PROTECTED] Content Negotiation/Type-Map Question

2005-08-26 Thread Christopher Parker
On 8/24/05, Joshua Slive <[EMAIL PROTECTED]> wrote: > Well, if you want apache to select a file whose extension you haven't > explicitly specified, then you need MultiViews. Without multiviews, > apache has no way to find the .var file. > > There are a number of options here. One is to rename yo

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Axel-Stéphane SMORGRAV
I wonder whether the problem could be that your HTML code contains mis-spelled special characters like " " which should have read " ". Unfortunately such errors are hidden by the fact that MSIE is very tolerant about the lacking semi-colon. Your problem is probably caused by the fact that proxy-

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
Axel-Stéphane SMORGRAV a écrit : > I wonder whether the problem could be that your HTML code contains > mis-spelled special characters like " " which should have read " ". > Unfortunately such errors are hidden by the fact that MSIE is very tolerant > about the lacking semi-colon. Your problem

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Axel-Stéphane SMORGRAV
You know what? Some applications build URLs based on the value of the Host header. If you use ProxyPreserveHost, it may just turn out to solve your problem altogether so you will not need to rewrite the HTML contents. -ascs -Original Message- From: Jérôme Tytgat [mailto:[EMAIL PROTECTE

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
even after enabling mod_headers and mod_proxy_html I still get the problem on Firefox. This what I see before I do a refresh on the browser : f4 302 Object Moved Object Moved The document has moved https://www.sevea.net/class/LYCEESEVEA/School/";>here. 0 HTTP/1.1 200 OK Date: Fri, 26 Aug 20

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
Nick Kew a écrit : > Jérôme Tytgat wrote: > > > the " " are transformed in " " > > no, the ampersand is entified. If you validated, you'd see that > " " means something very different from " ", which is what > you meant. > Technically it's a browser bug if your browser doesn't > displa

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
Axel-Stéphane SMORGRAV a écrit : > You know what? Some applications build URLs based on the value of the Host > header. If you use ProxyPreserveHost, > it may just turn out to solve your problem altogether so you will not need to > rewrite the HTML contents. > > -ascs Once I activate "Proxy

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Ranjan, Rajiv
Hi, I am running apache 1.3.28 as a front end (proxy) to my application running on WAS. But I keep getting the following error in my error.log even if I load the system with just 4 users. "[Tue Aug 23 17:24:31 2005] [error] Server ran out of threads to serve requests. Consider raising the Thre

RE: [EMAIL PROTECTED] Redirect Port 80 requests to https

2005-08-26 Thread pamela.kalle
Title: Redirect Port 80 requests to https Hi   is working with a redirect (in asp), a header(location:...) (in php) or a document.location(in _javascript_) not an option.   I don't know if changing the portnumber for ssl will change anything (I think you will still have to type the https://).

[EMAIL PROTECTED] Apache speed

2005-08-26 Thread Octavian Rasnita
Hi, I have made a program in Perl (which runs using mod_perl) and I have counted the time it runs when it is accessed. I have put at the beginning of the program: my $begin = (times)[0]; And at the end I have put: my $end = (times)[0] - $begin; The value of $end is usually 0.2 seconds, but if

[EMAIL PROTECTED] Getting a "Server ran out of threads " error on apache 1.3.28

2005-08-26 Thread Ranjan, Rajiv
Posting yet again. Didn't change the subject line last time. Hi, I am running apache 1.3.28 as a front end (proxy) to my application running on WAS. But I keep getting the following error in my error.log even if I load the system with just 4 users. "[Tue Aug 23 17:24:31 2005] [error] Server ra

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Axel-Stéphane SMORGRAV
That is probably because the ProxyPassReverse are no longer adequate... Unfortunately I am afraid this will be almost impossible to fix due to a problem in Apache regarding the interpretation of ProxyPassReverse in context. Nick, correct me if I am wrong, but what Jerôme would probably need is

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
> This, however, will not work unless you apply a patch now available at > http://issues.apache.org/bugzilla/show_bug.cgi?id=10722 (but which I have not > tested myself) I've faked the user agent in Firefox and looked at the cookies set by the server. Three cookies are set : NameMSCSTicke

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
> This, however, will not work unless you apply a patch now available at > http://issues.apache.org/bugzilla/show_bug.cgi?id=10722 (but which I have not > tested myself) > I may be wrong but for me the cookies are sent... (at least livehttpheaders is telling me that) : GET https://www.toto.n

RE: [cli-users] System.OutOfMemoryException

2005-08-26 Thread Pull, Heino
This is a known bug in the 2.0 version of mod_aspdotnet.  If you pull the latest version out of CVS this is fixed.     Heino R. Pull Federated Software Group   From: Luis Fco. Ramirez Daza Glez. [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 10:04 PM To: cli-users@h

Re: [EMAIL PROTECTED] Content Negotiation/Type-Map Question

2005-08-26 Thread Joshua Slive
On 8/25/05, Christopher Parker <[EMAIL PROTECTED]> wrote: > On 8/24/05, Joshua Slive <[EMAIL PROTECTED]> wrote: > > Well, if you want apache to select a file whose extension you haven't > > explicitly specified, then you need MultiViews. Without multiviews, > > apache has no way to find the .var f

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Axel-Stéphane SMORGRAV
Oh Oh. Sorry about that. I did not make myself clear. The problem is not about the Cookie Domain. It's about the interpretation of ProxyPassReverse in a Location context. I was actually referring to the attachement http://issues.apache.org/bugzilla/attachment.cgi?id=15543 "2.0.53, mult cookie

RE: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Axel-Stéphane SMORGRAV
Unfortunately, for the moment, I think that you cannot make it work unless you apply Nick's patch to mod_proxy. The problem is that you need to set ProxyPreserveHost On AND remove the /class or /docs prefix from Location headers of redirections. If you set ProxyPreserveHost On, the host part of

[EMAIL PROTECTED] "Out of memory" logging format

2005-08-26 Thread Udo Rader
Hi, I'm having quite some troubles recently with one of our 2.0.54 apaches. At some point one child would eat up all memory available (RSS and VSZ) and make the system almost unuseable. The problem itself is probably related to some obscure headers issue within apache, but that's not my question.

Re: [EMAIL PROTECTED] "Out of memory" logging format

2005-08-26 Thread Joshua Slive
On 8/26/05, Udo Rader <[EMAIL PROTECTED]> wrote: > Yet of course I would like to know the exact time and circumstances when > such a situtation occurs. When reaching the memory limit, apache > produces log entries like this: > > ---CUT--- > [...] > ^GOut of memory (Needed 8164 byte

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
> - Your HTML code is broken so mod_proxy_html cannot parse it correctly. That > excludes using mod_proxy_html That's a big problem for that particular application > - You cannot execute ProxyPassReverse in context, which excludes > setting ProxyPreserveHost On. I don't see this point clear

Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

2005-08-26 Thread Jérôme Tytgat
Uh oh ! I think I was able to circumvenant that particular problem. I've made some debug with firefox WITHOUT proxy_html activated and noted that despite my rewriterule based on the HTTP_REFERER to correct the location, the javascript was still loaded at the wrong location (that's why I should ha

Re: [EMAIL PROTECTED] "Out of memory" logging format

2005-08-26 Thread Udo Rader
On Fri, 2005-08-26 at 10:20 -0400, Joshua Slive wrote: > On 8/26/05, Udo Rader <[EMAIL PROTECTED]> wrote: > > Yet of course I would like to know the exact time and circumstances when > > such a situtation occurs. When reaching the memory limit, apache > > produces log entries like this: > > > > --

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
This problem has been solved by a rewriterule. Thanks. Jérôme Tytgat a écrit : > > Nick Kew a écrit : > >>Jérôme Tytgat wrote: >> >> > the " " are transformed in " " >> >>no, the ampersand is entified. If you validated, you'd see that >>" " means something very different from " ", which is

Re: [EMAIL PROTECTED] Proxyerroroverride and "302" errors

2005-08-26 Thread Jérôme Tytgat
I repost the vhost accordingly to some modification, proxyerroroverride is still problematic under firefox SSLEngine On SSLProxyEngine on SSLCACertificateFile /etc/apache2/ssl/cacert.pem #SSLCertificateFile /etc/apache2/ssl/www.sevea.net.crt #SSLCertificate

[cli-users] ASP.NET Version Mismatch Error

2005-08-26 Thread Allen Mayes
I am reporting the same error as posted by Bostjan Orter, back on 22 Jul 2005. ASP.NET Version Mismatch Error "Visual Studio .NET has detected that web server is running ASP.NET version 1.0. The relevant configuration (httpd) sections contain: #=

Re: [cli-users] ASP.NET Version Mismatch Error

2005-08-26 Thread William A. Rowe, Jr.
Allen Mayes wrote: I am reporting the same error as posted by Bostjan Orter, back on 22 Jul 2005. ASP.NET Version Mismatch Error "Visual Studio .NET has detected that web server is running ASP.NET version 1.0. It might be using 1.0 of the .NET framework. The current snapshot, soon to be revisi

[EMAIL PROTECTED] Compiling mod_ssl shared or static in 2.0.54?

2005-08-26 Thread John P. Dodge
I know there used to be some information that mod_ssl should be compiled statically rather than dynamically. Is there still such a recommendation for 2.0.54? Solaris 2.8+ GCC 3.3.4 Thanks... "Mon aéroglisseur est plein d'anguilles" John P. Dodge Boeing S

[EMAIL PROTECTED] Building 2.0.54/mod_ssl Problem

2005-08-26 Thread Hunter Hillegas
[I posted this a few days ago and got no responses. Is there a better list for this? I am stuck and getting a bit desperate. ] Hi. I am trying to get 2.0.54 running on RHEL3/x86. I am running configure as follows: ./configure --enable-so --enable-shared=max --enable-proxy --enable-ssl Configur

[EMAIL PROTECTED] rewritemap environment variables

2005-08-26 Thread allan juul
hello, does anyone know the limitations specs for environment variables, specifically when used via mod_rewrite prg ? i am able to hardcode a variable with a value of more than 2048 bytes # this will work RewriteRule ^/(.*) - [E=VAR_1:long_string_more_than_2048] RequestHeader set REQ_TEST_1 %

Re: [EMAIL PROTECTED] rewritemap environment variables

2005-08-26 Thread André Malo
* allan juul wrote: > does anyone know the limitations specs for environment variables, > specifically when used via mod_rewrite prg ? Yes. The read buffer for prg: is limited to 2K. This limitation has been removed in 2.1/2.2. nd -- "Solides und umfangreiches Buch"

[EMAIL PROTECTED] Problem exec'd scripts under 2.0.54

2005-08-26 Thread Forrest Aldrich
I've been debugging what is likely a simple problem, however irritating. I have a fairly simple server installed that has a few VirtualHosts configured - they all work properly, except there isn't any CGI execution going on, at least for the "default" host. Something simple like: Optio

[EMAIL PROTECTED] Multiple SSL servers behind one public ip

2005-08-26 Thread Dan Carl
I have two Apache servers behind a firewall with one public IP. I want to run SSL on both machines. One having a self generated certificate and other having commerial cert. The way I understand it is that because of the nature of the SSL protocol you can only have one ssl site per IP. Is there no w

Re: [EMAIL PROTECTED] Multiple SSL servers behind one public ip

2005-08-26 Thread William A. Rowe, Jr.
Dan Carl wrote: I have two Apache servers behind a firewall with one public IP. I want to run SSL on both machines. One having a self generated certificate and other having commerial cert. The way I understand it is that because of the nature of the SSL protocol you can only have one ssl site per

Re: [EMAIL PROTECTED] Multiple SSL servers behind one public ip

2005-08-26 Thread Scott Gifford
"Dan Carl" <[EMAIL PROTECTED]> writes: [...] > The way I understand it is that because of the nature of the SSL protocol > you can only have one ssl site per IP. > Is there no way around this? You can run the two SSL servers on two different ports, then use a URL like: https://example.com:4

[EMAIL PROTECTED] FrontPage with Apache 2.0

2005-08-26 Thread Gropp, Eric
How do I enable the FrontPage support for Apache 2.0? My web server Solaris X86 V9 Apache 2.0 I am using FrontPage to create a site and I would like to make sure everything is ready and will run correctly.   FrontPage Web editor   Thanks in Advance for any assistance. Eric

Re: [EMAIL PROTECTED] Multiple SSL servers behind one public ip

2005-08-26 Thread Dan Carl
- Original Message - From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> To: Sent: Friday, August 26, 2005 2:57 PM Subject: Re: [EMAIL PROTECTED] Multiple SSL servers behind one public ip > If you are buying a commercial cert, why do you even need a self signed > cert? If it's self sign