Redirect localhost to site

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
LVL 14
john-formbyAsked:
Who is Participating?
 
abelCommented:
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
 
abelCommented:
At ==> Add

(my poor English  ;-)
0
 
john-formbyAuthor Commented:
Thanks for the fast response, that works great.

John
0
 
abelCommented:
;)

tx for the follow-up and the pts. Glad it works!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.