[users@httpd] Need help with tricky mod_cache configuration

2011-05-01 Thread SpliFF
I'm trying to configure mod_cache in Apache 2.2.17 to act as a transparent cache for an application server but I have some special requirements whose overall purpose is to cache "public" access but bypass the cache when users are logged in. I'm setting a cookie "NOCACHE=on" when the user logs in

Re: [users@httpd] 403 error on Default Directory

2011-05-01 Thread Eric Covener
Use the PT flag if you rewrite in vhost context and the substitution is a url instead of a filesystem path. Url2file is the default, but when the substance prefix doesn't exist it treats it as url2url. PT forces it On May 1, 2011 9:52 PM, "J. Stephens" wrote: > I think I found the real issue. > >

Re: [users@httpd] 403 error on Default Directory

2011-05-01 Thread J. Stephens
I think I found the real issue. In the vhosts it has RewriteEngine on RewriteCond %{HTTP_HOST} ^test.remcycle.net [NC] RewriteRule ^/(.*)$ /$1 RewriteCond %{HTTP_HOST} ^www.test.remcycle.net [NC] RewriteRule ^/(.*)$ /$1 After removing this and restarting the web

Re: [users@httpd] 403 error on Default Directory

2011-05-01 Thread Eric Covener
On Sun, May 1, 2011 at 5:13 PM, J. Stephens wrote: > I know I should add the root directory due to security, but I am getting > this error. > website error.log: > > Thu Mar 24 19:23:05 2011] [error] [client 98.226.168.246] client denied by > server configuration: / > > I guess I need to be asking

Re: [users@httpd] 403 error on Default Directory

2011-05-01 Thread J. Stephens
I know I should add the root directory due to security, but I am getting this error. website error.log: Thu Mar 24 19:23:05 2011] [error] [client 98.226.168.246] client denied by server configuration: / I guess I need to be asking why it needs access to the root of the computer and not just

Re: [users@httpd] userdirs inaccessible after upgrade

2011-05-01 Thread Yehuda Katz
On Sun, May 1, 2011 at 3:29 PM, Allen Seelye wrote: > I upgraded from ubuntu 9.10 to 10.10. Now my userdirs are inaccessible. > > The access log reads: > - > "GET /~user HTTP/1.1" 403 506 "-" > ---

[users@httpd] userdirs inaccessible after upgrade

2011-05-01 Thread Allen Seelye
I upgraded from ubuntu 9.10 to 10.10. Now my userdirs are inaccessible. The access log reads: - "GET /~user HTTP/1.1" 403 506 "-" - The error log shows this err

Re: [users@httpd] Updating mod_ssl -- need to recompile Apache et al?

2011-05-01 Thread René Fournier
Yeah I think you're right, messing with Apple's Apache isn't a good idea. The mod_ssl in Apple's config appears to be signed. On 2011-05-01, at 10:46 AM, Yehuda Katz wrote: > On Sun, May 1, 2011 at 10:53 AM, René Fournier wrote: > I need to update Apache's SSL to the latest version (1.0.0d). Is

Re: [users@httpd] Updating mod_ssl -- need to recompile Apache et al?

2011-05-01 Thread Yehuda Katz
On Sun, May 1, 2011 at 10:53 AM, René Fournier wrote: > I need to update Apache's SSL to the latest version (1.0.0d). Is it > necessary to recompile all of Apache, or can I simply rebuild mod_ssl? > (Reason is that I'm using OS X Server 10.6.7 and want to continue to enjoy > the benefits of Apple

Re: [users@httpd] REQUEST_URI multiple wildcard pattern

2011-05-01 Thread Lee Goddard
Make sure /files does actually exist, otherwise Apache will be applying the rewrite rule to whatever your defined ErrorDocument is, if any. Check the documentation on httpd.apache.org for RewriteLog and RewriteLogLevel - they can be VERY helpful. Make sure you remove those directives when you

[users@httpd] Updating mod_ssl -- need to recompile Apache et al?

2011-05-01 Thread René Fournier
Hi, I need to update Apache's SSL to the latest version (1.0.0d). Is it necessary to recompile all of Apache, or can I simply rebuild mod_ssl? (Reason is that I'm using OS X Server 10.6.7 and want to continue to enjoy the benefits of Apple's magical Server Admin and other web-related services,