Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Redirect localhost to site

Posted on 2009-06-30
4
Medium Priority
?
851 Views
Last Modified: 2012-05-07
Hi,

I am running WAMP Server and when I go to http://localhost it takes me to the WAMP page.  How would I get it to redirect so when I go to localhost, it takes me to http://localhost/joomla?

Thanks,

John
0
Comment
Question by:john-formby
  • 3
4 Comments
 
LVL 39

Accepted Solution

by:
abel earned 2000 total points
ID: 24744102
At the following two lines to your Apache's http.conf inside the VirtualHosr or inside the global config (if you do not have a Virtual Host) and check whether the following line is not commented out:

LoadModule rewrite_module modules/mod_rewrite.so

-- Abel --

RewriteEngine On	
RewriteRule ^/$ /joomla/ [R]

Open in new window

0
 
LVL 39

Expert Comment

by:abel
ID: 24744104
At ==> Add

(my poor English  ;-)
0
 
LVL 14

Author Comment

by:john-formby
ID: 24744220
Thanks for the fast response, that works great.

John
0
 
LVL 39

Expert Comment

by:abel
ID: 24744229
;)

tx for the follow-up and the pts. Glad it works!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

963 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