On Wed, 14 May 2008, James Louis wrote: > Hello All, > > I'm trying to get an url redirect as such: > > https://this.site.here to https://this.site.here/this Someone spotted a typo. I also wonder if this sets up a looping problem. If someone tries to go to daimler.scholarshipamerica.org/whatever They are redirected to daimler.scholarshipamerica.org/daimler/whatever But if they try to go directly to daimler.scholarshipamerica.org/daimler/whatever They will be redirected to daimler.scholarshipamerica.org/daimler/daimler/whatever And so on. I would have expected something like this instead: daimler.scholarshipamerica.org/whatever redirects to www.scholarshipamerica.org/daimler/whatever Mike > but nothing seems to be working. Does anyone know why this would be? > > RewriteEngine on > RewriteCond %{HTTP_HOST} ^daimler\.scholarshipameria\.org$ > RewriteRule (.*) https://daimler.scholarshipamerica.org/daimler > RewriteBase / > RewriteCond %{REQUEST_URI} ^(.*/.+) > RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?companyID=DFSTR [L] > > The second rewrite does work. I'm expecting the first to put the format of the URL into something catchable by the second. > > Thanks, > > Jim > > -- > James Louis > Computer Consultant > http://technogichida.endoftheinternet.org > http://www.usalone.com/blogvoices.php?Cheney%20Impeachment%3F > ~vote for Alix~ http://www.wanderlist.com/lists/lists.cgi?listid=985#vote > ===[making technology work]======== > > "Any man who can drive safely while kissing a pretty girl is simply not giving the kiss the attention it deserves." > - Albert Einstein > > <a href="http://xl2.crossloop.com/techn0gichida.id?type=email" target="_blank"><img border = "0" src="http://xl2.crossloop.com/images/badge-sm-gray.jpg" alt="Get help from James Louis!" > /></a> >