Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

we have to domains registered on one server, with only one domain able to be certified. As we need ssl for trasmitting formular-data on the other domain, we came to the conclusion to use the other domain for transaction. Here is our setting:

domainabc.tld (ssl) links to the folder (/html/)abc/ on the server domainxyz.tld links to the folder (/html/)xyz/ on the server

domainabc.tld/xyz/ should redirect to (/html/)xyz/

We tried to do it with 301 Redirect

RedirectMatch 301 /xyz/(.*) ../../xyz/$1

as well as

RedirectMatch 301 /xyz/(.*) ../xyz/$1

but ended in 500 internal server error both ways. Any idea how to manage the problem?

Where are the index files for the two domains located? If you go to domainabc.tld/index.php for example, in which folder is the php located? Same for domainxyz as well. –  Ravi Thapliyal Aug 16 '13 at 11:51
comments disabled on deleted / locked posts

migration rejected from stackoverflow.com Aug 16 '13 at 12:33

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Sathya Aug 16 '13 at 12:33

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – Sathya
If this question can be reworded to fit the rules in the help center, please edit the question.