1 | $db_url = 'mysql://username:password@localhost/databasename'; |
1 2 3 | <?php symlink( '/home/Cpanel_User_Name/public_html/', 'sub-domain' ); ?> |
1 2 3 4 | <?php symlink('/home/myuserdirectory/goodsite/','bettersite'); symlink('/home/myuserdirectory/goodsite/','bestsite'); ?> |
1 | # RewriteBase/ |
1 2 | RedirectMatch 301 ^/sub-domain/(.*)$ http://sub-domain.yoursite.com $1 |
1 2 3 | RewriteBase / RedirectMatch 301 ^/bettersite/(.*)$ http://bettersite.goodsite.com/$1 RedirectMatch 301 ^/bestsite/(.*)$http://bestsite.goodsite.com/$1 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |