Re: [users@httpd] Images not displaying in localhost

2011-11-13 Thread Ben Timby
Typo: RGB. On Nov 13, 2011 3:45 PM, "Ben Timby" wrote: > > This is likely a problem with the color settings in the jpg. Open in a graphics editor and convert to RBG. Correction: RGB.

Re: [users@httpd] Images not displaying in localhost

2011-11-13 Thread Ben Timby
This is likely a problem with the color settings in the jpg. Open in a graphics editor and convert to RBG.

Re: [users@httpd] 100% cpu with double slash in beginning of URI (Linux64)

2011-10-24 Thread Ben Timby
Svenne, When troubleshooting issues like this, I often use strace to attach to the pid of the program in questions. A lot of times seeing what the process is doing when pegged at 100% CPU will lead you to the solution. The nice thing about strace is you can attach to the already running process a

Re: [users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Ben Timby
On Tue, Oct 4, 2011 at 8:51 PM, Devraj Mukherjee wrote: > Is it possible to configure Apache to ask a script to perform the > authentication / authorization but allow Apache to serve the content? Yes, with mod_wsgi even. http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms

Re: [users@httpd] Modular .htaccess files

2011-08-15 Thread Ben Timby
On Mon, Aug 15, 2011 at 12:22 PM, Jeroen Geilman wrote: > In a shared HOSTING environment, you're absolutely correct. > The OPs stated goal had nothing to do with shared hosting, although he > generalized the request to extend that far. > > Perhaps I should have made more plain that I am in no way

Re: [users@httpd] Modular .htaccess files

2011-08-15 Thread Ben Timby
I think the one gem in this email is the following: On Mon, Aug 15, 2011 at 7:48 AM, Jeroen Geilman wrote: > On 2011-08-15 12:34, lists.sebast...@abwesend.de wrote: >> If one puts all these things into one big file, it can become confusing >> and hard to maintain. It would be easier to keep track

Re: [users@httpd] Sharing mod_proxy_balancer session data with multiple virtual hosts

2011-07-28 Thread Ben Timby
On Thu, Jul 28, 2011 at 10:10 AM, Jonathan Knight wrote: > I'm building a load balancer using apache.  We have to support both SSl and > non-SSL sessions and the problem I'm trying to solve is how to get both > virtual hosts to share session data so that a when a connection is sent to > the non-SS

[users@httpd] HTTP PUT to truncate a file.

2011-07-13 Thread Ben Timby
I am working with WebDAV on apache and I have figured out how to use the Content-Range header to append to a file. Request 1: HTTP/1.1 PUT /file Host: node0 Content-Length: 1 a * /file now: a Request 2: HTTP/1.1 PUT /file Host: node0 Content-Range: 1-4/* Content-Length: 3 aaa * /file now: aaa

Re: [users@httpd] strange encoded requests coming in to my server - like ' "\x80F\x01\x03\x01" ' ??

2011-05-31 Thread Ben Timby
On Tue, May 31, 2011 at 10:08 AM, Jason Vas Dias wrote: > I guess this is just opportunist hosts trying to connect to port 80 / port > 443 with a garbage protocol ? > If so, why are log entries made in the access log and not in the error log ? Jason, this looks like a host connecting to port 443

Re: [users@httpd] Large file downloads certification, do not use PHP, and use apache authentication

2011-05-16 Thread Ben Timby
2011/5/16 孙俊 : > I think this situation is common Look into mod_xsendfile. You can do the authentication using PHP, then instead of sending the file, simply send a header to apache, which will cause it to send the file on your behalf. --

Re: [users@httpd] Proxing to multiple backend servers(not load balancer)

2011-04-03 Thread Ben Timby
On Sat, Apr 2, 2011 at 2:07 AM, Raino Kolk wrote: > My problem is how to split original request and send this parallely to two > different system. I don't think apache is the right tool for the job. However iptables might be. http://www.bjou.de/blog/2008/05/howto-copyteeclone-network-traffic-usi

Re: [users@httpd] Active Active Data center and stickyness

2011-03-30 Thread Ben Timby
On Wed, Mar 30, 2011 at 10:17 AM, Mohit Anchlia wrote: > Appreciate all the input! Those things were already part of my list > that are mentioned in this email. > > What I was trying to point was that we are really in restrictive env > where server A can't be changed and 3rd party may not agree to

Re: [users@httpd] Active Active Data center and stickyness

2011-03-30 Thread Ben Timby
On Wed, Mar 30, 2011 at 12:12 AM, Mohit Anchlia wrote: > thanks! F5 supports the cookies and is recommended way but the problem > is server A is not managed by us and may be very difficult to > convience them to enter cookie (changing code). Is it possible to > embed cookies for non-browser client

Re: [users@httpd] Active Active Data center and stickyness

2011-03-29 Thread Ben Timby
On Tue, Mar 29, 2011 at 10:56 PM, Mohit Anchlia wrote: > Yes but when we receive request it is not from the end user but other > host. For eg: > > User ->  server A (prepares file) -> (http request that need load > balancing) Our host > > So it's server A actually making the request not the user b

Re: [users@httpd] Active Active Data center and stickyness

2011-03-28 Thread Ben Timby
On Mon, Mar 28, 2011 at 8:30 PM, Mohit Anchlia wrote: > Apache 2: > > We use apache 2 and we have 2 data centers. Problem is that both data > centers are active. So if User uploads a file for eg: in site A that > User can be directed to site B. Files are kept in sync asynchronously. > And it could

Re: [users@httpd] mod_apache_snmp

2011-03-23 Thread Ben Timby
On Wed, Mar 23, 2011 at 8:23 PM, Peter Janovsky wrote: > is anyone using mod_apache_snmp?  i notice there hasn't been active > development since 2006.  i'm interested in determining the total number of > bytes currently served at a given moment?  is mod_apache_snmp the way to go, > if not which di

Re: [users@httpd] SSH authentication: Multiple authentication dialog windows popping up

2011-02-14 Thread Ben Timby
Nick, this does not sound right to me. Here is why: If your main HTML was protected by login, the user would be prompted to authenticate themselves before receiving the HTML. This would keep the browser from making further requests until authentication occurred. It sounds like in your situation,