[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where is benh's page?



On Sun, 2001-09-16 at 14:20, Ethan Benson wrote:

    > Does anybody know where benh's kernel and driver page is?
    
    http://master.penguinppc.org/~benh
    
    all user pages are only on master.

Maybe it might be a good idea to use mod_rewrite to redirect all the
~something/blah.html -requests from www.penguinppc.org directly to
master.penguinppc.org, or at least have the 404 page mention about it?
At least Ben's page is linked from a gazillion places.

We could fix this with Apache's mod_rewrite. The only problem is that
mod_rewrite stuff is painful enough to qualify into the Debian
definition of pain. Or as the Apache docs state:
	
	"With mod_rewrite you either shoot yourself in the
	foot the first time and never use it again or love it for the 
	rest of your life because of its power."

And I am not yet sure which group I belong to :-)

OH! Wow! I found this from the Apache documentation, so things turn out
easy after all:

------- 8< cut here --------
	
Move Homedirs to Different Webserver
     
   Description:
          A lot of webmaster aksed for a solution to the following
          situation: They wanted to redirect just all homedirs on a
          webserver to another webserver. They usually need such things
          when establishing a newer webserver which will replace the old
          one over time.
          
   Solution:
          The solution is trivial with mod_rewrite. On the old webserver
          we just redirect all /~user/anypath URLs to
          http://newserver/~user/anypath.
          
RewriteEngine on
RewriteRule   ^/~(.+)  http://newserver/~$1  [R,L]
          
------- 8< cut here --------

Those probably go to your http_conf, or whatever your setup is in
www.penguinppc.org.

Tuomas

-- 
:: :: Tuomas Kuosmanen  :: Art Director, Ximian :: ::
:: :: tigert@ximian.com :: www.ximian.com       :: ::



Reply to: