Auto subdomain problem

Last post 11-24-2011, 7:26 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  11-23-2011, 4:10 AM 71592

    Auto subdomain problem

    When editor used in automaticaly created subdomain, it fails to find right image and files paths.
    Fo example. Main domain http://domain.com, subdomain http://woman.domain.com. When it working on subdomain, it finds path to upload and look up pictures like domain.com/Images instead of woman.domain.com/Images
     
    I was tryind to change PHP variable $_SERVER['DOCUMENT_ROOT'] but it makes no changes. Can you help me?
  •  11-23-2011, 5:39 AM 71595 in reply to 71592

    Re: Auto subdomain problem

    Hi blohher,
     
    The main domain and the sub domain should be the separate site. So you need to set up two copies of php editor for your sites. One for the main one for the sub.
     
    By the way, the domain license only support one domain name. Mean that, if you set the domain to your main domain name, then it can not use for your sub domain site.
     
    Regards,
     
    Ken
  •  11-23-2011, 7:18 AM 71596 in reply to 71595

    Re: Auto subdomain problem

    The main domain and the sub domain should be the separate site.
     It is separate site. On server path looks like /data/www/woman.domain.com/,
    but cuteeditor some how detects main domain /data/www/domain.com/ and trying to upload images to it
  •  11-24-2011, 7:26 AM 71614 in reply to 71596

    Re: Auto subdomain problem

    Hi blohher,
     
    As I said above, if you need to use the php editor on your sub domain, you need to deploy a new copy on it. You can not deploy the php editor on the main domain and use it on the sub domain. It will get wrong.
     
    Regards,
     
    Ken
View as RSS news feed in XML