[very basic .htaccess Question] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



very basic .htaccess Question

(Click here to view the original thread with full colors/images)



Posted by: starkmann

I know this is like the most basic question about .htaccess but I don't know the answer and when I google it I either am not understanding the answer or I'm not getting the answer I am looking for.

I have an account on a webhost and four domains. The host will not direct the domains for me, I have to upload my own .htaccess file to direct the domains. Until I do they all dump into the root.

So at root I have the content for adam.com
I have a folder for Beth.org
I have a folder for Charlie.net and Charlie.com, the same folder for both.

So how do I write the .htaccess file to let adam.com keep hitting the root while sending Beth.org to that folder and and both Charlie sites to that folder.

I appreciate your help or a link or a book recommendations. Thanks.



Posted by: Kubel

[url]http://articles.techrepublic.com.com/5100-3513-6042903.html[/url]

You will need to tweak that code a bit to make it work how you want, but it should point you in the right direction.



Posted by: starkmann

I tried using that but it didn't quite get me there. It did help me get where I needed to go. Found the answer
[url]http://forum.modrewrite.com/viewtopic.php?t=3048[/url]





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon