Re: [EMAIL PROTECTED] Server Side Include (SSI) is slower than PHP ?

2008-02-19 Thread howard chen
On Feb 18, 2008 11:22 PM, howard chen <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 18, 2008 at 10:47 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > > On Mon, 18 Feb 2008 15:49:09 +0800 > > > > "howard chen" <[EMAIL PROTECTED]> wrote: > > > > > > > SSI > > > === > > > > > > > > > > > > > > > > >

Re: [EMAIL PROTECTED] RewriteRule problem

2008-02-19 Thread Nils Jeppe
On Tue, 19 Feb 2008, Ruslan Sivak wrote: for somehostname.com/u/#1 test 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500] [somehostname.com/sid#7680e0][rid#aa10c8/initial] (2) init rewrite engine with requested uri /u/#1 test 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500] [somehostname.com/sid#7680

[EMAIL PROTECTED] SocketException: Broken pipe

2008-02-19 Thread Baskaran, Gokulnath
Hi, I am using apache 2.2.4 and tomcat 5.5.20 and in my Catalina log I get the below exception. Any clues on it. WARNING: Error sending end packet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream

Re: [EMAIL PROTECTED] 301 redirects

2008-02-19 Thread Eric Covener
On Feb 19, 2008 8:53 PM, <[EMAIL PROTECTED]> wrote: > I need to 301 rediect mysite.com to www.mysite.com. I found two examples on http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html#canonicalhost -- Eric Covener [EMAIL PROTECTED]

[EMAIL PROTECTED] 301 redirects

2008-02-19 Thread stuartray
Hi All, I need to 301 rediect mysite.com to www.mysite.com. I found two examples on google search : RewriteEngine on RewriteCond %{http_host} ^mysite.com [nc] RewriteRule ^(.*)$ http://www.mysite.com$1 [r=301,nc] and?? RewriteEngine on RewriteCond %{http_host} ^mysite\.com$ RewriteRul

Re: [EMAIL PROTECTED] RewriteRule problem

2008-02-19 Thread Ruslan Sivak
Eric Covener wrote: On Feb 19, 2008 3:37 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: I have the following rewrite rule RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC] for some reason this rule is not working for things like this /u/Testing test /u/#1 Test etc. What am I missing? I t

Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-19 Thread Eric Covener
On Feb 19, 2008 12:23 PM, Peter Olofson <[EMAIL PROTECTED]> wrote: > apache 2.0.63 builds OK on the same system. > Is this a 2.2.X thing, has anybody built it on HPUX 11.23? > /peo IIRC somewhere in the early 2.2.x the syntax for using bundled expat changed, and you can't just pass the path but mu

Re: [EMAIL PROTECTED] RewriteRule problem

2008-02-19 Thread Eric Covener
On Feb 19, 2008 3:37 PM, Ruslan Sivak <[EMAIL PROTECTED]> wrote: > I have the following rewrite rule > > RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC] > > for some reason this rule is not working for things like this > > /u/Testing test > /u/#1 Test > > etc. What am I missing? I though .+ w

[EMAIL PROTECTED] Apache 2.0.59 catches SIGTERM and shuts down

2008-02-19 Thread Devraj Mukherjee
Hi everyone, I administer a CentOS 4.6 server (use the CentOS plus repo) that runs Apache 2.0.59 and PHP 5.1.6 For the past few days the httpd processes have been locking up (the parent processes still seem to be there), but the rest of it comes to a grinding halt. The server itself is still acce

[EMAIL PROTECTED] Apache 2.0.59

2008-02-19 Thread Devraj Mukherjee
Hi everyone, I administer a CentOS 4.6 server (use the CentOS plus repo) that runs Apache 2.0.59 and PHP 5.1.6 For the past few days the httpd processes have been locking up (the parent processes still seem to be there), but the rest of it comes to a grinding halt. The server itself is still acce

[EMAIL PROTECTED] RewriteRule problem

2008-02-19 Thread Ruslan Sivak
I have the following rewrite rule RewriteRule ^/u/(.+)/*$ /index.html?user=$1 [P,NC] for some reason this rule is not working for things like this /u/Testing test /u/#1 Test etc. What am I missing? I though .+ would match everything? Russ --

Re: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread Dan_Mitton
You state that your vhost config looks like: . . . if you want https to work, I believe your virtual host command should read: I assume that in some other VirtualHost block, you already have a . BTW, you can't use NameVirtualHosts (at least not more then 1) with

Re: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread [EMAIL PROTECTED]
Do you have a line like this outside your virtual host scope NameVirtualHost *:443 On Wed, 2008-02-20 at 08:09 +1300, PingBad wrote: > On Wednesday 20 February 2008 00:10, pat wrote: > > > Hello > > > > > > I have a problem with the apache2 configuration if I want to combine > > > vhost and ss

Re: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread PingBad
On Wednesday 20 February 2008 00:10, pat wrote: > Hello > > I have a problem with the apache2 configuration if I want to combine > vhost and ssl settings. > My apache opts: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D > SSL -D SSL_DEFAULT_VHOST -D PHP5 -D PERL -D PYTHON -D SUEXEC" > > This

Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-19 Thread PingBad
> ld: Can't find dependent library "libexpat.so.1" Looks like you're missing a dependency. Did some googling for you and found this: http://sourceforge.net/projects/expat/ Give that a compilation and see if HTTPd will build after that -- PingBad, IRC Fanatic

Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-19 Thread Peter Olofson
apache 2.0.63 builds OK on the same system. Is this a 2.2.X thing, has anybody built it on HPUX 11.23? /peo Peter Olofson wrote: Any ideas I tried 2.2.6 with the same result/problem /peo I'm trying to build on hpux with hp C compiler, it fails like this: . . Making all in mappers Making all in s

[EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-19 Thread Peter Olofson
Any ideas I tried 2.2.6 with the same result/problem /peo I'm trying to build on hpux with hp C compiler, it fails like this: . . Making all in mappers Making all in support /home/peo/httpd-2.2.8/srclib/apr/libtool --silent --mode=link cc -g -Ae +Z -mt -L/usr/local/lib -o htdigest h

RE: [EMAIL PROTECTED] Problem seeing directory outside of APACHE_HOME

2008-02-19 Thread David Bartmess
I figured it out. Now I just need to learn SElinux... SELinux was causing the permissions problem, noted that when I "setenforce 0" on the system, everything works. Anyone have a clue how to fix this? I'll join the redhat selinux forum to see if they can give me an answer... Thanks! -Origina

[EMAIL PROTECTED] strategies for authentication/authorization in a virtual hosting environment

2008-02-19 Thread Chris Stromsoe
I'd like to be able offer basic authentication, with per-vhost user and group files. All user access to the filesystem is via ftp, chrooted to a "home" directory, that lives inside a multi-level set of hashed subdirectories. There doesn't appear to be any way using the included mod_auth* modu

Re: [EMAIL PROTECTED] Problem seeing directory outside of APACHE_HOME

2008-02-19 Thread Joshua Slive
On Feb 19, 2008 10:29 AM, David Bartmess <[EMAIL PROTECTED]> wrote: > The error log says: > > [Mon Feb 18 15:42:21 2008] [error] [client 163.185.56.153] 1) Can't open > directory (/data/holding): Permission denied > > I'm wondering if this is because that mount (/data) is a NAS drive or > something

RE: [EMAIL PROTECTED] Problem seeing directory outside of APACHE_HOME

2008-02-19 Thread David Bartmess
The error log says: [Mon Feb 18 15:42:21 2008] [error] [client 163.185.56.153] 1) Can't open directory (/data/holding): Permission denied I'm wondering if this is because that mount (/data) is a NAS drive or something which Apache can't handle... I've changed the ownership of the holding director

Re: [EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Vincent Bray
On 19/02/2008, Norman Khine <[EMAIL PROTECTED]> wrote: > * Apache2 has detected a syntax error in your configuration files: > Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf > Invalid command 'DBDriver', perhaps misspelled or defined by a module > not included in the server configura

Re: [EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Davide Bianchi
Norman Khine wrote: Hello, I have updated apache to 2.2.8 and now I am getting the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf Invalid command 'DBDriver', perhaps misspelled or defined by a mod

[EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Norman Khine
Hello, I have updated apache to 2.2.8 and now I am getting the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf Invalid command 'DBDriver', perhaps misspelled or defined by a module not included in

Re: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread pat
Hello Boyle Just the default ssl vhost is on port 443: Listen 443 ServerName company.com Include /etc/apache2/vhosts.d/default_vhost.include ... Hm okay. What I want is that someone can connect on http:80 and gets forwarded to https:443, because ther

RE: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread Boyle Owen
> -Original Message- > From: pat [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 19, 2008 12:11 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] httpd2 vhost & ssl configuration problem > > Hello > > I have a problem with the apache2 configuration if I want to combine >

[EMAIL PROTECTED] httpd2 vhost & ssl configuration problem

2008-02-19 Thread pat
Hello I have a problem with the apache2 configuration if I want to combine vhost and ssl settings. My apache opts: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -D PERL -D PYTHON -D SUEXEC" This is my vhost config: ServerName host.company.com