another hide real url posting...

Using a single web hosting account to host multiple sites

another hide real url posting...

Postby gabel » Thu Oct 11, 2007 4:23 am

i want have a server A with http://some.tld/dir1/dir2/ on which the content of Server B with http://someother.tld/dir/dir2 shall be shown, but not the URL of Server B.. mod_rewrite is enabled, but i mod_proxy is not shown in the phpinfo();

i tried already with examples of other threads but couldnt get it working.. redirecting works fine, but i want to hide the real url

i tried this one, which leads to an 403

i'll get an 404
Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*) http://www.domain.com/dir/cms/ [P,L]


just redirects but the url shouldn't change
Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*) http://www.domain.com/dir/cms/ [QSA,L]
gabel
 
Posts: 2
Joined: Thu Oct 11, 2007 3:59 am

Postby richardk » Fri Oct 12, 2007 11:11 am

Are the domains on the same physical server? If it's not, you'll need mod_proxy so you'll need to talk to your host.

If it is on the same server, you could create (or ask your host to create, if you don't have access to the server/<VirtualHost> configuration) an Alias or a Symbolic Link.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby gabel » Fri Oct 12, 2007 2:42 pm

they are not on the same server, and the server administration won't change it, i'll bet on... thx for the information...
gabel
 
Posts: 2
Joined: Thu Oct 11, 2007 3:59 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 24 guests

cron