httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] Redirect, Rewrite and php.ini
Date Tue, 03 Jul 2007 03:27:50 GMT
On 02/07/07, Senén de Diego <senen@electrodh.com> wrote:
> The real url I'm trying to redirect is
> http://www.electrodh.com/herramientas/sincronizar1.jnlp
> and I want to redirect it to
> http://www.electrodh.com/herramientas/sincronizar.php
>
> The content of the herramientas/.htaccess file is:
> RewriteEngine On
> RewriteBase /herramientas
> RewriteRule ^sincronizar1\.jnlp$ sincronizar.php
>
> The response to the requests is Page not found.

Is there a reason for your use of RewriteBase? Try either removing
that altogether, or adding a slash to the end so it becomes
RewriteBase /herramientas/
Otherwise, drop the initial anchor (the ^) from the rule, like
RewriteRule sincronizar1\.jnlp$ sincronizar.php

HTH
-- 
noodl
PS. Top posting is evil, please quit doing it!

---------------------------------------------------------------------
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