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] url re-writing
Date Mon, 03 Feb 2003 06:50:34 GMT
Hi,

this is not complicated and at http://httpd.apache.org/docs/misc/rewriteguide.html you should
find all the information you need.
Something like
 RewriteRule ^/something(.*) http://bahbah.com/something$1
should do it.
If you want to proxy or redirect you have to add [P] or [R] at the end of the line.

Jurgen


On Mon, 03 Feb 2003 13:54:01 +1100
Justin French <justin@indent.com.au> wrote:

> Can someone point me to a decent article?
> 
> I want to rewrite all foofoo.com/something/page.html URLs to
> bahbah.com/something/page.html, via a .htaccess file in a directory.
> 
> In other words
> 
> foofoo.com/ exists
> foofoo.com/something/page.html doesn't exist
> replace/rewrite foofoo.com with bahbah.com
> 
> 
> TIA,
> 
> Justin French
> 
> 
> ---------------------------------------------------------------------
> 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