Re: [EMAIL PROTECTED] Requiring SSL?

2007-01-10 Thread Jay Chandler
Sander Temme wrote: On Jan 9, 2007, at 5:14 PM, Jay Chandler wrote: How do I force all traffic to go over SSL, and http://my.server.edu to force redirection to https://my.server.edu? 1) Put both 80 and 443 in a virtual host. 2) In the port 80 virtual host, put the following: RedirectPermane

Re: [EMAIL PROTECTED] mod_proxy maximum connections to a backend

2007-01-10 Thread Christian Gottschalch
Hi, i think it ist per process, so if you have 100 processes with max value 200 your Hard Maximum will be 2 connections, but im not shure. Documentation says (http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass): The default for a Hard Maximum for the number of connections is th

Re: [EMAIL PROTECTED] mod_proxy maximum connections to a backend

2007-01-10 Thread George Barnett
Hmm, That makes sense to me, although it sounds like a great way to kill a backend. Given the thread limit per processes is 64, you'd end up having almost no way of controlling connections to the backend. George Christian Gottschalch wrote: Hi, i think it ist per process, so if you have 1

RE: [EMAIL PROTECTED] Name Resolution error

2007-01-10 Thread john
I totally agree with you. My system is an opensuse 10.1 and I didn't have any problem until the last update through YOU. Do you experience any similar problem? _ From: Jonathan Mangin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 4:56 PM To: users@httpd.apache.org

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-10 Thread Krist van Besien
On 1/9/07, Bob <[EMAIL PROTECTED]> wrote: Huesser Peter wrote: > My interpretation of "RewriteCond > %{REMOTE_HOST} \.domain\.ch$" is the following: If the client that makes > the https request is within the "domain.ch" than apply the following > RewriteRule. Yes, this will cause a reverse DNS l

[EMAIL PROTECTED] 2.2.3 -> 2.2.4 upgrade problem | APR?

2007-01-10 Thread Evan Cooch
Greetings - I've been running Apache 2.x.x quite happily for some time now - decided to do the latest point update from 2.2.3 -> 2.2.4 on my RHEL 3 box. Normally, this is trivial - I simply do the .configure -> make -> male install sequence, no muss, no fuss. However, I tried this with Apach

Re: [EMAIL PROTECTED] mod_proxy maximum connections to a backend

2007-01-10 Thread Christian Gottschalch
have a look http://apache.ivn.cl/ may be interesting George Barnett schrieb: Hmm, That makes sense to me, although it sounds like a great way to kill a backend. Given the thread limit per processes is 64, you'd end up having almost no way of controlling connections to the backend. George

Re: [EMAIL PROTECTED] Name Resolution error

2007-01-10 Thread Jonathan Mangin
I didn't receive a copy of your last post, but I'm going to pretend you're talking to me. (Please, BTW, use plain text for posts.) In /etc/rc3.d (or wherever) what is the name of your apache startup script? - Original Message - From: john To: users@httpd.apache.org Sent: Wednes

RE: [EMAIL PROTECTED] VeriSign signatures with Apache server

2007-01-10 Thread Roger Hendrix at Baldor-IS
Greetings Nancy et al, Please take a look at the following information: http://www.apache-ssl.org/docs.html#SSLVerifyClient I think you may have coded you SSLVerifyClient statement incorrectly. Also, about the Virtual host logs, if the following statements point to unique files for the

RE: [EMAIL PROTECTED] Name Resolution error

2007-01-10 Thread john
The script is /etc/rc.d/rc3.d/S11apache2 -> ../apache2 I feel that the priority of the apache's beginning was unexpectedly changed _ From: Jonathan Mangin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 5:27 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED]

RE: [EMAIL PROTECTED] VeriSign signatures with Apache server

2007-01-10 Thread Purswani, Prakash
Folks, This issue is resolved, it was due to the VeriSign certs. I requested the new trial certs from VeriSign and it worked great!! The other change i made in the config file was, I commented SSLCACertificateFile and kept SSLCACertificatePath because both the settings are required only in case of

Re: [EMAIL PROTECTED] 2.2.3 -> 2.2.4 upgrade problem | APR?

2007-01-10 Thread Sander Temme
Evan, On Jan 10, 2007, at 6:23 AM, Evan Cooch wrote: checking for APR-util... yes configure: error: Cannot use an external APR-util with the bundled APR To check to see if this new problem is caused by some change I've made to the server (unlikely - all this machine does is serve web pages

[EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-10 Thread Israel Brewster
Ok, so I have managed to work around the problem below by putting the hostname of the Apache server in the /etc/hosts file on the machines that need to access the server by IP, so when it changes the IP to the hostname the client can still find the server. This, however, feels like a kludgy

Re: [EMAIL PROTECTED] 2.2.3 -> 2.2.4 upgrade problem | APR?

2007-01-10 Thread Evan Cooch
checking for APR-util... yes configure: error: Cannot use an external APR-util with the bundled APR To check to see if this new problem is caused by some change I've made to the server (unlikely - all this machine does is serve web pages - the only changes I ever make are security patches),

RE: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-10 Thread Mark Lavi
Try changing the servername directive to the IP address in httpd.conf, I believe that will work. E.g.: ServerName 127.0.0.1 # etc --Mark Mark Lavi, Enterprise Web Management Team @ SGI mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707 -Original Message- From: Israel Brewster [mailt

[EMAIL PROTECTED] Alternate cgi-bin directories not working on apache 2.0.52 on rhel

2007-01-10 Thread [EMAIL PROTECTED]
This is weird. New server. cgi's don't execute outside the normal cgi-bin directory. The problem was showing up as problems with a nagios install. The nagios front page works, but the status pages, which are all cgi's, don't work. I increased logging to debug in apache and I get: [Tue Jan 09

Re: [EMAIL PROTECTED] Alternate cgi-bin directories not working on apache 2.0.52 on rhel

2007-01-10 Thread Can Le
Hi, Error: "Premature end of script headers:" Did you put the below line on top of your cgi file for html header? Content-type: text/html\n\n" Can Le "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:This is weird. New server. cgi's don't execute outside the normal cgi-bin dir

[EMAIL PROTECTED] Re: Alternate cgi-bin directories not working on apache 2.0.52 on rhel

2007-01-10 Thread Hugh Williams
[EMAIL PROTECTED] wrote: > This is weird. New server. cgi's don't execute outside the normal cgi-bin > directory. The problem was showing up as problems with a nagios install. > The nagios front page works, but the status pages, which are all cgi's, > don't work. > > I increased logging to debu

Re: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-10 Thread Israel Brewster
Unfortunately, that won't work: the IP is different depending on where the machine is being accessed from. So as long as Apache insists on changing the URL to the server name, I will always have issues- it will just change depending on what I use for the server name. ---

Re: [EMAIL PROTECTED] Name Resolution error

2007-01-10 Thread Jonathan Mangin
After rechecking all paths, I would: rm /etc/rc.d/rc3.d/S11apache2 ln -s /etc/rc.d/apache2 /etc/rc.d/rc3.d/S99apache2 Be aware of all occurrences of K11apache2 (or equivalent) also. Now apache2 will be (close to) the last service started in run level 3. - Original Message - From: j

[EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Israel Brewster
I don't know if what I am trying to do here is even possible (sane?) but I thought I'd ask. I am running Apache 1.3.29 on an OpenBSD 4.0 system, with Apache chrooted to /var/www. I have a perl script CGI (it has the .cgi extention, not .pl, but is actually a perl script) that I need to run.

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Serge Dubrouski
For this configuration you need to have mod_perl installed on your server. Why don't you simply put your script into your cgi-bin directory? On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote: I don't know if what I am trying to do here is even possible (sane?) but I thought I'd ask. I am run

RE: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-10 Thread Mark Lavi
Forgive me if I don't understand, but it sounds like you are expecting Apache (which is your network end point) to understand your network routing and deal with it all by itself. I don't believe that reasonable without incorporating your network into the solution. Perhaps you should consider: - A

Re: [EMAIL PROTECTED] Re: Alternate cgi-bin directories not working on apache 2.0.52 on rhel

2007-01-10 Thread [EMAIL PROTECTED]
You're my hero. SELinux was the culprit. Once it was turned off, everything worked. I can work on making everything work with SELinux now. Thanks, and thanks to all who responded. On 1/10/07, Hugh Williams <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > This is weird. New server.

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Serge Dubrouski
Sorry, didn't read your mail to the end. Try to replace LoadModule mod_perl /usr/local/lib/mod_perl.so With LoadModule perl_module /usr/local/lib/mod_perl.so On 1/10/07, Serge Dubrouski <[EMAIL PROTECTED]> wrote: For this configuration you need to have mod_perl installed on your server. Why d

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Israel Brewster
I installed mod_perl from the package that was distributed with OpenBSD 4.0. The install didn't give any errors, so I have to assume it installed properly. As far as I can tell, it didn't make any configuration changes. Just placing the script in my CGI directory (and removing the #!/usr/bi

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Serge Dubrouski
Do not remove #!/usr/bin/perl line! Without it OS doesn't know how to run that file. On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote: I installed mod_perl from the package that was distributed with OpenBSD 4.0. The install didn't give any errors, so I have to assume it installed properly.

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Israel Brewster
But with it I get a "file not found" error since it can't access /usr/ bin/perl from within the chroot (/var/www). If that line can't be removed, then apparently I can't run perl scripts under Apache with Apache chrooted, even with mod_perl running properly-is that correct? or do I just need

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Mark Feather
To be sure, at the command prompt type ..Is perl in the correct location? What are the permissions of your cgi-bin directory and the script? You say that your script has the .cgi extension but your error message is refering to a .pl extension!? What is the name of your file? /cgi-bin/per

[EMAIL PROTECTED] stupid question

2007-01-10 Thread jekillen
Hello Apache users out there. I have a rookie question regarding access log entries. What is being requested with '-' '-' ? is this just a ping? I have a site that has attracted some one with a passion for this and it has been wasting the memory on this machine, to the point where processes won't

Re: [EMAIL PROTECTED] stupid question

2007-01-10 Thread herauthon
http://yoursite.net/ < - main page w/o path ihmo 127.0.0.1 - - [27/Nov/2006:12:57:00 +0100] "GET / HTTP/1.0" 200 3751 "-" "Apache/2.2.3 (Unix) (internal dummy connection)" 127.0.0.1 - - [27/Nov/2006:12:57:00 +0100] "GET / HTTP/1.0" 200 3751 "-" "Apache/2.2.3 (Unix) (internal dummy connection)"

Re: [EMAIL PROTECTED] Unwanted rewrite followup/continuationn

2007-01-10 Thread Israel Brewster
Thanks, I'll consider those, perhaps one or more will be doable. Although I wouldn't say I am expecting Apache to understand my network, I'm just expecting it to leave the URL I enter alone, i.e., if I type http://1.2.3.4/something in the address bar, I want that to STAY http://1.2.3.4/some

[EMAIL PROTECTED] Apache/LDAP Installation Troubles - Unable to link with LDAP?

2007-01-10 Thread Eric Hill
I'm running into a problem installing the latest Apache on Debian stable. First, I downloaded OpenLDAP 2.3.32. I configured with: ./configure --prefix=/opt/ldap Both make and make install worked fine. Then, I downloaded apache 2.2.4. I configured with: ./configure --prefix=/opt/apache2 --enable-m

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Israel Brewster
Thanks for the thoughts. responses are below. On Jan 10, 2007, at 2:58 PM, Mark Feather wrote: To be sure, at the command prompt type ..Is perl in the correct location? yep -/usr/bin/perl Completely inaccessible from scripts running under the server. What are the permissions of you

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Serge Dubrouski
So you don't have perl available at all? Then you definetely need mod_perl. Have you tried to change your LoadModule line for mod_perl like I suggested erlier? On 1/10/07, Israel Brewster <[EMAIL PROTECTED]> wrote: But with it I get a "file not found" error since it can't access /usr/ bin/perl f

Re: [EMAIL PROTECTED] Simple perl question

2007-01-10 Thread Israel Brewster
yeah, perl is not available at all from within the Apache chroot jail, unless I am missing something. Making the change to the LoadModule line you suggested allowed the various perl directives in the config file to load without complaint. Attempting to execute the script, however, results i

RE: [EMAIL PROTECTED] stupid question

2007-01-10 Thread Rob Sterenborg
herauthon wrote: > http://yoursite.net/ < - main page w/o path > ihmo > 127.0.0.1 - - [27/Nov/2006:12:57:00 +0100] "GET / HTTP/1.0" 200 3751 > "-" "Apache/2.2.3 (Unix) (internal dummy connection)" > 127.0.0.1 - - [27/Nov/2006:12:57:00 +0100] "GET / HTTP/1.0" 200 3751 >

[EMAIL PROTECTED] What are URLs relative to?

2007-01-10 Thread lightbulb432
What are relative URLs relative to? For example, if you define an error page in .htaccess and you have relative URLs in the error page itself (although I've heard it's better to have absolute URLs in there), are those relative URLs resolved relative to: a) the physical location of that error page

RE: [EMAIL PROTECTED] What are URLs relative to?

2007-01-10 Thread Boyle Owen
> -Original Message- > From: lightbulb432 [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 7:36 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] What are URLs relative to? > > > What are relative URLs relative to? For example, if you > define an error page > in .