Subdomains

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Subdomains

Post by neel_basu »

Hello Would You Please Tell me
=======================
I am Using Apache Server In My PC
And Its http://localhost
How Can I Use http://www.localhost/ To Be Redirected To http://localhost/www/
Editing conf Files or Using .htaccess or Doing Something Else
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

You could do this by using a Rewrite Rule... Consult your apache manual and lookup the functions mod_rewrite have to offer you...
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Post by neel_basu »

timvw wrote:You could do this by using a Rewrite Rule... Consult your apache manual and lookup the functions mod_rewrite have to offer you...
Hello Would You Please Explain Me
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

neel_basu wrote:
timvw wrote:You could do this by using a Rewrite Rule... Consult your apache manual and lookup the functions mod_rewrite have to offer you...
Hello Would You Please Explain Me
Yes, timv was referencing this http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

P.S. I have to ask, why do you capitalize every word? :?
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Post by neel_basu »

Sorry Its My Mania/Habit
Post Reply