Solved

Redirect localhost to site

Posted on 2009-06-30
4
848 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 39

Accepted Solution

by:
abel earned 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CFFILE upload help 98 209
Microsoft Edge 9 111
Windows Server 2102 R2 - IIS 8.5 redirection assistance ? 7 73
How to really determine how many  files in hosting 2 35
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

751 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