On 2011-08-04 11:35, Ashwin Kesavan wrote:
Jeroen Geilman wrote:
On 2011-07-30 08:28, vishesh kumar wrote:
Hi Members

suppose i have a site https://abc.com and i want if anyone write https://abc.com/xyz.com , it should redirected to https://xyz.com which is one same server.

Redirect Permanent /xyz.com/ https://xyz.com/

Server wide certificate installed on server .

No.
If the domains hosted on this server are not in the same parent zone (as you have just shown) you cannot use one certificate for both domains.


Look at the mod_rewrite and the directive RedirectPermanent in httpd documentation to know how to use the above two to achieve the objective you want. It is pretty simple and starightforward. I have done that many times myself. I want you8 to learn that instead of spoon feeding you. Look up for the above two keyword in httpd doc site and you will have all that is required to do it. Please have the habbit of searching on any search engine like google for example to know how to do something before askign here. Ask only if that didnt help. Please read up "how to ask smart questions" by esr in internet and enlighten yourself.

HTH


And you're telling me this because ?

--
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to