homepage Welcome to WebmasterWorld Guest from 23.20.19.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
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
zinko




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

Hi

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:
'domain.com/subdomain/files'

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

 

jdMorgan




msg:1499916
 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].

Jim

zinko




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

Thanks.

Do you know for any tutorials about this?

zinko




msg:1499918
 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