Re: [EMAIL PROTECTED] FoldersFirst issues

2007-10-08 Thread Dan Ryan
Cool, I figured it out :D I was adding the section to my vhost, but adding it outside of the vhost section took care of things. Good thing for google :) Cheers! Dan On 10/8/07, Dan Ryan <[EMAIL PROTECTED]> wrote: > > Thanks for that. I tried it without the + previously, though it gave > me t

[EMAIL PROTECTED] [Help] How to change the content of response on the fly�� �

2007-10-08 Thread DuYushui
Hey Experts,User can write content handlers for the Apache response phase. My purpose is to write an Apache module to intervene all response right before the response write back to client. Here is an example how we can do this using mod_perl: sub handler { my $r = shift; my $footer = "somet

Re: [EMAIL PROTECTED] FoldersFirst issues

2007-10-08 Thread Dan Ryan
Thanks for that. I tried it without the + previously, though it gave me the same effect. Would it be helpful if I pasted my entire httpd.conf file? Cheers, Dan On Oct 8, 2007, at 9:08 PM, Joshua Slive wrote: On 10/8/07, Dan Ryan <[EMAIL PROTECTED]> wrote: Hello All, I'm setting up an A

Re: [EMAIL PROTECTED] FoldersFirst issues

2007-10-08 Thread Joshua Slive
On 10/8/07, Dan Ryan <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm setting up an Apache mirror, and I'm finding it difficult to get > the FolderFirst directive for IndexOptions to function correctly. > I'm using httpd 2.2.6 and here's the snippet from my httpd.conf: > IndexOptions Fancy

[EMAIL PROTECTED] FoldersFirst issues

2007-10-08 Thread Dan Ryan
Hello All, I'm setting up an Apache mirror, and I'm finding it difficult to get the FolderFirst directive for IndexOptions to function correctly. I'm using httpd 2.2.6 and here's the snippet from my httpd.conf: ServerAlias www.apache.domain.com ServerAdmin [EMAIL PROTECTED] Do

Re: [EMAIL PROTECTED] Why does my rewrite not work?

2007-10-08 Thread Michael McGlothlin
Thanks, that seems to be what I was overlooking. Converts https://www.plumbersstock.com/product.html?partNumber=128&pathKey=33245 to https://www.plumbersstock.com/product.html?partNumber=128 just for Google and Yahoo. For others' reference this is the finished code that seems to work for me:

Re: [EMAIL PROTECTED] Why does my rewrite not work?

2007-10-08 Thread Joshua Slive
On 10/8/07, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > RewriteCond %{HTTP_USER_AGENT} ^.*[Googlebot|Yahoo!\ Slurp].*$ In a regex [charclass] matches any single character in charclass. In other words, that expression will match any user agent string that contains a "G", or an "o", or an "l",

Re: [EMAIL PROTECTED] mod_rewrite rewrites but changes uri to filepath

2007-10-08 Thread Tomek Lorek
Ok guys, I've got the final solution! :) It is the RewriteBase, not the PT flag. RewriteEngine On RewriteBase /~username/somesite/ RewriteRule . Best regards, teel 2007/10/7, Joshua Slive <[EMAIL PROTECTED]>: > On 10/7/07, Tomek Lorek <[EMAIL PROTECTED]> wrote: > > Hi there! > > I'm having

[EMAIL PROTECTED] Why does my rewrite not work?

2007-10-08 Thread Michael McGlothlin
RewriteCond %{HTTP_USER_AGENT} ^.*[Googlebot|Yahoo!\ Slurp].*$ RewriteCond %{QUERY_STRING} ^(.*)([\?|&]pathKey=\d*)(.*)$ RewriteRule (.*) $1?%1%3 [R,L] I'm using Apache 2.2.6 running on Fedora Linux 6 with kernel 2.6.20. My intent is to rewrite any request from Google or Yahoo so that if the URL

[EMAIL PROTECTED] mod_cband apache2 debian system

2007-10-08 Thread Hermidio A. Rodriguez Chavez
hellow friends i tried configure mod_cband in apache2 but it appear to no work for my configuration, let me explain you what i want to do scenario: i have and external network & like limit the download traffic for this external network and open all traffic to my internal network, here's my

[EMAIL PROTECTED] httpd child processes die, never respawn

2007-10-08 Thread Ryan Marrs
Hey guys, I've got an issue. I'm running apache on a CentOS 5 box. It's a dual processor box that's not being taxed at all (highest load I've seen is about 10%), but for some reason, when I start httpd, it starts the number of servers specified in the httpd.conf, as follows: StartServers

Re: [EMAIL PROTECTED] mod_cache/mod_proxy, and the 'server' header.

2007-10-08 Thread Vincent Bray
On 08/10/2007, Ian P. Christian <[EMAIL PROTECTED]> wrote: > I'm proxying requests to a backend server, and using mod_cache to cache. > > I've noticed on the first request, I get the Server header from my > backend, and every request that hits cache shows the frontend Server > header, as below: Pr

Re: [EMAIL PROTECTED] APR and APR-UTIL

2007-10-08 Thread Vincent Bray
On 08/10/2007, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > hi > > sorry to insist on this thread: > > bash-3.00# ./httpd -V > Server version: Apache/2.0.59 > Server built: Oct 8 2007 19:15:01 > Server's Module Magic Number: 20020903:12 > Server loaded: APR 0.9.12, APR-UTIL 0.9.12 > Compiled usi

[EMAIL PROTECTED] mod_cache/mod_proxy, and the 'server' header.

2007-10-08 Thread Ian P. Christian
I'm proxying requests to a backend server, and using mod_cache to cache. I've noticed on the first request, I get the Server header from my backend, and every request that hits cache shows the frontend Server header, as below: srv-08 ~ # curl -o /dev/null -D - "http://..."; -s HTTP/1.1 200 OK Dat

[EMAIL PROTECTED] APR and APR-UTIL

2007-10-08 Thread Melanie Pfefer
hi sorry to insist on this thread: bash-3.00# ./httpd -V Server version: Apache/2.0.59 Server built: Oct 8 2007 19:15:01 Server's Module Magic Number: 20020903:12 Server loaded: APR 0.9.12, APR-UTIL 0.9.12 Compiled using: APR 0.9.12, APR-UTIL 0.9.12 Architecture: 32-bit Is there a way to

Re: [EMAIL PROTECTED] mod_vhost_alias conflicting with VirtualHost containers

2007-10-08 Thread Vincent Bray
On 08/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi people, I have a problem with mod_vhost_alias conflicting with > VirtualHost containers. This is the relevant part of my conf Try something like this: NameVirtualHost *:80 ServerName dummy VirtualDocumentRoot /what/ever Serv

[EMAIL PROTECTED] mod_vhost_alias conflicting with VirtualHost containers

2007-10-08 Thread pavel . stratil-jun
Hi people, I have a problem with mod_vhost_alias conflicting with VirtualHost containers. This is the relevant part of my conf Listen 127.0.0.1:80 Listen 127.0.0.1:443 UseCanonicalName Off Options FollowSymLinks AllowOverride All Order allow,deny Allow from all ScriptA

[EMAIL PROTECTED] keep-alive and proxy_ajp

2007-10-08 Thread Peng, Thierry
Hi I have a question concerning mod_proxy_ajp and the keep-alive mechanism. Our setup is: client (web via https) - firewall - apache 2.2.4 - firewall - JBoss 4.0.5 After a certain timeout, defined in the firewall, the connection will be dropped. my htpd-ssl.conf (snippet)

RE: [EMAIL PROTECTED] Re: Struggling with Apache 2.0.54 & mod_rewrite

2007-10-08 Thread Axel-Stephane SMORGRAV
Did not test this, but if you are looking for compactness, try this out: RewriteEngine On RewriteCond %{HTTP_USER_AGENT} CFNetwork [OR] RewriteCond %{HTTP_USER_AGENT} AppTapp RewriteRule ^iphone-apps(-test)?/$ iphone-apps$1/repo.cache [L] RewriteRule ^iphone-apps(-test)?/$ iphone-apps/info/ [L]

RE: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Axel-Stephane SMORGRAV
I do something similar. I rewrite the URL path prefixing it with /cache or /nocache and do a recursive request to the _same_ vhost in which I have "cacheenable disk /cache". Then I strip the prefix before passing it on to the backend -ascs -Message d'origine- De : Vincent Bray [mailt

Re: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Vincent Bray
On 08/10/2007, Janne Kario <[EMAIL PROTECTED]> wrote: > The problem is that mod_rewrite and mod_disk_cache don't appear to well > together and mod_disk_cache seems to ignore all that mod_rewrite does. I've found that to be a problem too. In my case, I used a reverse proxy on the rewrite rule to se

[EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Janne Kario
Hi. We are using a combination of mod_disk_cache and mod_rewrite in front of our portal to achieve setup where 1) Logged in administration users see live uncached view of the site 2) Normal users see a version served from the Apache (2.2.3) cache (120 sec delay) The problem is that mod_rewr

[EMAIL PROTECTED] kerberos module for apache in winxp

2007-10-08 Thread loredana loredana
I need some help installing the kerberos module for apache 2.2.6 on windows xp. So far I've been able to find some documentation on how to install in on linux but I need to install it on windows. I've downloaded the mod_auth_kerb 5.3 for windows but has no documentation attached. Any help would b