httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: [users@httpd] hi! ( rewrite )
Date Tue, 28 Jan 2003 00:35:40 GMT
Hi,

a request URI starts with a '/', so ^any_word$ shouldn't match anything.
You better write:
RewriteRule ^/(.*)$ ...

Else please give us more details.

Jurgen


On Tue, 28 Jan 2003 00:59:27 +0100
Uxio Faria <ufaria@prisacom.com> wrote:

> 
> somebody knows something about this?!!!!
> 
> El Sáb 25 Ene 2003 05:21, escribió:
> > I wanna configure apache with mod_rewite to redir a "http://any_word" to
> > "http://www.any_web.com" but with proxy rewrite.
> >
> > i tried this with:
> >
> > RewriteCond %{REQUEST_URI}   ^any_word$
> > RewriteRule ^/(.*)          http://www.any_web.com/$1 [R,P]
> >
> > But this only rewrite the first page, and the links of the page apears
> > broken.
> >
> > How can i make this?
> >
> > Sorry for my bad english.
> >
> > Best regards.
> >
> > ---------------------------------------------------------------------
> > 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
> 
> -- 
> ---------------------
>  Uxio Faria Giraldez 
> ---------------------
>   SISTEMAS PRISACOM
>  ufaria@prisacom.com 
>   TLF: 91 353 7770
> ---------------------
> 
> ---------------------------------------------------------------------
> 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

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