Re: [us...@httpd] installing apache on amazon ec2 instance

2009-11-23 Thread Krist van Besien
On Sat, Nov 21, 2009 at 1:04 AM, Daniel Shapiro wrote: > Running on Debian linux: > > I have been having trouble installing/running apache on an instance of an > amazon cloud ec2 machine. > Wondering if installation is badly done, or configs not set up, or if its a > function of the virtual natu

RE: [us...@httpd] Apache/2.2.8 authenticate LDAP AD SSL or TLS - ubuntu(debian)

2009-11-23 Thread daniel . goulder
Hi Simon I know exactly what you are referring to as I have attempted to configure the same authentication (I seem to remember it was with Apache 2.2.6). Unfortunately, when I tried it, LDAPS authentication with Apache resulted in segfaults. If you have managed to get things working over plai

[us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Hi All, I have the following rewrite rule .. RewriteRule products/specials(.*)(.*) /products/index.php?view=specials&$1=$2 [L] http://www.mysite.com/products/specials&filter=20 --> http://www.mysite.com/products/index.php?view=specials&filter=20= The problem is the trailing '=' I have also t

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
> I have the following rewrite rule .. > > RewriteRule products/specials(.*)(.*) > /products/index.php?view=specials&$1=$2 [L] > > http://www.mysite.com/products/specials&filter=20 > --> http://www.mysite.com/products/index.php?view=specials&filter=20= > > The problem is the trailing '=' > > I have

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Hi Phil, Thanks for the reply. I changed the rule to use a single (.*) but the result was the same. Here is an example of the url entered .. http://www.mysite.com/products/specials&filter=20 and expecting http://www.mysite.com/products/index.php?view=specials&filter=20 RewriteRule products/

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread Philip Wigg
> RewriteRule products/specials(.*) /products/index.php?view=specials&$1=$2 [L] > > The rewritten url is close but still has the trailing '='. What you've put there is different to what I suggested, since you've kept the =$2 at the end. I still have a feeling this won't be totally what you need th

Re: [us...@httpd] RewriteRule help please

2009-11-23 Thread bearsfoot
Thanks Phil. You just fixed my issue. Much appreciated. Philip Wigg wrote: > >> RewriteRule products/specials(.*) /products/index.php?view=specials&$1=$2 >> [L] >> >> The rewritten url is close but still has the trailing '='. > > What you've put there is different to what I suggested, sinc

[us...@httpd] Different load balancers on different ports on same apache http server

2009-11-23 Thread Onur Ağın
Hi, I am trying to define several load balancers each working on different ports on same apache http server. For example, calling the apache http server on 8001 should load balance on servers a and b, while calls made to port 8002 should be forwarded to c and d. How can I achieve this? Thanks...

Re: [us...@httpd] Different load balancers on different ports on same apache http server

2009-11-23 Thread Mark Watts
On Mon, 2009-11-23 at 15:57 +0200, Onur Ağın wrote: > Hi, > > > I am trying to define several load balancers each working on different > ports on same apache http server. > For example, calling the apache http server on 8001 should load > balance on servers a and b, while calls made to port 8002

Re: [us...@httpd] Different load balancers on different ports on same apache http server

2009-11-23 Thread Onur Ağın
Thanks for your reply, I get an Internal Server error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, ad...@ and inform them of the time the error occurred, and anything you m

[us...@httpd] Re: sending pre-compressed content through reverse proxy using mod_rewrite

2009-11-23 Thread Oliver Schoett
Haroon Rafique wrote: It would be nice if I could just override the 404 error though. I just did that using mod_asis. The .asis document can set its own headers, including status: Status: 200 OK Content-Type: image/gif Cache-Control: public, max-age=7200 Expires: Thu, 01 Jan

Re: [us...@httpd] Lots of page faults

2009-11-23 Thread Matus UHLAR - fantomas
On 16.11.09 20:17, Bostjan Skufca wrote: > I have noticed that Apache (2.2.14/linux) is causing a lot of page faults > while serving any request, be it static file or some application server > stuff. how much of memory is in the maching you are running it on? Page faults may mean that you are runn

[us...@httpd] strange random delays in a proxy configuration

2009-11-23 Thread André Warnier
Hi guys. A customer of ours have an internal Apache 2.2 server under Linux Debian. Static pages of their applications are located on their own server. Some URLs are proxied by their server to our own Apache 2.2 server (Linux Debian), through the Internet, by means of a line like ProxyPass /g

Re: [us...@httpd] Different load balancers on different ports on same apache http server

2009-11-23 Thread Onur Ağın
this should be a simple configuration, yet there are no articles about this this is how load balancers should work, either different IPs or different ports for load balanced ips, right? On Mon, Nov 23, 2009 at 4:12 PM, Onur Ağın wrote: > Thanks for your reply, > > I get an Internal Server

Re: [us...@httpd] [SOLVED] strange random delays in a proxy configuration

2009-11-23 Thread André Warnier
André Warnier wrote: Hi guys. A customer of ours have an internal Apache 2.2 server ... Never mind, I believe we found the problem, and it has nothing to do with the network or Apache or proxying per se. Sorry to have wasted your time if I did. It seems to be the application that is misbehav

[us...@httpd] webdav and permissions

2009-11-23 Thread LuKreme
I posted this on the OS X Talk list first, but haven't gotten a solution yet. I have a remote server (FreeBSD, apache 2.2.11_7) with a wordpress (current) install. The permissions on the main root folder for the install are: $ ls -lsa total 92 2 drwxr-xr-x 7 www wheel512 Nov 22 13:20 .

[us...@httpd] More RewriteRule issues ..

2009-11-23 Thread bearsfoot
Hi, I have the following rules in my .htaccess. RewriteRule products/(.*)/ /index.php?view=products&brand=$1 [L] RewriteRule products/(.*)/(.*)/ /index.php?view=productdetail&brand=$1&id=$2 [L] These are the urls the users see: http://www.mysite.com/products/product-name/ http://www.mysite.com

Re: [us...@httpd] Apache/2.2.8 authenticate LDAP AD SSL or TLS - ubuntu(debian)

2009-11-23 Thread Simon Walter
daniel.goul...@and.co.uk wrote: If you have managed to get things working over plain LDAP (port 389) then you are nearly there... All you have to do is change the protocol and port and Apache should do the rest I guess my problem is not with Apache. I'll post on the ldap mailing list to se

RE: [us...@httpd] Lightweight apache for fast proxying

2009-11-23 Thread Emmanuel Bailleul
> -Message d'origine- > De : mearn...@gmail.com [mailto:mearn...@gmail.com] De la part de Brian > Mearns > Envoyé : dimanche 22 novembre 2009 22:30 > À : users@httpd.apache.org > Objet : [us...@httpd] Lightweight apache for fast proxying > > I'm thinking of setting up apache as a fairly ri