[us...@httpd] virtual hosts and rewrite rules

2009-05-22 Thread Melanie Pfefer
Hi I have an apache instance where I defined several rewrite rules and ProxyPassReverse that redirects to other web applications. I added a virtual host in the conf file NameVirtualHost *:80 VirtualHost *:80 ServerAdmin y...@example.com DocumentRoot /usr/local/apache2/htdocs /VirtualHost

[us...@httpd] logging URLs

2009-05-22 Thread Melanie Pfefer
Hi Is it possible for apache to log the URL requested even if some web applications are obtained via RewriteRule to another servlet or another apache instance? Thank you - The official User-To-User support forum of the

Re: [us...@httpd] virtual hosts and rewrite rules

2009-05-22 Thread Tom Evans
On Fri, 2009-05-22 at 06:32 +, Melanie Pfefer wrote: Hi I have an apache instance where I defined several rewrite rules and ProxyPassReverse that redirects to other web applications. I added a virtual host in the conf file NameVirtualHost *:80 VirtualHost *:80 ServerAdmin

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread John Hudak
Hi: I don't want to hijack this thread, but since the question has been answered, I have a related one...WHY does the Debian distro 'relocate' things such as apache? Since I've been getting into the guts of Debian and Ubuntu over the last 2-3 years, I am finding a lot of 'non standard' things

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread Eric Covener
On Fri, May 22, 2009 at 8:39 AM, John Hudak jjhu...@gmail.com wrote:  Forexample, their use of bin, and sbin, and root being acquired by 'sudo'.. Just curious... Aren't those all pretty conventional? -- Eric Covener cove...@gmail.com

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread John Hudak
I've seen apps installed in sbin, and /home/username when from my perspective, they should have been in bin. While I haven't used a lot of different distros (slackware, RH (prior to their business model change), and commercial Unix distros by att, sun, dec, HP), I've never run into 'sudo'...I can

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread Stephen
John Hudak wrote: I've seen apps installed in sbin, and /home/username when from my perspective, they should have been in bin. While I haven't used a lot of different distros (slackware, RH (prior to their business model change), and commercial Unix distros by att, sun, dec, HP), I've never run

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread Igor Cicimov
There is not httpd on Debian/Ubuntu. It's called apache2 and /etc/apache2 is the config folder. To check if apache is installed and where you run the dpkg command, something like this: # sudo dpkg -s apache2 and # sudo dpkg -S apache2 Igor On Sat, May 23, 2009 at 12:27 AM, Stephen

RE: [us...@httpd] logging URLs

2009-05-22 Thread Anthony J. Biacco
You mean beyond RewriteLog? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] Sent: Friday, May 22, 2009

[us...@httpd] Apache performance issue on AMD 6000+ cpu

2009-05-22 Thread John Malone
Hi, I've searched the archives and the web in general but haven't found an answer. Problem: I recently started setting up a new machine for use as a standard LAMP server and as a box to investigate XEN virtualisation. When doing some crude performance tests using ab, I found that performance of

[us...@httpd] NT/AD authentication / IE / Windows XP

2009-05-22 Thread Scott Brady
All of our developers are on Windows machines that run Apache 2 (though our production servers are all IIS) [since XP's IIS can't run multiple IIS web sites, our developers need to use Apache]. Some of the sites we developer require Acitve Directory authentication (internal administrative

[us...@httpd] How I configure Reverse Proxy using Location ??

2009-05-22 Thread ricardo13
Hi, I configured reverse proxy using directives ProxyPass, ProxyPassReverse, etc... For example in httpd.conf ProxyPass /new1 http://192.168.1.2 ProxyPassReverse /new1 http://192.168.1.2 ProxyPass /new2 http://192.168.1.3 ProxyPassReverse /new2 http://192.168.1.3 Now, I would like to

[us...@httpd] Are apache caching modules redudant of memcached?

2009-05-22 Thread palewire
In an attempt to address the lsof problem we flagged in this thread -- http://is.gd/CqD0 -- I've been rifling through my httpd.conf looking for unnecessary modules I can trim out of my httpd processes. So far this has basically amounted to me eliminating things like mod_cgi, mod_vhost_alias,

[us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Darvin Denmian
Hello, i have a Web Server with the follow configuration: 4 Generic \ 512 MB \ DDR2 667 FB DIMM 4 Generic \ 1024 MB \ DDR2 667 FB DIMM 2 Maxtor \ 146GB:SAS:10K RPM \ Atlas 10K - SAS 2 Intel \ 2.0 GHz 1333FSB - Woodcrest \ Xeon 5130 (Dual Core) 1 Dell \ 9G Drive

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Frank Gingras
Darvin, Some of the php extensions are not thread-safe, so running in this configuration might leads to segfaults. In short, no, don't do it. Frank Darvin Denmian wrote: Hello, i have a Web Server with the follow configuration: 4 Generic \ 512 MB \ DDR2 667 FB DIMM 4 Generic

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Darvin Denmian
Is possible to use apache with mpm worker + fastcgi + php5-cgi ? Thanks. On Fri, May 22, 2009 at 4:04 PM, Frank Gingras francois.ging...@gmail.com wrote: Darvin, Some of the php extensions are not thread-safe, so running in this configuration might leads to segfaults. In short, no, don't

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Frank Gingras
Yes, that is a common configuration. But not mod_php. Frank Darvin Denmian wrote: Is possible to use apache with mpm worker + fastcgi + php5-cgi ? Thanks. On Fri, May 22, 2009 at 4:04 PM, Frank Gingras francois.ging...@gmail.com wrote: Darvin, Some of the php extensions are not

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Darvin Denmian
will i have any improvement of my performance using : mpm worker + fastcgi + php5-cgi ? and how do I know if an extension is thread-safe? Thanks. On Fri, May 22, 2009 at 4:07 PM, Frank Gingras francois.ging...@gmail.com wrote: Yes, that is a common configuration. But not mod_php. Frank

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Frank Gingras
Darvin, Using worker over prefork will allow you to serve more clients, for one. The immediate gain will be a lesser memory footprint. Performance gains or losses will largely depends on the scripts you run on your server. As for the second question, that's more of a question for the php

Re: [us...@httpd] Apache with MPM Worker and PHP-5.2.9

2009-05-22 Thread Darvin Denmian
Thanks for all replies. i will try apache mpm worker + fastcgi + php-cgi . On Fri, May 22, 2009 at 4:30 PM, Frank Gingras francois.ging...@gmail.com wrote: Darvin, Using worker over prefork will allow you to serve more clients, for one. The immediate gain will be a lesser memory footprint.

RE: [us...@httpd] Are apache caching modules redudant of memcached?

2009-05-22 Thread Anthony J. Biacco
You can comment them out -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: palewire [mailto:ben.we...@gmail.com] Sent: Friday, May 22, 2009 12:52 PM To:

Re: [us...@httpd] Are apache caching modules redudant of memcached?

2009-05-22 Thread Ben Welsh
Tony -- Thank you for your time and advice. I've gone ahead and commented out the modules, and haven't encountered any problems so far. I'm also wondering how many of the authorization modules are necessary -- considering I have Django doing a lot of that through the DB. But that might be

Re: [us...@httpd] How I configure Reverse Proxy using Location ??

2009-05-22 Thread Eric Covener
On Fri, May 22, 2009 at 2:02 PM, ricardo13 ricardoogra...@gmail.com wrote: Hi, I configured reverse proxy using directives ProxyPass, ProxyPassReverse, Now, I would like to configure Reverse Proxy using Location How I do it ?? http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass |

Re: [us...@httpd] What is the best way to handle too many open files errors?

2009-05-22 Thread Ben Welsh
I just had something of a slap your forehead moment on this one. It had be eating me about where all those extra lsof processes came from. And then it hit me. It's the developer tools kit from CentOS. Duh.