homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

2 servers, subdomain mod rewrite question

 5:09 pm on Apr 25, 2006 (gmt 0)


I have some problems setting mod rewrite for my server.

Currently I have 'subdomain.domain.com/'.This subdomain is another server that host all the files.

What I want is that all files on subdomain server would look like this:

Currently I am using a simple redirect:
'Redirect /subdomain/files [subdomain.domain.com...]

it is working ok, but the problem is I had to add another server that hosts the files and I want the link structure exactly the same.

Kind Regards



 12:01 am on Apr 26, 2006 (gmt 0)

I think you'd be happier if you set up the main domain as a proxy for the two subdomains. See Apache mod_proxy [httpd.apache.org].



 11:10 am on Apr 27, 2006 (gmt 0)


Do you know for any tutorials about this?


 1:42 pm on Apr 27, 2006 (gmt 0)

I just figured out that proxy wont help because it will also increase bandwoth on the first server. The addition of the second server is to decrease the bw.

How do other big sites handle big traffic?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved