Re: [us...@httpd] Environment variable problem with mod_rewrite and mod_headers

2009-04-07 Thread Karim Zaki
So all rewrite rules are processed before RequestHeader regardless of their order in the Apache configuration? Why is that the case? Is there somewhere that this behavior is documented. I need to document a justification for this behavior. On 4/6/09 6:49 PM, Nick Kew n...@webthing.com wrote:

Re: [us...@httpd] Apache memory hog

2009-04-07 Thread André Warnier
Eric Covener wrote: On Mon, Apr 6, 2009 at 7:54 PM, Sean Conner s...@conman.org wrote: It was thus said that the Great Eric Covener once stated: On Fri, Apr 3, 2009 at 10:08 AM, Adrian Marsh adrian.ma...@ubiquisys.com wrote: Am trying MaxMemFree 3(30mb? - pure guess number). Far too

Re: [us...@httpd] Apache memory hog

2009-04-07 Thread Eric Covener
On Tue, Apr 7, 2009 at 7:31 AM, André Warnier a...@ice-sa.com wrote: The wasted stack space doesn't shows up as a high VSZ, but not RSS. Eric, as written that note above is rather cryptic.. Maybe removing double/triple negatives would help ? ;-) Lost all meaning in an edit, strike the

RE: [us...@httpd] Apache memory hog

2009-04-07 Thread Adrian Marsh
Thanks guys for the help so far... Lets just pretend for a moment that I don't know much about Apache, pthreads or pre-forks in any specific detail... how would I find out what threading model is being used? Ulimit does return 10240 on the command line. Should I put the ulimit -s 2048 into

Re: [us...@httpd] apache proxy for different domains

2009-04-07 Thread Davide Bianchi
Lars Bachmann wrote: It is working fine but I don't know how to setup the redirect for the different top level domains. Use a combination virtualhosts + proxy NameVirtualHost *:80 VirtualHost *:80 ServerName first.domain.com ProxyPass ... /VirtualHost VirtualHost

[us...@httpd] apache proxy for different domains

2009-04-07 Thread Lars Bachmann
hi, i want to setup the apache as a proxy. The proxy can be accessed by different top level domains. (www.mysite.de, www.mysite.com, www.mysite.fr, ...) now i want apache to work as an reverse proxy and delegate the http requests to the real webserver. So i followed the documentation and

RE: [us...@httpd] Apache 2.2 certificate directory

2009-04-07 Thread Hugh E Cruickshank
From: Prasanna Ram Venkatachalam Sent: April 6, 2009 17:00 As far as i remember there is no such thing as standard for putting certificates though i suggest not to put certificates anywhere in DocumentRoot(s) (just to avoid extrernal access). Apart from that any localsystem location should

[us...@httpd] All Apache Workes in Logging State :S

2009-04-07 Thread GavinW
Hi there, I've just experienced some very strange behaviour on one of our Apache Webservers. We're running Apache 2.2.11 on RedHat EL5. The server-status page reported 255 slots in use, on a website that's not currently being used. On checking deeper, it appeared that all the workers were

Re: [us...@httpd] Exclude subdirectory from LDAP Authentication

2009-04-07 Thread as2
Creating a new Directory entry for the subdirectory that contained only Satisfy any accomplished this for me. The parent dir is LDAP auth'd and the subdir is open. -- View this message in context:

[us...@httpd] Re: Apache memory hog

2009-04-07 Thread Dan Poirier
Adrian Marsh adrian.ma...@ubiquisys.com writes: Lets just pretend for a moment that I don't know much about Apache, pthreads or pre-forks in any specific detail... how would I find out what threading model is being used? apachectl -V -- Dan Poirier poir...@pobox.com

Re: [us...@httpd] Apache memory hog

2009-04-07 Thread John Hudak
On Tue, Apr 7, 2009 at 9:22 AM, Adrian Marsh adrian.ma...@ubiquisys.com wrote: Thanks guys for the help so far... Lets just pretend for a moment that I don't know much about Apache, pthreads or pre-forks in any specific detail... how would I find out what threading model is being used? The

[us...@httpd] no permission to access an AliasMatch Directory ?

2009-04-07 Thread Kevin Kempter
Hi All; I have a laptop running Fedora10 x86_64. I started the default config and I can go to http://localhost and I see the expected Fedora Test Page. I want to install a web site in /stage/webpages/csweb (/stage is a separate file system) so I did this: 1) I checked to make sure

Re: [us...@httpd] no permission to access an AliasMatch Directory ?

2009-04-07 Thread Eric Covener
On Tue, Apr 7, 2009 at 3:39 PM, Kevin Kempter ke...@kevinkempterllc.com wrote: Hi All; AliasMatch ^/csweb(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ /stage/webpages/csweb$1 Directory /stage/webpages/csweb Options Indexes AllowOverride None Order allow,deny Allow from all /Directory I

[us...@httpd] Mass Virtual Hosting + SSL

2009-04-07 Thread Ed Lazor
Apache 2.2 on OS X 10.5.6 Is there a way that Apache can be configured to automatically map domains to directories with SSL enabled, using a single IP, and using a common SSL cert? And is there a way to do this with hosted domains being able to have their own rewrite configurations stored in

Re: [us...@httpd] Query string encoding

2009-04-07 Thread Clodoaldo Pinto Neto
2009/4/3 André Warnier a...@ice-sa.com: Clodoaldo Pinto Neto wrote: I want to rewrite a url to a query string like this: from http://example.com/x+ to http://example.com/var=x%2B or from http://example.com/x%2B to http://example.com/var=x%2B Using: RewriteRule ^(/([\w-()+]+))?/$ /?var=$2

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-07 Thread Brian Mearns
On Tue, Apr 7, 2009 at 9:04 PM, Ed Lazor edla...@internetarchitects.biz wrote: Apache 2.2 on OS X 10.5.6 Is there a way that Apache can be configured to automatically map domains to directories with SSL enabled, using a single IP, and using a common SSL cert?  And is there a way to do this

[us...@httpd] apache fails to show jpg and not find files

2009-04-07 Thread deh
I wanted to setup my web pages that are on verizon.net on my local network with a machine running Suse 11.1/apache2. I downloaded the web pages with 'wget -a -k' into a directory and set the directory/root and directory for the apache .conf file to the directory holding 'index.html' in the

Re: [us...@httpd] Mass Virtual Hosting + SSL

2009-04-07 Thread Ed Lazor
Despite common quotations to the contrary, you /can/ successfully use Name-based Virtual Hosts with SSL. The caveat is that you have to use the same certificate and all the same SSL settings for all the virtual hosts, but that seems to be exactly what you're asking for. The first vhost that

[us...@httpd] HTTP Headers appear in HTML page

2009-04-07 Thread Marius Hanganu
Hello, I'm facing this weird issue on a gentoo machine with apache 2.2 + mod_proxy + tomcat. Some .htm pages (not all) contain - right on top of the page - a dump of the HTTP headers. Something like: HTTP/1.1 0 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID= This is not because of

Re: [us...@httpd] HTTP Headers appear in HTML page

2009-04-07 Thread Prasanna Ram Venkatachalam
Its really wierd! I think 'Apache-Coyote' is the server header from Tomcat and if the header is from Apache, it shud be 'Apache'. Since u say that tomcat serve the pages correctly. I guess u are using mod_proxy to redirect the page to tomcat. Am i right? If thats the case theres is something in