Re: [us...@httpd] config httpd for php5 howto

2009-05-05 Thread Krist van Besien
On Tue, May 5, 2009 at 2:51 AM, Jonathan Zuckerman wrote: > I'd also like to add that LAMP is far from broken on Ubuntu, I set it > up in literally 30 seconds utilizing only sudo apt-get install. I second that. Getting a fully funtioning "LAMP" stack running on Ubuntu is as painless as it can be

Re: [us...@httpd] How do I play out a request ??

2009-05-05 Thread Krist van Besien
On Mon, May 4, 2009 at 10:34 PM, ricardo13 wrote: > In this > http://www.nabble.com/RewriteMap-PRG-By-Example-Using-C-to23283305.html link > , I use a external program (in C) to rewrite URLs. > > In program, when I typed in browser localhost/1, or localhost/2, or > localhost/3, they're mapped to

Re: [us...@httpd] serving multiple application servers under one domain name.

2009-05-05 Thread Ahmed Dini
awarnier wrote: > > Ahmedkafi wrote: >> >> Hello everybody, >> >> I have one domain name (www.example.com). >> >> I also have 3 different application all running under their own tomcat >> instances. (each application has its own tomcat). >> >> All 3 instance of tomcat use Apache Server for a

Re: [us...@httpd] serving multiple application servers under one domain name.

2009-05-05 Thread Ahmed Dini
awarnier wrote: > > Ahmedkafi wrote: >> >> Hello everybody, >> >> I have one domain name (www.example.com). >> >> I also have 3 different application all running under their own tomcat >> instances. (each application has its own tomcat). >> >> All 3 instance of tomcat use Apache Server for

[us...@httpd] serving multiple application servers under one domain name.

2009-05-05 Thread Ahmed Dini
Thanks awarnier for the reply, Sorry about this i am struggling to reply because I am getting nabble wants me to quote something but i don;t know how to. I am also going to start a new thread because i can't seem to reply thanks. I am use mod_proxy_ajp. below is two section of the configuration. u

[us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread Julien Gerhards
Hi, I need to build an proxy cache server with a very simple url_rewrite : The server sould receive URL like this : http://myserver/img=httpd%3A%2F%2Fotherwebserver%2Fpath%2Ffile and act as proxy/cache and give the file : http://otherwebserver/path/file I tried the following conf : Rewrite

[us...@httpd] apache2 versus httpd

2009-05-05 Thread Julius Thijssen
How annoying, having to switch naming from CentOS/RHEL to Debian. It causes me to work for hours changing httpd to apache2 (and back) while migrating a linux server system. Can't they just get along and make some uniformity between them? What could EVER be useful about using two different names for

[us...@httpd] Large DBM ssl_scache causing performance issues, possible DOS

2009-05-05 Thread Mick Sheppard
Hi, I've been unable to find any information on the web concerning an issue we are currently having and want to check that we haven't overlooked any possible options. We run an instance of Apache 2.2 on Solaris 10 running as both a forward and reverse proxy for discrete SSL web services tra

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread Arabinda Sahoo
Hi Brians, It's been sometime on this issue for me to respond. How can my application override the Content-Encoding setting done by Apache? I believe Apache sets this header after doing compression. The issue is Apache is doing compression and the "Content-Encoding" header is not getting set. Can

Re: [us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread André Warnier
Try $1 instead of $0 ? Julien Gerhards wrote: Hi, I need to build an proxy cache server with a very simple url_rewrite : The server sould receive URL like this : http://myserver/img=httpd%3A%2F%2Fotherwebserver%2Fpath%2Ffile and act as proxy/cache and give the file : http://otherwebserver/

Re: [us...@httpd] apache2 versus httpd

2009-05-05 Thread André Warnier
Julius Thijssen wrote: How annoying, having to switch naming from CentOS/RHEL to Debian. It causes me to work for hours changing httpd to apache2 (and back) while migrating a linux server system. Can't they just get along and make some uniformity between them? What could EVER be useful about usin

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread André Warnier
Arabinda Sahoo wrote: Hi Brians, It's been sometime on this issue for me to respond. How can my application override the Content-Encoding setting done by Apache? http://httpd.apache.org/docs/2.2/mod/mod_headers.html (that's a short answer, the real good answer is probably more nuanced) ---

RE: [us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread Julien Gerhards
Hi André, It doesn't made any change. I cant see anything in the rewritelog For the Url : http://192.168.100.188/img=http://files.macbidouille.com/mbv/news/00509/nano_1yen.jpg Accesslog : 192.168.100.188 - - [05/May/2009:13:35:55 +0200] "GET /img=http://files.macbidouille.com/mbv/news/00509/nan

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread Arabinda Sahoo
So, can you please give me an example, how to use this Header command. I put it in my "Location" block as follows Header set Content-Encoding "gzip" But it is still showing "Content-Encoding" "" How can I tell Apache to set Content-Encoding to "gzip" - just before it is sent back over the Netw

Re: [us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread André Warnier
Julien Gerhards wrote: Hi André, It doesn't made any change. Well yes it does. $0 was wrong, $1 is right, to capture what you wanted to capture. But I did not look further at the details. I cant see anything in the rewritelog Then it means that this URL is not mtaching what you think it

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-05 Thread Raja Shekar CS
Hi, I tried an earlier version of apache (2.0.63) and also at simpler path. No luck. Any other hints ? Pls let me know. Thanks, Raj. On Mon, May 4, 2009 at 5:57 PM, Eric Covener wrote: > On Mon, May 4, 2009 at 7:57 AM, Raja Shekar CS wrote: > > I am facing an issue in bringing up httpd (2.2.

Re: [us...@httpd] How do I play out a request ??

2009-05-05 Thread ricardo figueiredo
Hi Krist, Sorry. My English doesn't good !!! You're right, I want a particular request to be dropped in stead of forwarded to the backend, Do you have any example using RewriteRule ?? Thank you Ricardo On Tue, May 5, 2009 at 4:48 AM, Krist van Besien wrote: > On Mon, May 4, 2009 at 10:34

RE: [us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread Julien Gerhards
OK it works, so basixc conf is : RewriteEngine On RewriteCond %{REQUEST_URI} ^/img=(.+) RewriteRule ^/img=(.+)$ $1 [L,P] RewriteLog /var/log/RewriteLog.log AllowEncodedSlashes on ProxyRequests On ProxyVia On CacheEnable disk / CacheRoot "/v

Re: [us...@httpd] apache2 versus httpd

2009-05-05 Thread Lester Caine
André Warnier wrote: Julius Thijssen wrote: How annoying, having to switch naming from CentOS/RHEL to Debian. It causes me to work for hours changing httpd to apache2 (and back) while migrating a linux server system. Can't they just get along and make some uniformity between them? What could EVE

Re: [us...@httpd] Mod-rewrite+Mod_proxy+Mod_cache

2009-05-05 Thread André Warnier
Julien Gerhards wrote: ... additional note : I think this rule is superfluous, as you basically already have the same condition in your RewriteRule : RewriteCond %{REQUEST_URI} ^/img=(.+) I'know that's is not the more secure way of use but i must respect this choice and do my best to limit p

Re: [us...@httpd] How do I play out a request ??

2009-05-05 Thread Krist van Besien
On Tue, May 5, 2009 at 2:32 PM, ricardo figueiredo wrote: > Hi Krist, > > Sorry. My English doesn't  good !!! > You're right, I want a particular request to be dropped in stead of > forwarded to > the backend, > > Do you have any example using RewriteRule ?? RewriteRule /bad_url - [F] Krist

Re: [us...@httpd] How do I play out a request ??

2009-05-05 Thread ricardo figueiredo
Hi Krist, Thank you !! On Tue, May 5, 2009 at 11:11 AM, Krist van Besien wrote: > On Tue, May 5, 2009 at 2:32 PM, ricardo figueiredo > wrote: > > Hi Krist, > > > > Sorry. My English doesn't good !!! > > You're right, I want a particular request to be dropped in stead of > > forwarded to > > t

[us...@httpd] Display Thumbnails in Folders

2009-05-05 Thread dholtz
Greetings; I am using CENTOS 4.7, Apache 2.0.52, kernel 2.6.9-78.0.13.EL as a home server on a real DEC server. I have pictures I'd like displayed as thumbnails in folders instead of a listing by file name, all jpg's (similar to flickr). I've searched apache mime types and tried to understand t

[us...@httpd] beginner's mod_rewrite recursion problem

2009-05-05 Thread Kynn Jones
I'm new to mod_rewrite, and need advice on whether what i want to do is possible. I have a physical structure analogous to the following: /path/to/docroot/foo/bar/index.html /path/to/docroot/foo/css /path/to/docroot/foo/images /path/to/docroot/frobozz/css /path/to/docroot/frobozz/images I want t

[us...@httpd] Apache and CF Help - Anyone need $$

2009-05-05 Thread Jason Todd Slack-Moehrle
Hi All, I have a CentoS 5.3 XEn Instance at Mosso. I need to run ColdFusion and I have in the past successfully made everything work, but not on Linux Windows. I just cannot get Apache and CF talking. I added mod_jrun22, When I try to serve a CF file, I am asked to download binary data. I

Re: [us...@httpd] Little explanation

2009-05-05 Thread Morten K. Poulsen
Hi Darvin, On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote: > > StartServers8 > MinSpareServers5 > MaxSpareServers 20 > ServerLimit 288 > MaxClients 256 > MaxRequestsPerChild 4000 > > > There is a good soul that can ex

RE: [us...@httpd] Little explanation

2009-05-05 Thread Julien Gerhards
Maybe a little help : With this conf, your server wont be able to support lot of request The coonfig i use if nearly this : ServerLimit 5000 => no more than 5000 httpd process StartServers 500 => at the launch of httpd 500 process launched MinSpareServers 50

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread Arabinda Sahoo
Hi Andre, Can you send me the real good nuanced answer? Appreciate your help? Regards, Arabinda -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, May 05, 2009 4:56 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enable

Re: [us...@httpd] Little explanation

2009-05-05 Thread Prasanna Ram Venkatachalam
StartServers - number of httpd processes started when you *initially* start the web server MinSpareServers - the minimimun limit or number of httpd processes that will always be available at any point in time *without serving requests* i guess MaxSpareServers - the max limit corresponding to the ab

Re: [us...@httpd] Little explanation

2009-05-05 Thread Jan G.B.
2009/5/5 Morten K. Poulsen : > Hi Darvin, > > On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote: >> >>     StartServers            8 >>     MinSpareServers    5 >>     MaxSpareServers   20 >>     ServerLimit              288 >>     MaxClients              256 >>     MaxRequestsPerChild  4000

[us...@httpd] Rewrite Help

2009-05-05 Thread Mike Steigerwald
Hi all, I'm struggling to learn Rewrite, and I'm weak on regexp in general. Does anyone have time to share suggestions for rewriting URLs like: http://aameetinglocator.org/content/meeting-search?city=Bemidji&state=MN to http://aameetinglocator.org/civicrm/contact/search/custom?csid=14&reset=1

[us...@httpd] Little explanation

2009-05-05 Thread Darvin Denmian
Hello list, i need some information about the above directives: StartServers8 MinSpareServers5 MaxSpareServers 20 ServerLimit 288 MaxClients 256 MaxRequestsPerChild 4000 There is a good soul that can explain each directive li

Re: [us...@httpd] Little explanation

2009-05-05 Thread Darvin Denmian
I posted this message here because of this message: WARNING: MaxClients of 288 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive. I thank all the humble people who know their own limitations and spent his time answering my stu

Re: [us...@httpd] Rewrite Help

2009-05-05 Thread Jan G.B.
Something like that? ReWriteCond %{QUERY_STRING} city=([^&]+)&state=([A-Za-z]+) RewriteRule ^content/meeting-search civicrm/contact/search/custom?csid=14&reset=1&%{QUERY_STRING} Regards 2009/5/5 Mike Steigerwald : > Hi all, > > I'm struggling to learn Rewrite, and I'm weak on regexp

Re: [us...@httpd] Little explanation

2009-05-05 Thread Tom Evans
On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote: > Hello list, > > i need some information about the above directives: > > > StartServers8 > MinSpareServers5 > MaxSpareServers 20 > ServerLimit 288 > MaxClients 256 > MaxR

Re: [us...@httpd] Display Thumbnails in Folders

2009-05-05 Thread André Warnier
dho...@wi.rr.com wrote: Greetings; I am using CENTOS 4.7, Apache 2.0.52, kernel 2.6.9-78.0.13.EL as a home server on a real DEC server. I have pictures I'd like displayed as thumbnails in folders instead of a listing by file name, all jpg's (similar to flickr). I've searched apache mime types

[us...@httpd] unsubscribe

2009-05-05 Thread tdavis
unsubscribe unsubscribe - 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 " fr

Re: [us...@httpd] beginner's mod_rewrite recursion problem

2009-05-05 Thread André Warnier
Kynn Jones wrote: ... Hi. The best way to understand what is at stake here is to get yourself a Firefox extension like HttpFox, activate it, and then get your page from the server. Then look in the HttpFox window what your /browser/ is actually asking from the server. The key part to underst

Re: [us...@httpd] Little explanation

2009-05-05 Thread André Warnier
Morten K. Poulsen wrote: Hi Darvin, On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote: StartServers8 MinSpareServers5 MaxSpareServers 20 ServerLimit 288 MaxClients 256 MaxRequestsPerChild 4000 There is a good soul tha

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread André Warnier
Arabinda Sahoo wrote: Hi Andre, Can you send me the real good nuanced answer? :-) Well, it might take a lot of time to get this right. mod_headers is the general solution for setting headers. But a first issue if that not all HTTP response headers can be set this way. I know that for examp

RE: [us...@httpd] jk2 configuration problem

2009-05-05 Thread inas inassen
on windows you need mod_jk.dll other thing, is not recommended to use jk2 because is not supported anymore, use jk instead. Inas. Date: Mon, 4 May 2009 20:58:58 -0700 From: arvin123...@yahoo.com To: users@httpd.apache.org Subject: [us...@httpd] jk2 configuration problem Hi, I

Re: [us...@httpd] Display Thumbnails in Folders

2009-05-05 Thread dholtz
Thank you Andre'. I was hoping it would be a config file change. I'll look into phpthumbs or another program. -- dh "André Warnier" wrote: > dho...@wi.rr.com wrote: > > Greetings; > > I am using CENTOS 4.7, Apache 2.0.52, kernel 2.6.9-78.0.13.EL as a home > > server on a real DEC server

Re: [us...@httpd] Little explanation

2009-05-05 Thread Eric Covener
On Tue, May 5, 2009 at 11:34 AM, Darvin Denmian wrote: > I posted this message here because of this message: > > WARNING: MaxClients of 288 exceeds ServerLimit value of 256 servers, > lowering MaxClients to 256.  To increase, please see the ServerLimit > directive. Order matters for these. Mainta

[us...@httpd] [***** SPAM 5.3 *****] handling failed authentication attempts

2009-05-05 Thread Aleks Feltin
Hello List, We are using 2.2.9 on Debian with mod_ldap and mod_auth_kerb_5.4. Latter supports failback to basic authentication. So far it is working well. Problem arises with functional requrements for authorization. It is required that members of certain ldap group are tied to gssapi authentica

Re: [us...@httpd] Little explanation

2009-05-05 Thread Darvin Denmian
Thanks for all !!! On Tue, May 5, 2009 at 2:04 PM, Eric Covener wrote: > On Tue, May 5, 2009 at 11:34 AM, Darvin Denmian > wrote: >> I posted this message here because of this message: >> >> WARNING: MaxClients of 288 exceeds ServerLimit value of 256 servers, >> lowering MaxClients to 256.  To i

Re: [us...@httpd] apache2 versus httpd

2009-05-05 Thread Brian Mearns
On Tue, May 5, 2009 at 9:35 AM, Lester Caine wrote: > André Warnier wrote: >> >> Julius Thijssen wrote: >>> >>> How annoying, having to switch naming from CentOS/RHEL to Debian. >>> It causes me to work for hours changing httpd to apache2 (and back) >>> while migrating a linux server system. >>> C

Re: [us...@httpd] unsubscribe

2009-05-05 Thread Brian Mearns
On Tue, May 5, 2009 at 11:45 AM, tdavis wrote: > unsubscribe > > unsubscribe > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To un

Re: [us...@httpd] apache2 versus httpd

2009-05-05 Thread J Channel
Dude, why you going to Debian? =) 2009/5/5 Julius Thijssen : > How annoying, having to switch naming from CentOS/RHEL to Debian. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-05 Thread Jonathan Zuckerman
On Tue, May 5, 2009 at 5:26 AM, Raja Shekar CS wrote: > Hi, > > I tried an earlier version of apache (2.0.63) and also at simpler path. No > luck. > > Any other hints ? Pls let me know. > > Thanks, > Raj. > > On Mon, May 4, 2009 at 5:57 PM, Eric Covener wrote: >> >> On Mon, May 4, 2009 at 7:57 AM

[us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-05 Thread wayne
ahoy all, i have been trying/searching/etc unsuccessfully to do the following (what i believe to be) simple task: enable mass/dynamic virtual hosts, allowing each virtual host to be accessed via example.com AND www.example.com, without creating a VirtualHost directive for each host.

Re: [us...@httpd] unsubscribe

2009-05-05 Thread J. Greenlees
Brian Mearns wrote: > On Tue, May 5, 2009 at 11:45 AM, tdavis wrote: >> unsubscribe >> >> unsubscribe >> >> >> - >> The official User-To-User support forum of the Apache HTTP Server Project. >> See http://httpd.apache.org/userslis

[us...@httpd] A couple of questions about mod_authz_ldap

2009-05-05 Thread Edward Ned Harvey
I have mod_authnz_ldap_module loaded and working properly. Users can login and navigate to pages where they are granted "Require User" but when the user navigates to a page where they have no access, it prompts them again to login, and just keeps prompting for username & password again. I woul

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-05 Thread Arabinda Sahoo
Hi, Thanks for the more detailed reply. Yes, I think that Content-Encoding may be of a category of "Content-Type". So, it will be useful for me at lease try the mod_perl once. So, could you please let me know - what all you did? Steps for using mod_perl? And your sample code where you are setti

Re: [us...@httpd] Display Thumbnails in Folders

2009-05-05 Thread Krist van Besien
On Tue, May 5, 2009 at 6:35 PM, wrote: > Thank you Andre'.  I was hoping it would be a config file change.  I'll look > into phpthumbs or another program. I use a simple script called "scry" -> http://scry.org/ Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switz

[us...@httpd] renewing a certificate

2009-05-05 Thread Melanie Pfefer
Hi, I have tomcat server running as a backend server and apache running as front-end, both on the same machine In httpd.conf, I have: SSLProxyEngine On RewriteEngine On SSLProxyCACertificatePath /usr/local/apache/conf/ssl RewriteRule ^/(abc.*) https://host:port/$1 [P,L] I am getting an error