rao Posted January 17, 2005 Posted January 17, 2005 I am trying to run one domain http://put_your_domain.com from an installation of EE on another domain http;//put_your_domain2.com. EE says this is possible but when I try it I get the following error message: Disallowed file extension I've checked the script a dozen times and don't think that is the issue. This is what I have: >$system_path = "http://put_your_domain2.com/systemopr/"; $template_group = "mainpage"; $template = "index"; $site_url = "http://put_your_domain1.com"; $site_index = "index.php"; $site_404 = ""; Have you experienced this issue before? Thanks Quote
TCH-Thomas Posted January 17, 2005 Posted January 17, 2005 Hello rao and Welcome to your extended family. Sorry, I dont know the answer to this, but I move this to the blogs section for better exposure. Quote
borfast Posted January 18, 2005 Posted January 18, 2005 Rao, welcome to the family! I'm with Thomas, here. I don't use EE, so I can't do much except to guess about the possible source of the problem: is EE expecting to have that $system_path in the same filesystem, so it can do something like include($system_path."/somefile.php");? If so, that's the source of the problem, because including a PHP file via an HTTP URL does not provide PHP with that file source code. Read my post on this thread to learn more about this. Quote
LisaJill Posted January 18, 2005 Posted January 18, 2005 Have you read hte docs on running multiple domains? the system_path has to be a relative filepath, not a URL. Please check out some of these links if you need help with EE: --Need help? Check out the User Guide and Knowledge Blog. ---Want more help and/or have info to contribute? Check out the ExpressionEngine Wiki. and/or post back here for more assistance. =) Quote
rao Posted January 18, 2005 Author Posted January 18, 2005 Hi LJ, thanks for the advice. I've gone through all of the EE documentation. My snag is determining the relative path from domain 1 to domain 2. TCH is helping with that. I'll try again when I have that info. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.