How to make a display connected through the service cname

Using a single web hosting account to host multiple sites

How to make a display connected through the service cname

Postby kosiko » Thu Mar 05, 2009 4:20 am

Please tell me how to make a reflection of service attached to a subdomain via cname? That, in recruiting in your browser mysite.com / directiria / reflected connected service, without the redirect. And that was reflected in the address bar of mysite.com / directoria / but the information was out of service by using the connected cname.

Thanks.
kosiko
 
Posts: 4
Joined: Thu Mar 05, 2009 3:57 am

Postby richardk » Thu Mar 05, 2009 11:30 am

example.com/something to something.example.net? You would need mod_proxy (P) and mod_rewrite
Code: Select all
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^something/?$ http://something.example.net/ [P,L]
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby kosiko » Wed Mar 11, 2009 2:48 am

Would you please tell me whether it is necessary to make changes to httpd.conf? Thank you, great
kosiko
 
Posts: 4
Joined: Thu Mar 05, 2009 3:57 am

Postby richardk » Wed Mar 11, 2009 10:28 am

It depends on whether mod_proxy is enabled or not. Does it work? If it does not work, does it redirect if you replace P with R?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 1 guest

cron