mod_ldap not caching
On Wed, Jul 7, 2010 at 9:18 AM, west alto wrote:
Sounds like a match for the issue I described. Try to purge mod_ldap directives from your vhosts.
On Wed, Jul 7, 2010 at 9:18 AM, west alto wrote:
Sounds like a match for the issue I described. Try to purge mod_ldap directives from your vhosts.
On Wed, Jul 7, 2010 at 8:56 AM, west alto wrote:
If it’s a truncated page with just the title, it is a recently fixed defect. Using mod_ldap directives in your vhosts triggers it, which you may be able to avoid.
actually I just put the directive into the httpd.conf file and i see that the log file is being created upon restart of apache.
But when I invokde the rewrite nothing gets logged into it.
Any guidance is greatly appreciated.
Please excuse my ignorance I went though that link but I still don’t understand how it needs to be defined.
Do I have to put it in httpd.conf? Could you please give me an example?
Please excuse my ignorance I went though that link but I still don’t understand how it needs to be defined.
Do I have to put it in httpd.conf? Could you please give me an example?
I added the the RewriteLog entry but no matter which location i specify I get the following error:
“C:/Program Files/Apache Software Foundation/Apache2.2/scripts/.htaccess: RewriteLog not allowed here”
What am I missing here?
Igor,
Thank you for the response. (Sometimes one need to be told RTFM!)
So I gather you would use the max=n parameter on each BalancerMember in your cluster. Now, what happens when each member in the cluster has reached their max and a new connection comes in? Or what happens if a request that has been pinned to a given server (through stickysession), and that server has reached its maximum number of connection? In that case, I don’t want users to get a 503, but rather the request to be queued. Is this what mod_proxy does by default?
Alex
On Mon, Jul 5, 2010 at 7:22 PM, Igor Cicimov wrote:
I’m using mod_status with ExtendedStatus On to see real-time request info, but I want to expand the output in two ways:
1) I want to see the HTTP Host: header that was sent with the request, and 2) I want to see all bytes of the first line of the request, not just the first 63 characters, which is what the current output is truncated to. (If not all bytes, then, a much higher limit like 1024 bytes.)
I can’t see anything at http://httpd.apache.org/docs/2.1/mod/mod_status.html describing how to expand the output in this way. If there’s no way to do it by simply changing some configuration options, then what is the least painful way to get there from here? I was planning on hiring someone off of VWorker.com to modify the code if necessary (along with step-by-step instructions on how to replace the re-compiled code) to display the HTTP Host: header and the full first line of the request. Is there an easier way?
-Bennett
Hi. mod_proxy_html 3.1.2 with Apache 2.2.3. mod_proxy_html seems to be mangling the output in some of my HTML links.
My configuration is:
ProxyHTMLLinks a href ProxyHTMLLinks area href ProxyHTMLLinks base href ProxyHTMLLinks blockquote cite ProxyHTMLLinks del cite ProxyHTMLLinks form action ProxyHTMLLinks head profile ProxyHTMLLinks iframe src ProxyHTMLLinks img src longdesc usemap ProxyHTMLLinks input src usemap ProxyHTMLLinks ins cite ProxyHTMLLinks link href ProxyHTMLLinks object classid codebase data usemap ProxyHTMLLinks q cite ProxyHTMLLinks script src for
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup onfocus onblur onload onunload onsubmit onreset onselect onchange
AddOutputFilter proxy-html html cgi php
ProxyHTMLInterp On ProxyHTMLExtended On ProxyHTMLDoctype XHTML Legacy ProxyHTMLLogVerbose Off SetEnv PROXY_HTML_FORCE On
ProxyHTMLURLMap / /bzr/${BRANCH}/ Vc
For the most part this works as intended, prepending e.g. /bzr/trunk when BRANCH=trunk onto my absolute link targets. But links in some events are getting mangled. In particular, the following tag:
gets rendered as:
So /bzr/trunk is getting prepended to the link target, which is good, but at the same time, one instance each of the letters i and d are also getting replaced by /bzr/trunk. The result is a mangled, broken link.
Any help would be much appreciated. Right now I’m looking into using mod_sed to rewrite around this problem.
Thanks, Andrew.
On 07/06/2010 08:28, Richard Hector wrote:
I answered something like this on the fbsd mailing list a year ago: http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202133.html
hope it helps ..
Hi all,
I’m getting really confused – the docs on FastCGI seem a little skimpy, and other resources are how various people may have made it work, and I haven’t managed to get a configuration that works yet.
My objective is to run a particular PHP site as a particular user, for security reasons. My understanding is that I can’t use SuExec for mod_php, so I have to use CGI or FastCGI, of which FastCGI is faster
It seems that FastCgiExternalServer keeps everything nicely separated, so that’s the choice I’m going with at the moment.
Now is the point at which I get lost, because there are so many different configs thrown up by google.
Some use Alias directives, some use AddType and Action directives; some use real-looking paths for the first argument to FastCgiExternalServer and others don’t.
I’m pretty sure I got to a point where everything worked, except that a url with no path didn’t return index.php – the DirectoryIndex directive appeared to have no effect, and php tried to run with no content.
Unfortunately I don’t have that config working at the moment; I’ve hacked around a bit aimlessly and lost track – and anyway, I should really replicate it without client details before posting a config on here.
So what I guess I’m asking for is a simple config that works, of which I can ask explanations of the bits I don’t understand – I think that’s the real problem with all the bits I’ve found, is that there are minimal explanations of _why_ a particular directive is used, and why.
I’ll try to get an experimental config up a bit later (hometime here now).
Oh – the other thing is I need to support this in a Name based VirtualHost – and only one. The other sites should continue to work on mod_php, if that’s possible.
I’m running Debian Lenny (Apache 2.2.9, PHP 5.2.6).
That’s probably a big fail for ‘Asking smart questions’ – sorry
Hopefully I’ll be more coherent tomorrow, but I figured I’d take advantage of my timezone difference from most of the world by getting this out there now
Thanks,
Richard