httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Different ProxyPass protocols within a VirtualHost for certain files
Date Thu, 18 Dec 2003 05:40:36 GMT
Fabio Corazza wrote:
> RewriteEngine On
> RewriteCond %{REQUEST_URI} .*\.pdf$
> RewriteRule ^/.*$1 [P]

My eyes may be sleepy, but shouldn't the first argument there be "^/(.*)"?
$1 expands to the first captured sub-pattern, but there are currently no
sub-patterns in the pattern.

Otherwise, your config look OK to me, in principle, but as I haven't
attempted anything similar, I cannot say for sure.

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message