[EMAIL PROTECTED] Some mod_rewrite insight

2008-04-11 Thread Steve Finkelstein
Hi all, Had a quick question with some rules that I'm having a bit of difficulty with. Essentially I'm hosting a web application which follows the MVC design pattern which relies on some mod_rewrite ninja in order to setup proper internal routing. The base of the ruleset that gets the applicatio

[EMAIL PROTECTED] Re: Logging mod_deflate compression ratios

2008-03-14 Thread Steve Finkelstein
ge in savings, clearly. /sf On 3/14/08, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to log actual ratios of Compression that mod_deflate is > responsible for handling. I've followed the guidelines on Apache's > site an

Re: [EMAIL PROTECTED] Logging mod_deflate compression ratios

2008-03-14 Thread Steve Finkelstein
ter a cleared cache. I'm confident mod_deflate is working, I'd just love to see some statistics using CustomLog and that's where the problem is. /sf On 3/14/08, Eric Covener <[EMAIL PROTECTED]> wrote: > On Fri, Mar 14, 2008 at 4:34 PM, Steve Finkelstein <[EMAI

[EMAIL PROTECTED] Logging mod_deflate compression ratios

2008-03-14 Thread Steve Finkelstein
Hi all, I'm trying to log actual ratios of Compression that mod_deflate is responsible for handling. I've followed the guidelines on Apache's site and have the following directives setup: DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio SetOutputF

[EMAIL PROTECTED] Re: Yay for mod_rewrite woes.

2008-02-22 Thread Steve Finkelstein
Thanks Joshua. I figured what I was doing is inefficient and there might be a better "algorithm" to lazy trigger the Rewrite versus checking every single request. But since it's just one particular page where this will be in effect, I'm not as concerned. Cheers, /s

[EMAIL PROTECTED] Yay for mod_rewrite woes.

2008-02-22 Thread Steve Finkelstein
This is a very rudimentary concept and is typically done in a cookie cutter fashion. However, I can't seem to recall the proper syntax/conditions to get it to function as required. Essentially I need to enable SSL in one URL and one URL only, one that ends in login.php. So I wrote a rule like this

Re: [EMAIL PROTECTED] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Steve Finkelstein
Thanks all, makes more sense now. :-) - sf On 8/30/07, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On 8/30/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm trying to redirect users to my base URL upon a 404 submission. > Accordi

[EMAIL PROTECTED] ErrorDocument 404 redirect with server response code issue

2007-08-30 Thread Steve Finkelstein
Hi all, I'm trying to redirect users to my base URL upon a 404 submission. According to Apache's documentation, the method I'm using is not sufficient: Note that when you specify an ErrorDocument that points to a remote URL (ie. anything with a method such as http in front of it), Apache will sen

[EMAIL PROTECTED] Directory mapping and logic inquiry

2007-07-30 Thread Steve Finkelstein
Hi all, This is more of a conceptual question than actual syntax or the like. I'm currently revising an application which should contain one documentroot for each user. The catch is, the application should connect to a user specific backend database based on who's logging in. My thoughts are

Re: [EMAIL PROTECTED] How to serve images from memory?

2007-07-03 Thread Steve Finkelstein
Would putting the images on ramdisk work? Quick google query resulted in this which might be useful: http://www.vanemery.com/Linux/Ramdisk/ramdisk.html HTH, - sf Norman Peelman wrote: Cathy Murphy wrote: In Apache, is there a way to serve images from memory instead of disk? -Cathy www.nach

Re: [EMAIL PROTECTED] Application using Apache and URL schema inquiry

2007-07-01 Thread Steve Finkelstein
ndsay Hausner wrote: -Original Message- From: Steve Finkelstein [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 11:06 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Application using Apache and URL schema inquiry Hi all, Hope this forum is appropriate for my dilemma.

[EMAIL PROTECTED] Application using Apache and URL schema inquiry

2007-06-28 Thread Steve Finkelstein
Hi all, Hope this forum is appropriate for my dilemma. I'm currently looking for an elegant solution to the following problem. I have an application where each individual user logs into http://username.foo.com to access their vhost/own document root. Unfortunately, when you have a great deal of u

[EMAIL PROTECTED] mod_rewrite inquiry

2007-06-20 Thread Steve Finkelstein
Hi all, I have a URL that looks like the following: http://foo/confirm/[EMAIL PROTECTED]/6w5vdn799umk01k5aaz0col.html I'm trying to have it rewrite to the following: RewriteEngine On RewriteRule ^confirm/([^/]*)/([^/]*)\.html$confirm.php?lmusr=$1&lmconfrm=$2 [R,L] so that the end result looks

Re: [EMAIL PROTECTED] Internet Explorer 7 only downloads half of file

2007-05-28 Thread Steve Finkelstein
Hello - I've seen something similar in a previous development environment I had participated in setting up. In particular, the culprit was a .css file, however that was most likely coincidence and irrelevant as the Content Type of the file was not at fault. What happens if you try to wget/curl th

Re: [EMAIL PROTECTED] Apache 2.0.52 - mod_auth_ldap (ldap_simple_bind_s() failed)

2007-05-23 Thread Steve Finkelstein
Please disregard this. yum update decided to pull one of these on me: drwx-- 2 root root 4096 May 19 16:27 ssl.crt after enough greping through strace logs on apache children procs, I was able to determine that a stupid permissions issue was the root of my problems. Cheers, - sf Steve

[EMAIL PROTECTED] Apache 2.0.52 - mod_auth_ldap (ldap_simple_bind_s() failed)

2007-05-23 Thread Steve Finkelstein
Hi all, I'm running Apache 2.0.52 with mod_auth_ldap on a CentOS 4.5 box. PAM is properly configured to authenticate against LDAP and I can successfully query the LDAP server. Now when I'm trying to authenticate against LDAP with mod_auth_ldap I receive the following in my error_log: [Wed May 23