Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 21st July 2006, 16:47
edge edge is online now
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default need some help with a .htaccess rewrite rule..

I'm trying to do the following with a .htaccess rule (apache2), but till now with no luck.

test-a.website.com should show website.com/test-a/index.html
test-b.website.com should show website.com/test-b/index.html

I would also (if possible) to still show "test-a.website.com" as URL, and not redirect it to "website.com/test-a/inde.html" (same thing for test-b.website.com)

I guess it's done with a rewrite rule.. but how?

Thanks for any info..
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig, Drupal, and .htaccess jon335 General 23 16th November 2008 14:22
gallerie and rewrite fpl Installation/Configuration 20 14th February 2007 16:21
wordpress MU and ISPconfig .htaccess isues palkat General 4 18th October 2006 12:57
.htaccess never executed galmiche Server Operation 2 4th June 2006 22:44
Drupal and Apache Rewrite Rules andre Server Operation 10 4th May 2006 22:04

All times are GMT +2. The time now is 00:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.