httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hughbanks <jam...@mikro-data.net>
Subject Re: [users@httpd] mod_rewrite
Date Tue, 31 Aug 2004 01:42:02 GMT
Try doing this
>
> #       RewriteEngine on
> #       RewriteCond %{HTTP_HOST}  ^josepha-a-nagy-jr.homelinux.org$ 
> [NC]
> #       RewriteRule "(.*)"      "http://www.joseph-a-nagy-jr.us$1" [R]

--James Hughbanks
Mikro-Data Engineering Dept.
support@mikro-data.net
1-866-457-6287
http://www.mikro-data.net

On Aug 30, 2004, at 8:57 PM, Joseph A. Nagy, Jr. wrote:

> So I need to redirect requests for < 
> http://joseph-a-nagy-jr.homelinux.org >
> to < http://www.joseph-a-nagy-jr.us >. Apparently I was doing it wrong 
> ( see
> below) but for the life of me I cannot figure out how to do it 
> correctly.
>
> #       RewriteEngine on
> #       RewriteCond %(josepha-a-nagy-jr.homelinux.org)" 
> "|^www.joseph-a-nagy-jr.us$" [NC,OR]
> #       RewriteRule "(.*)"      "http://www.joseph-a-nagy-jr.us$1" [R]
>
> I've read Chapter 5 of the Apache Cookbook, checked out the Apache 
> Pocket
> Reference and the mod_rewrite guide in the Apache manual.
>
> The above rule just gives me the following error message:
>
> "Redirection limit for this URL exceeded. Unable to load requested 
> page.
> This may be caused by cookies that are blocked."
>
> They are commented out atm so that I can still access the URLs in 
> question.
>
> -- 
> AIM: pres CTHULHU | ICQ: 18115568 | Yahoo: pagan_prince
> Jabber: DarkKnightRadick@(jabber.org|amessage.at) | Libertarian @ Large
> PGP: 0x642F7BDA | < 
> http://groups.yahoo.com/group/tennesseans-for-badnarik/ >
> < http://mc-luug.homelinux.org/mailman/listinfo/mc-luug >
>


Mime
View raw message