Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Nov 27, 2010 9:57 am 
Offline
Newbie

Joined: Sat Nov 27, 2010 9:48 am
Posts: 2
Hi, I am a noob on Apache and Linux, but I know many of you guys here are experts.
Simply speaking, I want to let the Chinese people visit my app engine website by using the domain name.

Here is the details:
1. I have a VPS which has two websites already. I configured it according to this article:
Code:
http://library.linode.com/lamp-guides/ubuntu-10.04-lucid/


2.I have linked a domain name www.example.com to App Engine site example.appspot.com
and CNAME www.example.com to ghs.google.com.

3. The rest of the world can visit example.appspot.com by using www.example.com, but not the Chinese people. Because the Chinese government has blocked ghs.google.com.

4. I want to configure the Apache on my VPS so that the Chinese people can visit my app engine by domain name. After some search, I find the following code:
Code:
<VirtualHost *:80>
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://ghs.google.com/
ProxyPassReverse / http://ghs.google.com/
</VirtualHost>


I dont know where should I put this code. I am using Apache2 and Ubuntu 10.04.
And After I put this code, Can I still access my two websites normally on the VPS?

Thanks a lot for your time and attention!


Last edited by Visame on Sat Nov 27, 2010 3:02 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sat Nov 27, 2010 2:50 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
保重。秘密警察正在看著你 !o`y#% No carrier.

_________________
/ Peter


Top
   
 Post subject: Solved
PostPosted: Sat Nov 27, 2010 2:59 pm 
Offline
Newbie

Joined: Sat Nov 27, 2010 9:48 am
Posts: 2
I have already solved this problem.
Code:
<VirtualHost *:80>
ServerName example.com
ServerAlias  www.example.com
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://ghs.google.com/
ProxyPassReverse / http://ghs.google.com/
</VirtualHost>


Top
   
 Post subject: Re: Solved
PostPosted: Mon Nov 29, 2010 6:07 pm 
Offline
Junior Member

Joined: Sun Nov 07, 2010 10:36 pm
Posts: 33
Website: http://www.rent-matcher.com
Visame wrote:
I have already solved this problem.

...for the Chinese people, right?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group