0

I have a server which is having several applications. lets say server is abc.corp.com it is having application xyz pqr mno etc. Today the applications are accessed as

abc.corp.com/xyz abc.corp.com/pqr abc.corp.com/mno

Out of these i want application xyz to open just by typing abc.corp.com and rest of the applications opening normally.

My Server is apache and i am having php applications inside it. I have read alias can help me do that. But how exactly i can achieve it is not clear.

4

1 回答 1

2

请将这段代码放在 http://abc.corp.com/index.php位置)的index.phpabc.corp.com

<?php
header location('http://abc.corp.com/xyz');
die();
?>
于 2012-07-10T06:02:01.693 回答