Re: [EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Jeff Peng
Original-Nachricht > Datum: Sat, 25 Aug 2007 22:37:39 +0100 > Von: "Ben Hussey" <[EMAIL PROTECTED]> > An: users@httpd.apache.org > Betreff: [EMAIL PROTECTED] Rewrite Help > This is something I've been trying to do for a while but never found or > achieved how to do it. > > I ne

Re: [EMAIL PROTECTED] Conflicting versions of Apache in Mac OS X 10.4

2007-08-25 Thread Sander Temme
On Aug 25, 2007, at 3:19 PM, Exquisitus Flinder wrote: I have Mac OS X ver 10.4 which contains pre-installed Apache version 10.3.33. I have followed instruction from Apache web site on installation of version 2.2 from downloading to installation through the Terminal session. By testing

Re: [EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Joshua Slive
On 8/25/07, Ben Hussey <[EMAIL PROTECTED]> wrote: > This is something I've been trying to do for a while but never found or > achieved how to do it. > > I need to redirect (on a large scale): > http://xyz.mydomain.com > to: > /web/live/xyz > > Is this possible using mod_rewrite and if so I would gr

[EMAIL PROTECTED] Conflicting versions of Apache in Mac OS X 10.4

2007-08-25 Thread Exquisitus Flinder
I have Mac OS X ver 10.4 which contains pre-installed Apache version 10.3.33. I have followed instruction from Apache web site on installation of version 2.2 from downloading to installation through the Terminal session. By testing using "sudo apachectl -k start" and the "sudo apachectl -k stop",

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Riemer Palstra
On Sat, Aug 25, 2007 at 11:24:20AM -0400, Jaqui Greenlees wrote: > ahh, so a .war is some sort of Java file format, nice to know. Not > that a non java enabled browser would do anything but try to download > it, at least now I know it's not always malware, at least not any more > than any java app

[EMAIL PROTECTED] Rewrite Help

2007-08-25 Thread Ben Hussey
This is something I've been trying to do for a while but never found or achieved how to do it. I need to redirect (on a large scale): http://xyz.mydomain.com to: /web/live/xyz Is this possible using mod_rewrite and if so I would greatly appreciate a starting block to work from Thanks Ben Hussey

[EMAIL PROTECTED] Thanks you two

2007-08-25 Thread John Wyatt
The permission error is solved, I don't feel too good giving PHP write access to an entire folder... and yes the PHP tutorial has no security checks at all, it's just a beginners tutorial. John - Choose the right car based on your needs. Check out Yahoo

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Jaqui Greenlees
--- Vincent Bray <[EMAIL PROTECTED]> wrote: > All in all, it's not a bad way to distribute a > webapp. true, a plug and go format is a good idea for distributing web apps > Certain commercial webapps are just a single .war > file that you can dump in > Tomcat's webapps directory and go. Tomcat

Re: [EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-25 Thread Vincent Bray
On 25/08/07, Jack Stone <[EMAIL PROTECTED]> wrote: > We still use MSFrontPage on certain sites and was wondering how best to > block visitors who use FP in attempts to abuse the sites, BUT, not block our > own valid users? > > Figured best to use mod_rewrite or mod_access for this purpose, but unsu

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, Jaqui Greenlees <[EMAIL PROTECTED]> wrote: > ahh, so a .war is some sort of Java file format, nice > to know. Not that a non java enabled browser would do > anything but try to download it, at least now I know > it's not always malware, at least not any more than > any java app is. He

[EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-25 Thread Jack Stone
Am running apache-2.0+ We still use MSFrontPage on certain sites and was wondering how best to block visitors who use FP in attempts to abuse the sites, BUT, not block our own valid users? Figured best to use mod_rewrite or mod_access for this purpose, but unsure of the syntax to use on thos

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Jaqui Greenlees
--- Vincent Bray <[EMAIL PROTECTED]> wrote: > On 25/08/07, ibm123 <[EMAIL PROTECTED]> wrote: > > I am pretty new to Apache Http Server (AHS). I was > looking into the document > > for deploying the war file on AHS but could not > found anything. I am not > > sure whether I can deploy war on AHS o

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > You need Tomcat (or any number of alternatives) to host the .war. > Apache's written in C, not Java, so can't run those kinds of things > directly. Sorry, when I say "Apache", of course I mean "Apache HTTPD". Tomcat's as much apache as apache

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread Vincent Bray
On 25/08/07, ibm123 <[EMAIL PROTECTED]> wrote: > I am pretty new to Apache Http Server (AHS). I was looking into the document > for deploying the war file on AHS but could not found anything. I am not > sure whether I can deploy war on AHS or not. If not then I should use Tomcat > but how to integr

Re: [EMAIL PROTECTED] redirecting nonexcisting subfolders

2007-08-25 Thread Vincent Bray
On 25/08/07, Ebbe Hjorth <[EMAIL PROTECTED]> wrote: > Hi, > > I am running an apache 2.2 on a freebsd server, and would like to redirect > users from ex. xxx.dk/1234 to xxx.dk - how can i do that? is that a server > setup? or can i do that from a php script? because now when i type > xxx.dk/1234 i

Re: [EMAIL PROTECTED] Deploying war on Apache HTTP Server

2007-08-25 Thread ibm123
Can someone help me with the response. ibm123 wrote: > > I am pretty new to Apache Http Server (AHS). I was looking into the > document for deploying the war file on AHS but could not found anything. I > am not sure whether I can deploy war on AHS or not. If not then I should > use Tomcat but

Re: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Samuel Vogel
I tuned the prefork settings and all works well now! Should have done that before posting here ;) Vincent Bray schrieb: On 25/08/07, Samuel Vogel <[EMAIL PROTECTED]> wrote: Actually there are more than 10 instances running. This is just the way the prefork MPM works. Does anybody else have

[EMAIL PROTECTED] redirecting nonexcisting subfolders

2007-08-25 Thread Ebbe Hjorth
Hi, I am running an apache 2.2 on a freebsd server, and would like to redirect users from ex. xxx.dk/1234 to xxx.dk - how can i do that? is that a server setup? or can i do that from a php script? because now when i type xxx.dk/1234 i get a "page not found" error. Thanks in advance, Ebbe

Re: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Vincent Bray
On 25/08/07, Samuel Vogel <[EMAIL PROTECTED]> wrote: > Actually there are more than 10 instances running. > This is just the way the prefork MPM works. > > Does anybody else have suggestions? This page looks somewhat out of date but may help explain how to use e.g. strace to see what the server's

Re: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Samuel Vogel
Actually there are more than 10 instances running. This is just the way the prefork MPM works. Does anybody else have suggestions? Regards, Samy Cameron J. Young (Personal) schrieb: Hi there. Not overly farmiliar with Apache on any platform, but would check Apache's logfiles for an indicatio

RE: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Cameron J. Young \(Personal\)
Hi there. Not overly farmiliar with Apache on any platform, but would check Apache's logfiles for an indication perhaps. Any reason that there are three(3) instances of 'apache2' running ? Cheers, Cameron -Original Message- From: Samuel Vogel [mailto:[EMAIL PROTECTED] Sent: Saturday, 2

Re: [EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Samuel Vogel
(P.S. Sorry, something went wrong with the formating of my last mail!) I'm running apache with about 4.000 vHosts on a DualCore 2,6 Opteron with 4GB of memory. I'm wondering why Apache takes up all my CPU time: top - 12:30:56 up 3 days, 20:42, 1 user, load average: 17.70, 18.06, 17.96 Task

[EMAIL PROTECTED] Apache taking up all CPU Time

2007-08-25 Thread Samuel Vogel
I'm running apache with about 4.000 vHosts on a DualCore 2,6 Opteron with 4GB of memory. I'm wondering why Apache takes up all my CPU time: top - 12:30:56 up 3 days, 20:42, 1 user, load average: 17.70, 18.06, 17.96 Tasks: 322 total, 22 running, 298 sleeping, 0 stopped, 2 zombie Cpu(s): 98