htaccess rewrite URLs - repost

IN PROGRESS
Bids
19
Avg Bid (USD)
$12 / hr
Project Budget (USD)
$8 - $15 / hr

Project Description:
I have a domain, called domain.com.

I want a htaccess file to be modified, in order to support subdomains.

Right now i have something like this:

http://www.domain.com/sample-page - will load sample-page.php

http://domain.com redirects to http://www.domain.com. I want to maintain this.

Now I want something like this:

http://en.domain.com/sample-page - will load sample-page.php?lang=en
http://fr.domain.com/sample-page - will load sample-page.php?lang=fr

Also, en, fr subdomains should be set in htaccess. If someone enters a fake subdomain test.domain.com should go to http://www.domain.com

I will provide current htaccess to winning bidder.

Hours of work: 1 Project Duration: < 1 week Skills required:
Apache, Linux, PHP, System Admin
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire linuxfreak1985
$15 / hr
Hours: 10 hr/ week
Hire jsr3
$15 / hr
Hours: 2 hr/ week
$15 / hr
Hours: 2 hr/ week
$16 / hr
Hours: 2 hr/ week
Hire rahulsng1
$8 / hr
Hours: 1 hr/ week
$15 / hr
Hours: 1 hr/ week
$12 / hr
Hours: 1 hr/ week
$12 / hr
Hours: 10 hr/ week
$8 / hr
Hours: 2 hr/ week
Hire Rajkumar9788
$14 / hr
Hours: 3 hr/ week