[us...@httpd] Too many '500 Error'

2010-01-10 Thread Nilesh Govindarajan
lly the admin interface don't load properly. It takes more than 30 secs and often results in an Error 500. Where the problem is ? Drupal (site's app) or Apache ? -- Nilesh Govindarajan Site& Server Adminstrator www.itech7.com ---

Re: [us...@httpd] Too many '500 Error'

2010-01-10 Thread Nilesh Govindarajan
On 01/10/2010 10:47 PM, Daniel Reinhardt wrote: -- From: "Nilesh Govindarajan" Sent: 10 January, 2010 17:08 To: Subject: [us...@httpd] Too many '500 Error' I have a fedora 12 VPS with 500 MB RAM & 1 GB swap. I've

Re: [us...@httpd] Too many '500 Error'

2010-01-10 Thread Nilesh Govindarajan
On 01/10/2010 10:50 PM, Nilesh Govindarajan wrote: On 01/10/2010 10:47 PM, Daniel Reinhardt wrote: -- From: "Nilesh Govindarajan" Sent: 10 January, 2010 17:08 To: Subject: [us...@httpd] Too many '500 Error' I have a fedor

Re: [us...@httpd] Too many '500 Error'

2010-01-10 Thread Nilesh Govindarajan
On 01/11/2010 12:49 AM, Daniel Reinhardt wrote: -- From: "Nilesh Govindarajan" Sent: 10 January, 2010 17:22 To: Subject: Re: [us...@httpd] Too many '500 Error' On 01/10/2010 10:50 PM, Nilesh Govindarajan wrote: On 01/10/2

Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-10 Thread Nilesh Govindarajan
gest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org You should configure a NameVirtualHost on port 443. And use something like this - -- Nilesh Govindarajan Site& Server Admin

Re: [us...@httpd] HTTP over PPPoE???

2010-01-11 Thread Nilesh Govindarajan
. -- 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] HTTP over PPPoE???

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 01:48 PM, ChiaTzung Liu wrote: But I don't enable proxy.c in httpd. In addition, these captured packages is captured in LAN directly, not in WAN. So I think not proxy issue. -Original Message- From: Nilesh Govindarajan [mailto:li...@itech7.com] Sent: Monday, Janua

Re: [us...@httpd] Apache2 UCC Certificate Multiple Websites

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 06:23 PM, Eric Covener wrote: On Mon, Jan 11, 2010 at 12:31 AM, Nilesh Govindarajan wrote: On 01/11/2010 10:45 AM, Marcos Mendez wrote: You should configure a NameVirtualHost on port 443. And use something like this - That sounds completely unnecessary, what&#

Re: [us...@httpd] Too many '500 Error'

2010-01-11 Thread Nilesh Govindarajan
On 01/11/2010 05:12 PM, Tom Evans wrote: On Mon, Jan 11, 2010 at 5:28 AM, Nilesh Govindarajan wrote: No actually, all pages open. But sometimes it takes really long although there's no traffic out there. And I checked the log to see this - FastCGI: incomplete headers (0 bytes) received

Re: [us...@httpd] Redirection from DocumentRoot

2010-01-11 Thread Nilesh Govindarajan
pache/htdocs/testInstall Then configure apache like this - Options +FollowSymLinks RedirectPermanent / /testInstall -- Nilesh Govindarajan Site & Server Adminstrator www.i

Re: [us...@httpd] Redirection from DocumentRoot

2010-01-12 Thread Nilesh Govindarajan
e wants to display a different URL in the addressbar. -- 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/

Re: [us...@httpd] web access to htpasswd

2010-01-12 Thread Nilesh Govindarajan
users-h...@httpd.apache.org Why don't you use PHP or some other scripting language ? That will be more easier than doing this. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support fo

Re: [us...@httpd] Appending or replacing html/text output

2010-01-12 Thread Nilesh Govindarajan
Facebook. He has clearly said that mod_substitute didn't fit his needs, so why are you suggesting that to him ? -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support for

[us...@httpd] Optimizing apache 2

2010-01-13 Thread Nilesh Govindarajan
- StartServers 8 MaxClients 512 MinSpareThreads 5 MaxSpareThreads 10 ThreadsPerChild 64 MaxRequestsPerChild 0 Can apache handle the above ? Or I can increase it further ? -- Nilesh Govindarajan Site & Server Adminstr

[us...@httpd] Caching globally

2010-01-15 Thread Nilesh Govindarajan
I have a doubt about mod_disk_cache. Once configured for the main host, does it apply for all vhosts too ? -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support forum of

Re: [us...@httpd] can we run two SSL domains on one IP

2010-01-18 Thread Nilesh Govindarajan
above. NameVirtualHost :80 -- 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 mor

Re: [us...@httpd] can we run two SSL domains on one IP

2010-01-19 Thread Nilesh Govindarajan
On 01/19/2010 01:32 PM, Igor Cicimov wrote: As far as i know apache doesnt support name virtual hosting up to 2.2.13 or 2.2.14 not exactly sure. And after that supports it but only with SII. On Jan 19, 2010 6:41 PM, "Nilesh Govindarajan" mailto:li...@itech7.com>> wrote: On 01/

[us...@httpd] Running Python over FastCGI

2010-01-20 Thread Nilesh Govindarajan
relatively new to python and won't like to use that WSGI things. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.a

Re: [us...@httpd] password protected files

2010-01-21 Thread Nilesh Govindarajan
permitting AuthConfig in .htaccess. Try with this - > AllowOverride +AuthConfig Then I think it should work. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-User support forum o

[us...@httpd] Re: Running Python over FastCGI

2010-01-21 Thread Nilesh Govindarajan
On 01/21/2010 11:31 AM, Nilesh Govindarajan wrote: Hi, I have Apache 2.2.14 with mod_fastcgi. I am running PHP using this configuration - AddHandler php-fcgi .php FastCgiServer cgi-bin/php-cgi Action php-fcgi cgi-bin/php-cgi Options +ExecCGI And it is working properly. Is there any

Re: [us...@httpd] Redirect url and preserve new name

2010-01-21 Thread Nilesh Govindarajan
calname ? I give the same answer. You should use internal rewrite or proxypass. BTW, what is next ? Hearing for the first time. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The official User-To-Us

Re: [us...@httpd] apache installed, but can't access

2010-01-22 Thread Nilesh Govindarajan
anything behind it; I do have ports 80 and 443 opened too. Here's my domain: fyrenice.com <http://fyrenice.com>. Thanks for any direction! Scott More likely of a firewall issue ? Or you've not enabled port forwarding on your router. -- Nilesh Govindarajan Site & Server Adminst

Re: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Nilesh Govindarajan
get any help here. -- 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 u

Re: [us...@httpd] website response sudeenly becomes slow

2010-01-28 Thread Nilesh Govindarajan
Also set vm.swapiness = 100 It swaps out processes which are not active much. But that setting should not be required for you cause you have plenty of RAM. In my case, I have exactly 497 MB of RAM. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com

Re: [us...@httpd] enable mod_deflate in apache 2.2.8

2010-02-02 Thread Nilesh Govindarajan
suits you just fine. .htm .html .js .css .gif .jpg .jpeg and .png Using mod_deflate on binary files like jpg and png seems unwise. I think mod_gzip is for 1.3 -- Nilesh Govindarajan Site & Server Adminstrator www.itech7

[us...@httpd] SuExec

2010-02-02 Thread Nilesh Govindarajan
tdocs/main (drupal codebase) is owned by www:www -- 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.

Re: [us...@httpd] SuExec

2010-02-02 Thread Nilesh Govindarajan
mail: users-h...@httpd.apache.org No, I'm using FastCGI. I don't want to load any PHP module inside apache as FastCGI gives much better performance. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - The of

Re: [us...@httpd] SuExec

2010-02-03 Thread Nilesh Govindarajan
being run by www:www instead of newuser. -- 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&

Re: [us...@httpd] SuExec

2010-02-03 Thread Nilesh Govindarajan
- "target uid/gid (500/500) mismatch with directory (501/501) or program (501/501)" 500 is the user, 501 is www. What's the solution for this ? -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com

Re: [us...@httpd] SuExec

2010-02-04 Thread Nilesh Govindarajan
exec /usr/local/bin/php-cgi $@ - But this shows me a blank page. The same code is being used by many people as written on their blogs when I searched on Google. How come doesn't work here ? -- Nilesh Govindarajan Site &am

Re: [us...@httpd] SuExec

2010-02-04 Thread Nilesh Govindarajan
Please ignore my previous message. I was going nuts due to this and I think I didn't see the "FOO" in elinks. Its working properly now. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com - T

Re: [us...@httpd] httpd RPM creation failed

2010-02-06 Thread Nilesh Govindarajan
error: Bad exit status from /var/tmp/rpm-tmp.qpZ72n (%build) Thanks in advance.. Regards, VIvek RPMs suck. Compile natively into /usr/local. Even I'm on a RPM based system. Its just waste of time to trying to build it. -- Nilesh Govindara

Re: [us...@httpd] httpd RPM creation failed

2010-02-06 Thread Nilesh Govindarajan
when we use "--with-included-apr option". Regards, Vivek On Sat, Feb 6, 2010 at 6:37 PM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 02/06/2010 05:06 PM, vivekanandan nataraj wrote: Hi All, Version - httpd-2.2.14 If we use "--with-i

Re: [us...@httpd] httpd RPM creation failed

2010-02-06 Thread Nilesh Govindarajan
On 02/07/2010 12:14 AM, vivekanandan nataraj wrote: On Sat, Feb 6, 2010 at 9:27 PM, Nilesh Govindarajan mailto:li...@itech7.com>> wrote: On 02/06/2010 09:23 PM, vivekanandan nataraj wrote: HI Nilesh, Thanks for your reply. I want to update the existing

Re: [us...@httpd] Default program for CGI

2010-02-14 Thread Nilesh Govindarajan
article- http://www.itech7.com/Linux/Apache2-PHP-FastCGI-SuExec After a lot of struggling I was able to do this. Also its better to use FastCGI over standard CGI for performance reasons. -- Nilesh Govindarajan Site & Server Adminstr

Re: [us...@httpd] Redirect on bases of ip address

2010-02-14 Thread Nilesh Govindarajan
tml [L,R=302] -- 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 unsu

Re: [us...@httpd] Re: Default program for CGI

2010-02-15 Thread Nilesh Govindarajan
- it is either not installed or blocked. I will talk today to figure out which. Regards Are you trying to configure it in .htaccess ? If so, it won't work. -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Nilesh Govindarajan
from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Are you sure that you're using worker MPM ? -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com ---

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Nilesh Govindarajan
havent used the .htaccess file. Anyone any ideas where I might have gone wrong? Thanks in advance. Wing Does the custom error file exist ? If yes, then try this to see a custom message - ErrorDocument 404 "This is test 404 error" -- Nilesh Govindarajan Site & Server Adminstra

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Nilesh Govindarajan
On 02/15/2010 08:23 PM, Wing Tang wrote: Hi Nilesh Yes it does exist. I just replaced the text string but still no result. Do I need to an .htaccess to get it to work. Met vriendelijke groet, Wing Tang mob: +31624870322 On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan mailto:li

[us...@httpd] Proxy and Caching

2010-02-22 Thread Nilesh Govindarajan
location. My server has caching (disk) enabled. Is it possible to cache the requests by ProxyPass ? Or there's some other method by which Apache will download the file if and only if it is updated (mod_cache does this for local files). -- Nilesh Govindarajan Site & Server Adm

Re: [us...@httpd] Proxy and Caching

2010-02-23 Thread Nilesh Govindarajan
. Have a look at mod_expires too for some client side caching too. > > On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" mailto:li...@itech7.com>> wrote: > > Hi, > I am installi... mod_mem_cache not feasible for me. The server has only 500 MB of RAM running PHP, Apache

Re: [us...@httpd] Apache newbie help - Multiple /usr/sbin/httpd2-preforks ...

2010-02-26 Thread Nilesh Govindarajan
shall be understood as > neither given nor endorsed by it. > Minorplanet Systems plc, Registration no: 3372097 > Minorplanet Limited, Registration no: 4072786 > Greenwich House, 223 North Street, Leeds, LS7 2AA > VAT #: 698 1438 86 > ** > > > Prefork is always like that. It will spawn a process for each request. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

[us...@httpd] Cacthing hosts

2010-02-26 Thread Nilesh Govindarajan
. How to ? -- Nilesh Govindarajan Site & Server Administrator www.itech7.com

Re: [us...@httpd] Cacthing hosts

2010-02-26 Thread Nilesh Govindarajan
On Fri, Feb 26, 2010 at 10:42 PM, Tom Evans wrote: > On Fri, Feb 26, 2010 at 4:57 PM, Nilesh Govindarajan > wrote: > > Hi, > > > > I have two domains, example.net and example.com > > > > *.example.net & *.example.com point to the server's IP (Wild

Re: [us...@httpd] Cacthing hosts

2010-02-27 Thread Nilesh Govindarajan
On Fri, Feb 26, 2010 at 10:52 PM, Frank Gingras wrote: > > > On 02/26/2010 12:12 PM, Tom Evans wrote: > >> On Fri, Feb 26, 2010 at 4:57 PM, Nilesh Govindarajan >> wrote: >> >>> Hi, >>> >>> I have two domains, example.net and example.com &g

Re: [us...@httpd] Re: Cacthing hosts

2010-02-27 Thread Nilesh Govindarajan
On Sat, Feb 27, 2010 at 9:31 PM, LuKreme wrote: > On 27-Feb-2010, at 04:20, Nilesh Govindarajan wrote: > > > > This configuration has to be placed after all good vhosts; Otherwise all > > hosts give Error 400. Why ? > > Because all hosts match. > > This is not

Re: [us...@httpd] Re: Cacthing hosts

2010-02-28 Thread Nilesh Govindarajan
On Sun, Feb 28, 2010 at 1:01 AM, LuKreme wrote: > On 27-Feb-2010, at 10:17, Nilesh Govindarajan wrote: > > > > What if I want all IPs ? > > Your not understanding the function of the first VirtualHost. It is special > as it is the default for anything that doesn

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

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
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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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 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] 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] 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
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] 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] 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
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] 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] 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

[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] 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

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 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 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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 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 मेरा भारत महान

[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] 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

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] 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] 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] .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] .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:

[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

[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

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

  1   2   >