Re: [users@httpd] PHP to control Apache

2011-02-09 Thread Nilesh Govindarajan
ay be bad one) is to use a RewriteMap and generate rewrite maps using php (it would be a highly cpu intensive task for apache probably, no ideas..never used rewritemap) -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/_linuxgeek_ Website:

Re: [users@httpd] PHP to control Apache

2011-02-06 Thread Nilesh Govindarajan
igest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Sent from my mobile device -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website

Re: [users@httpd] PHP to control Apache

2011-02-06 Thread Nilesh Govindarajan
t; for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Sent from my mobile device -- Regards, Nilesh Govindarajan Facebook:

Re: [users@httpd] Apache2, Fastcgi and PHP

2011-02-02 Thread Nilesh Govindarajan
On 02/02/2011 10:28 PM, Silvio Siefke wrote: > Hello, > > > Am 02.02.2011 17:26, schrieb Nilesh Govindarajan: >> Quite a weird question, have you checked the firewall? >> Try if it works without the firewall. >> I don't think a firewall would ever be configure

Re: [users@httpd] Apache2, Fastcgi and PHP

2011-02-02 Thread Nilesh Govindarajan
On 02/02/2011 09:04 PM, Silvio Siefke wrote: > Am 02.02.2011 16:05, schrieb Nilesh Govindarajan: >> ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/ >> AddHandler php-fcgi .php >> Action php-fcgi /cgi-bin/php-cgi >> >> Options +ExecCGI >> > > I

Re: [users@httpd] Apache2, Fastcgi and PHP

2011-02-02 Thread Nilesh Govindarajan
Options +ExecCGI Just let me know if it works. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/_linuxgeek_ Website: http://www.itech7.com - The official User-To-User s

Re: [users@httpd] How to properly block IP ranges server wide?

2011-01-13 Thread Nilesh Govindarajan
my website, its an original article] -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps - The off

Re: [us...@httpd] SQL Server authentication

2011-01-11 Thread Nilesh Govindarajan
On 01/11/2011 09:13 PM, Hendrik Schmieder wrote: Mark H. Wood schrieb: On Tue, Jan 11, 2011 at 06:06:16PM +0530, Nilesh Govindarajan wrote: On 01/11/2011 04:18 PM, Paolo DiCanio wrote: The example on that page is for MySql. Unfortunately when using SQL Server, the configuration is more

Re: [us...@httpd] SQL Server authentication

2011-01-11 Thread Nilesh Govindarajan
at. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps - The official User-To-User support forum of

Re: [us...@httpd] SQL Server authentication

2011-01-11 Thread Nilesh Govindarajan
o use both a file and a database for authentication, then if someone could explain how to configure SQL Server database authentication (only), I'd be very grateful. Thanks, Paolo http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html -- Regards, Nilesh Govindarajan Facebook: http://www.fa

Re: [us...@httpd] Limit on content size

2010-07-30 Thread Nilesh Govindarajan
digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > You want to restrict upload size? Hint: Check out and LimitRequestBody at http://httpd.apache.org/docs/2.2/mod/core.html#limit -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.

Re: [us...@httpd] Re: recommended setup apache/php

2010-07-27 Thread Nilesh Govindarajan
On Tue, Jul 27, 2010 at 7:58 PM, Hajo Locke wrote: >>> On 2010-07-27 10:15, Nilesh Govindarajan wrote: >>>>> >>>>> If I understood your question properly, you're asking that >>>>> /htdocs/a.php is one fastcgi app and /htdocs/b.php is an

Re: [us...@httpd] Re: recommended setup apache/php

2010-07-27 Thread Nilesh Govindarajan
On Tue, Jul 27, 2010 at 5:26 PM, Jefferson Ogata wrote: > On 2010-07-27 10:15, Nilesh Govindarajan wrote: >> If I understood your question properly, you're asking that >> /htdocs/a.php is one fastcgi app and /htdocs/b.php is another. >> If you want it this way, the

Re: [us...@httpd] Re: recommended setup apache/php

2010-07-27 Thread Nilesh Govindarajan
code for /cgi-bin/php.fcgi: #!/bin/bash export PHPRC=/usr/local/etc/php PHP_FCGI_CHILDREN=0 exec /usr/local/bin/php-cgi $@ -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech

Re: [us...@httpd] recommended setup apache/php

2010-07-26 Thread Nilesh Govindarajan
d code in memory, so you don't need opcode caching mechanisms to accelerate PHP performance like (eaccelerator, xcache, etc.) - reduces the memory used by those extensions. I personally use mod_fcgid on my server and am happy with it. It gives stunning performance. You should try out mod_fcgid

Re: [us...@httpd] trying to ban IPs using htaccess - not working

2010-07-25 Thread Nilesh Govindarajan
sage telling people to e-mail me if they think their IP has been > blocked by mistake. > >        -Bennett There's still a cryptic way for that, but I don't know it will work or not. Create eth0:0 with IP of 192.168.1.X or some other non-public IP. Make apache listen on that IP,

Re: [us...@httpd] trying to ban IPs using htaccess - not working

2010-07-25 Thread Nilesh Govindarajan
ot; message if connecting from a banned IP? > >        -Bennett > If you want to block the IPs on all services you could use iptables along with ipset. You could also put them directly in iptables as chain rules, but as the number of IPs increases, it increases the CPU usage like hel

[us...@httpd] Unable to use .fcgi as ErrorDocument

2010-06-29 Thread Nilesh Govindarajan
ype: text/plain echo echo "FOO" -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e ---

Re: [us...@httpd] php in .html documents when using php as cgi

2010-06-22 Thread Nilesh Govindarajan
AddHandler php-fcgi .php .html Action php-fcgi /cgi-bin/php.fcgi Options +ExecCGI -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Host

Re: [us...@httpd] Re: Weird issue with worker MPM

2010-06-21 Thread Nilesh Govindarajan
On 06/21/2010 08:11 PM, Jai wrote: Can you please explain how the problem was solved? On Mon, Jun 21, 2010 at 9:09 AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 06/21/2010 05:36 PM, Nilesh Govindarajan wrote: Yesterday I posted a message about apache not bein

[us...@httpd] Re: Weird issue with worker MPM

2010-06-21 Thread Nilesh Govindarajan
On 06/21/2010 05:36 PM, Nilesh Govindarajan wrote: Yesterday I posted a message about apache not being able to create more than 3 children * 56 threads each. I found out that this setting consumes all the memory available i.e. all the 512 MB available. What is the reason for this ? Stopping

[us...@httpd] Re: [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

2010-06-21 Thread Nilesh Govindarajan
@Dan, and @Eric Thank you for your inputs, adjusting thread stack size and ulimit -s helped it. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e

[us...@httpd] Weird issue with worker MPM

2010-06-21 Thread Nilesh Govindarajan
factors like PHP, etc. but that doesn't come in question because it runs via mod_fcgid so, the interpreter is not active unless some php script is requested. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website:

Re: [us...@httpd] Re: [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

2010-06-20 Thread Nilesh Govindarajan
On 06/21/2010 07:01 AM, Dan Poirier wrote: On 2010-06-20 at 14:08, Nilesh Govindarajan wrote: A newly configured apache installation keeps emitting this error. It was compiled from scratch with worker MPM. The settings for worker MPM is below: StartServers 5 MaxClients

[us...@httpd] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

2010-06-20 Thread Nilesh Govindarajan
MaxRequestsPerChild 0 It is an OpenVZ VPS with kernel 2.6.18-164.15.1.el5.028stab068.9 and RAM 512 MB. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com Cheap and Reliable VPS Hosting: http://j.mp/arHk5e

Re: [us...@httpd] Apache config files in SQL

2010-06-14 Thread Nilesh Govindarajan
with using a distributed FS for just the configs but this seems ‘overkill’ for this job. I am hoping there is a builtin/patch to allow for just reading it from a sql table or the like. Thank you for your time! http://wiki.apache.org/httpd/ApacheVirtualHostMysql -- Nilesh Govindarajan Facebook

Re: [us...@httpd] portable server - putting all config files on a USB drive

2010-06-02 Thread Nilesh Govindarajan
pache, mysql and php I would be able to mount the usb drive and > away we go. > Nigel > > -- > public pgp key at > http://www.neuralsolutions.co.uk/gpg.txt > You will need a statically linked version of the binaries you put on the usbdisk, otherwise, the libraries listed by ldd , should be present on e

Re: [us...@httpd] Apache as caching proxy

2010-06-01 Thread Nilesh Govindarajan
2010/6/1 Igor Galić : > > - "Nilesh Govindarajan" wrote: > >> Hi, >> >> I have an installation of Apache running, so thinking of using it as >> a >> personal caching server after being fed up of firefox crashes which >> clears the cach

[us...@httpd] Apache as caching proxy

2010-05-31 Thread Nilesh Govindarajan
me in the right direction. -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] http request executed and forwarded to another server

2010-05-30 Thread Nilesh Govindarajan
-mail: users-h...@httpd.apache.org > > Could you please explain it more clearly ? -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com - The official User-To-User support forum of the Apac

Re: [us...@httpd] Buffering Output to Disk

2010-05-30 Thread Nilesh Govindarajan
ers-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > I don't think this can be done with Apache. You need to use PHP's bufferring mechanism. Wait for someone else to reply, may be they know Apache based bufferring soluti

Re: [us...@httpd] Running a fastCGI app as a specific user:group

2010-05-29 Thread Nilesh Govindarajan
://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >  "   from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > http://www.itech7.com/Linux/Ap

Re: [us...@httpd] install certificate on httpd

2010-05-27 Thread Nilesh Govindarajan
On Fri, May 28, 2010 at 9:40 AM, Nilesh Govindarajan wrote: > On Fri, May 28, 2010 at 9:33 AM, gping wrote: >> >> Thanks for your quick reply. >> I was focusing on httpd.conf. And now i try to modify ssl.conf. >> Q: how to make the web site https:// only? >> I

Re: [us...@httpd] install certificate on httpd

2010-05-27 Thread Nilesh Govindarajan
@httpd.apache.org > > Hashing out Listen 80 and configuring any vhosts with :443 in and ServerName should help. If it doesn't work, redirect it. -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com

Re: [us...@httpd] install certificate on httpd

2010-05-27 Thread Nilesh Govindarajan
mmands, e-mail: users-h...@httpd.apache.org > > Fedora's default httpd installation configures mod_ssl in /etc/httpd/conf.d/ssl.conf Edit that and your problem should be solved. I think you're trying to edit the configuration right into /etc/httpd/conf/httpd.conf ? -- Nilesh

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >   "   from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@htt

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
On Thu, May 27, 2010 at 1:45 PM, J. Bakshi wrote: > On 05/27/2010 01:14 PM, Nilesh Govindarajan wrote: >> On Thu, May 27, 2010 at 12:25 PM, J. Bakshi wrote: >> >>> On 05/27/2010 12:16 PM, J. Bakshi wrote: >>> >>>> Hello list, >>>> >>

Re: [us...@httpd] httpd to get process list

2010-05-27 Thread Nilesh Govindarajan
at instant into a file. Though it may have a lot of performance overhead. You've been warned. The script: #!/bin/bash ps -C httpd &> /dev/null if [ $? -ne 0 ]; then ps -A > /processlit fi -- Nilesh Govindarajan Facebook: nil

Re: [us...@httpd] .htaccess redirect issue

2010-05-27 Thread Nilesh Govindarajan
g > For additional commands, e-mail: users-h...@httpd.apache.org > > How you got [1] fixed, there's no change in the rule ! For bulk redirection within subdomains I suggest this: RewrtieCond %{HTTP_HOST} (.+).mydomain.com$ RewriteRule (.*) http://www.mydomain.com/?domain=%{HTTP

Re: [us...@httpd] Apache MPM

2010-05-27 Thread Nilesh Govindarajan
> Regards > Nasir > The MPM that is to be used is decided at compile time. You will have to recompile apache to change MPM. Worker usually performs better for large amount of requests but is threaded- so you need thread safe applications and libraries which work with apache. -- N

Re: [us...@httpd] Problems uploading files to Apache HTTP server using Internet Explorer 6

2010-05-25 Thread Nilesh Govindarajan
o the weird bugs in IE 6. I don't know the fixes to it, wait for some others to answer. I suggest you stop supporting IE 6 now. -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com - The offic

Re: [us...@httpd] virtual host failure on SUSE

2010-05-25 Thread Nilesh Govindarajan
On Tue, May 25, 2010 at 2:47 PM, Lester Caine wrote: > Nilesh Govindarajan wrote: >> >> On Tue, May 25, 2010 at 3:01 AM, Lester Caine  wrote: >>> >>> I've had this problem before and fixed it but can't remember what the fix >>> was :( >>

Re: [us...@httpd] virtual host failure on SUSE

2010-05-24 Thread Nilesh Govindarajan
-- > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >  "   from the digest: users-digest-unsubscr...@httpd.apache.org >

Re: [us...@httpd] client denied by server configuration, but sometimes works and sometimes not!

2010-05-24 Thread Nilesh Govindarajan
On Tue, May 25, 2010 at 10:24 AM, Mario Mol wrote: > Well, > > i`ve done apt-get update , so its all fresh new. > > Could this be related to some of security mods? For example, mod-security, > qos, psad? > > Cheer,s > > On 25 May 2010 01:45, Nilesh Govindarajan wro

Re: [us...@httpd] How to allow directory browsing to certain ip addresses only

2010-05-24 Thread Nilesh Govindarajan
d others should be able to access the files if and only if they know the full access path right ? I don't think this problem can be solved only with apache, you need some scripting stuff. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com ---

Re: [us...@httpd] Re: How to prevent flashgot by .htaccess ?

2010-05-24 Thread Nilesh Govindarajan
official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >   "   from the digest: users-digest-unsubscr...

Re: [us...@httpd] client denied by server configuration, but sometimes works and sometimes not!

2010-05-24 Thread Nilesh Govindarajan
rror.log: >>>>> [Sun May 23 08:49:56 2010] [error] [client 189.82.133.147] client >>>>> denied by server configuration: >>>>> /var/www/sites/dtc/gemt.com.br/subdomains/www/html/imagens/layou

Re: [us...@httpd] Re: Redirecting / to non slash

2010-05-18 Thread Nilesh Govindarajan
On 05/18/2010 12:25 PM, Igor Cicimov wrote: Dude, you really want everything serve on a plate :) RewriteRule (.*)/(.*)/$ $1/$2 [R=301,L] or even better RewriteRule (.*)/$ $1 [R=301,L] On Tue, May 18, 2010 at 4:37 PM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 05/1

Re: [us...@httpd] Re: Redirecting / to non slash

2010-05-17 Thread Nilesh Govindarajan
direct like this? RewriteRule (.*)/foo/$ $1/foo [R=301,L] Igor On Tue, May 18, 2010 at 11:25 AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: I am using Zend PHP Framework for my application, so all requests to non-existent files, directories (o

[us...@httpd] Re: Redirecting / to non slash

2010-05-17 Thread Nilesh Govindarajan
redirect /foo/ to /foo. -- Nilesh Govindarajan (निलेश गोविंदराजन) Twitter: nileshgr Facebook: nilesh.gr Website: www.itech7.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

[us...@httpd] Redirecting / to non slash

2010-05-17 Thread Nilesh Govindarajan
Hi, For SEO reasons, I'd like to redirect /page/ to /page, how to ? -- Nilesh Govindarajan (निलेश गोविंदराजन) Twitter: nileshgr Facebook: nilesh.gr Website: www.itech7.com - The official User-To-User support forum o

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Nilesh Govindarajan
On 04/25/10 18:07, Arunkumar Janarthanan wrote: Thanks Nilesh, so according to you httpd.config file is more advanced than .htaccess ? On Sun, Apr 25, 2010 at 8:31 AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 04/25/10 17:57, Arunkumar Janarthanan wrote:

Re: [us...@httpd] .htaccess functionalities

2010-04-25 Thread Nilesh Govindarajan
Everything that can be put in .htaccess can be very well put in the config files using , , or But not everything in config files is possible to put in .htaccess. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम

Re: [us...@httpd] Deny from all force

2010-04-11 Thread Nilesh Govindarajan
an ethics list, I will leave this discussion here. The web is about freedom of information. On Mon, Apr 12, 2010 at 2:25 AM, Nilesh Govindarajan wrote: On 04/10/10 13:53, Devraj Mukherjee wrote: Hi Nilesh, Deny and Allow option override can be globally configured as such http://httpd.apache.or

Re: [us...@httpd] Deny from all force

2010-04-11 Thread Nilesh Govindarajan
, 2010 at 3:15 PM, Nilesh Govindarajan wrote: Hi, I have installed mod_geoip. Now I want block Chinese and Russian visitors which should not overridden in .htaccess I.e. The Deny directive should work globally and should not be overridden by any other 'Allow from All' directives. Is thi

Re: [us...@httpd] Can I have two virtual hosts with same servername?

2010-04-09 Thread Nilesh Govindarajan
AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 04/09/10 15:14, Michael Ni wrote: I have a java project that resides in tomcat. Recently we needed to add Wordpress (php project). We decided to go with Apache Server in front with virtual host

Re: [us...@httpd] Can I have two virtual hosts with same servername?

2010-04-09 Thread Nilesh Govindarajan
pache2.2/htdocs" First of all, you need a NameVirtualHost *:80 Then you should use ServerAlias to add www to the vhost. As a SEO point of view, you should redirect www to non-www or vice-versa. -- Nilesh Govindaraja

[us...@httpd] Deny from all force

2010-04-06 Thread Nilesh Govindarajan
s in every .htaccess ? -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The official User-To-User support forum of the Apache HTTP Server Project. See http://ht

Re: [us...@httpd] Apache serving static content with the uid of the owner of the file with mpm-prefork

2010-04-06 Thread Nilesh Govindarajan
" from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Write a fcgi script to serve the files and use suexec to switch the user ids. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान

Re: [us...@httpd] unique php include_path in httpd.conf

2010-04-05 Thread Nilesh Govindarajan
e HTTPD list too ! Try using mod_fcgid, and in the initializer script set PHPRC variable to a custom php.ini with the required include_path configuration. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु !

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Nilesh Govindarajan
On 04/03/10 10:12, Ravi Roy wrote: On Sat, Apr 3, 2010 at 9:55 AM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 04/03/10 09:38, Ravi Roy wrote: Try using the /sbin/service command instead of this. Also, your httpd is self compiled or ins

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Nilesh Govindarajan
n using: yum remove httpd This _will_ remove /etc/rc.d/init.d/httpd as well. You will have to use /usr/local/apache2/bin/apachectl to control the apache daemon. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भा

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Nilesh Govindarajan
On 04/03/10 07:53, Ravi Roy wrote: On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 04/02/10 21:52, Ravi Roy wrote: Hi I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when I try to start and s

Re: [us...@httpd] Best Practices for mod_perl, mod_python, and mod_php

2010-04-02 Thread Nilesh Govindarajan
e you performance as well as security since it possible to use suExec with mod_fcgid. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The official User-To-User suppo

Re: [us...@httpd] How to limit number of particular request in apache.

2010-04-02 Thread Nilesh Govindarajan
- Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! <http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/>. I don't know bout limiting no. of requests, but using and LimitRequestBody, you can control the maximum size of uploads / d

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Nilesh Govindarajan
lready running at port number 80. Use netstat -ltnp | grep ':80' to get the process name and pid. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The of

Re: [us...@httpd] Re: Conditionally process directives based on environment variable values in Apache conf?

2010-03-31 Thread Nilesh Govindarajan
nnouncement. So you need to wait till 2.3 is out. :) -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The official User-To-User support forum of the Apache HTTP

Re: [us...@httpd] getting ErrorDocument to perform a 'hard' redirect

2010-03-31 Thread Nilesh Govindarajan
I didn't understand your problem clearly, but I think you're looking for RedirectMatch. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The official User-

Re: [us...@httpd] VirtualHost with different users?

2010-03-30 Thread Nilesh Govindarajan
mands, e-mail: users-h...@httpd.apache.org SuExec. Read the docs for SuExec. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! - The official User-To-User support forum o

Re: [us...@httpd] How is Zlib supposed to look?

2010-03-28 Thread Nilesh Govindarajan
com There's nothing to do with Apache here. Your PHP hasn't been compiled with Zlib extension. I don't know why people come here with PHP questions although this not a PHP ML. Go to PHP ML and ask how to compile with Zlib or read the docs ! -- Nilesh Govindarajan Site &

Re: [us...@httpd] How to make the code of PHP[mail()] work?

2010-03-27 Thread Nilesh Govindarajan
On 03/27/2010 05:19 PM, Dan Poirier wrote: On 2010-03-26 at 22:20, Nilesh Govindarajan wrote: If you wish to learn PHP, read the PHP manual at www.php.net This is not the place for discussion of PHP, except for its setup, etc. I will give you hint that you need an SMTP server at localhost

Re: [us...@httpd] How to make the code of PHP[mail()] work?

2010-03-26 Thread Nilesh Govindarajan
setup, etc. I will give you hint that you need an SMTP server at localhost. For more info, ask on PHP Mailing Lists. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com - The official User-To-User

Re: [us...@httpd] Multiple programs on port 80

2010-03-25 Thread Nilesh Govindarajan
at sounded relevant became dead-ends, so here I am. Anyways - I hope one of you can answer this; thanks in advance. -- HOOM Migrants are supposed to read the documentation thoroughly. -- Nilesh Govindarajan Site & Server Administrator

Re: [us...@httpd] Optimizing mod_fcgid

2010-03-23 Thread Nilesh Govindarajan
On 03/23/2010 08:13 PM, Jeff Trawick wrote: On Tue, Mar 23, 2010 at 10:02 AM, Nilesh Govindarajan wrote: On 03/23/2010 07:26 PM, Nilesh Govindarajan wrote: On 03/23/2010 07:20 PM, Jeff Trawick wrote: On Tue, Mar 23, 2010 at 8:48 AM, Nilesh Govindarajan wrote: On 03/23/2010 06:07 PM, Jeff

Re: [us...@httpd] Optimizing mod_fcgid

2010-03-23 Thread Nilesh Govindarajan
On 03/23/2010 07:26 PM, Nilesh Govindarajan wrote: On 03/23/2010 07:20 PM, Jeff Trawick wrote: On Tue, Mar 23, 2010 at 8:48 AM, Nilesh Govindarajan wrote: On 03/23/2010 06:07 PM, Jeff Trawick wrote: On Sat, Mar 20, 2010 at 2:16 AM, Nilesh Govindarajan wrote: Hi, I recently migrated from

Re: [us...@httpd] Optimizing mod_fcgid

2010-03-23 Thread Nilesh Govindarajan
On 03/23/2010 07:20 PM, Jeff Trawick wrote: On Tue, Mar 23, 2010 at 8:48 AM, Nilesh Govindarajan wrote: On 03/23/2010 06:07 PM, Jeff Trawick wrote: On Sat, Mar 20, 2010 at 2:16 AM, Nilesh Govindarajan wrote: Hi, I recently migrated from mod_fastcgi to mod_fcgid and experienced enormous

Re: [us...@httpd] Optimizing mod_fcgid

2010-03-23 Thread Nilesh Govindarajan
On 03/23/2010 06:07 PM, Jeff Trawick wrote: On Sat, Mar 20, 2010 at 2:16 AM, Nilesh Govindarajan wrote: Hi, I recently migrated from mod_fastcgi to mod_fcgid and experienced enormous performance boost. My current settings is as follows - FcgidMaxProcesses 100 FcgidMaxProcessesPerClass 50

[us...@httpd] Optimizing mod_fcgid

2010-03-19 Thread Nilesh Govindarajan
FcgidOutputBufferSize 1048576 FcgidProcessLifeTime 1800 FcgidMinProcessesPerClass 2 Main use is for PHP applications, but in future may add some languages. Server config - Fedora 12, 500 MB RAM, Pentium 2 Ghz PHP applications are cached using Xcache, and will normally use PostgreSQL. -- Nilesh Govindarajan Site

Re: [us...@httpd] mod_fcgid question

2010-03-18 Thread Nilesh Govindarajan
pache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org I think your mod_fcgid's IPC dir is not writeable. Che

Re: [us...@httpd] PHP 4 and 5

2010-03-17 Thread Nilesh Govindarajan
Search ! -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe

Re: [us...@httpd] VirtualHost & Location

2010-03-16 Thread Nilesh Govindarajan
rg/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >   "   from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > Use mod_rewrite. RewriteEngine On RewriteRule

Re: [us...@httpd] VirtualHost & Location

2010-03-16 Thread Nilesh Govindarajan
t;   from the digest: users-digest-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> > > Why are you using ProxyPass ? You can use Redirect if don't want to mask

Re: [us...@httpd] VirtualHost & Location

2010-03-16 Thread Nilesh Govindarajan
ache.org Why are you using ProxyPass ? You can use Redirect if don't want to mask that content is coming from your server (and of course save your bandwidth). -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com

Re: [us...@httpd] mod_php script 'queue'

2010-03-12 Thread Nilesh Govindarajan
On Fri, Mar 12, 2010 at 11:06 PM, Reese wrote: > On 12-Mar-10 11:31, Nilesh Govindarajan wrote: >> >> On Fri, Mar 12, 2010 at 6:49 PM, Bruno - e-comBR >> wrote: > >>> It's causing a little throuble for me. When a PHP script generates a >>> bigger &g

Re: [us...@httpd] mod_autoindex is hogging my CPU

2010-03-12 Thread Nilesh Govindarajan
mmands, e-mail: users-h...@httpd.apache.org > If a file is accessed frequently, the kernel automatically caches it. But this doesn't seem to work in your case (maybe SuSe has disabled it ?). Another option is that, you run a script which will generate an index.html periodically as per the c

Re: [us...@httpd] mod_php script 'queue'

2010-03-12 Thread Nilesh Govindarajan
h apache is queuing a > new script, and just begin running this when the queue is empty again. > > What do you suggest me? > > Thank you, > Bruno Moreira Guedes > I don't use mod_php, so don't know about its behavior. But I recommend you inform the users that

Re: [us...@httpd] Multiple Apache 2.2.8 installation on same redhat server, Error httpd (pid 3996) already running

2010-03-10 Thread Nilesh Govindarajan
nt. > > Regards, > PRAMOD KUMAR > > > > > > > All the latest on four wheels and more Get it now. Probably you're using same pid files -- Nilesh Govindarajan Site & Server Administrator www.itech7.com -

Re: [us...@httpd] rewrite rule

2010-03-10 Thread Nilesh Govindarajan
ee. Access or use by any other person > to this internet email is not authorized and may be unlawful. If you are not > the intended recipient, please delete or destroy this email. If you do not > wish to receive future emails from this sender, please reply directly to > this emai

Re: [us...@httpd] multiple instances of rotatelogs writing to the same file

2010-03-10 Thread Nilesh Govindarajan
mmands, e-mail: users-h...@httpd.apache.org > Use standard logging methods, and run logrotate regularly using cron. I do it this way. With logrotate you can also mail the owner(s) of the virtualhosts a compressed version of the log for analysis and delete it from your server. -- Nilesh Govindaraj

Re: [us...@httpd] mpm_worker and mod_ssl: requirements to OpenSSL

2010-03-09 Thread Nilesh Govindarajan
r more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >   "   from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > Ummm.. I don't think so. I compiled httpd with openssl-deve

Re: [us...@httpd] User name in access_log

2010-03-09 Thread Nilesh Govindarajan
ttp://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >   "   from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > I don't remember exactl

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Nilesh Govindarajan
nside a virtualhost for domain. I.e. I have a virtualhost whose ServerName is set to domain.com and only one line inside that - RedirectPermanent / http://www.domain.com/ If you have SSL on your domain, this going to create some problems. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

Re: [us...@httpd] I don't want Cache

2010-03-04 Thread Nilesh Govindarajan
like you've enabled mod_cache* Disable them. If that's not enabled, its something to do with your script. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

Re: [us...@httpd] issue in debian lenny.

2010-03-04 Thread Nilesh Govindarajan
On Fri, Mar 5, 2010 at 10:33 AM, J. Bakshi wrote: > On 03/04/2010 05:18 PM, Nilesh Govindarajan wrote: > > On Thu, Mar 4, 2010 at 2:40 PM, Igor Cicimov > <mailto:icici...@gmail.com>> wrote: > > > > See the name of the module in the LoadModule line in the

Re: [us...@httpd] password protecting a file that has parameters

2010-03-04 Thread Nilesh Govindarajan
ion would be using mod_setenvif. I doubt if query string checking is there with mod_setenvif. If its there, you could set an env variable and depending on that configure auth. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

Re: [us...@httpd] issue in debian lenny.

2010-03-04 Thread Nilesh Govindarajan
On Thu, Mar 4, 2010 at 2:40 PM, Igor Cicimov wrote: > See the name of the module in the LoadModule line in the config file > > On Mar 4, 2010 6:16 PM, "J. Bakshi" wrote: > > On 03/04/2010 11:40 AM, Nilesh Govindarajan wrote: > On Thu, Mar 4, 2010 at > 11:12

Re: [us...@httpd] issue in debian lenny.

2010-03-03 Thread Nilesh Govindarajan
ache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > I think you should be using rewrite_module.c instead of mod_rewrite.c -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

Re: [us...@httpd] How to map http://www.myaddress.com to http://www.myaddress.com:8000 ?

2010-02-28 Thread Nilesh Govindarajan
httpd.apache.org >> >> > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsu

Re: [us...@httpd] How to map http://www.myaddress.com to http://www.myaddress.com:8000 ?

2010-02-28 Thread Nilesh Govindarajan
pport forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@

Re: [us...@httpd] How to map http://www.myaddress.com to http://www.myaddress.com:8000 ?

2010-02-28 Thread Nilesh Govindarajan
ct. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > First of all, why do you want to use port 8000 ? Your ISP is blocking port 80 ? -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

  1   2   >