httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
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 ^/.* http://www.site.com/$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.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message