Apache->virtual host-> redirectPermanent : Browser in Firefox on mac keeps repeating the /domain/simplasearchform.html over and over again

Posted on 2006-06-01
Last Modified: 2012-05-05
I have the following code in my httpd.conf for virtualhost because I live to permanently redirec to or to
Here is what I have  
<VirtualHost IP:80>
RedirectPermanent /
When I type in into the browser, I get
In other words, the /domain/simplesearchform in RedirectPermanent repeats forever in the browser.

How can I make it repeat only once (what do I need to change in the above code) so when I type in in the browser, i get instead of the ending part /domain/simplesearchform.html repeating forever.
Question by:mshirazi1
    1 Comment
    LVL 27

    Accepted Solution

    I think you're looking for RedirectMatch:

    RedirectMatch 301 ^/$

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now