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
  #1  
Old 21st July 2006, 15:47
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 147 Times in 128 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
 

Bookmarks

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 13:22
gallerie and rewrite fpl Installation/Configuration 20 14th February 2007 15:21
wordpress MU and ISPconfig .htaccess isues palkat General 4 18th October 2006 11:57
.htaccess never executed galmiche Server Operation 2 4th June 2006 21:44
Drupal and Apache Rewrite Rules andre Server Operation 10 4th May 2006 21:04


All times are GMT +2. The time now is 19:36.


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