<?php
header("location:http://domain.com/cgi-bin/dir1/dir2");
exit;
?>
If you put this file in the DocumentRoot of domain.com, the URL http://domain.com will be automatically redirected to http://domain.com/cgi-bin/dir1/dir2
We explain every GNU/Linux command by examples in this blog!!!!!!!!!!!!
<?php
header("location:http://domain.com/cgi-bin/dir1/dir2");
exit;
?>
No comments:
Post a Comment