Web Servers on Unix and Linux - RewriteRule help please

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > November 2006 > RewriteRule help please





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RewriteRule help please
Mike

2006-11-15, 7:21 pm

This should be easy, but I'm missing something. In my local
environment I want (and have) a DNS alias 'wiki' that points
to one of my linux boxes. When a user enters 'wiki' in the
address bar of the browser the user is pointed to the main,
home page on the linux box. I want a RewriteRule (I think
that's what I want) that converts http://wiki to
http://inside/twikib/bin/veiw/Main/Webhome.

Here are the two rules I tried that did not work:

RewriteRule ^http://wiki/?$ http://inside.pointwise.com/twikib/...ew/Main/WebHome
RewriteRule ^/?wiki/?$ http://inside.pointwise.com/twikib/...ew/Main/WebHome

httpd 2.0.46
Red Hat Enterprise Linux ES release 3 (Taroon Update 5)
firefox 2.0

Mike
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com