Jump to content

How can you give an Addon domain full access?


pentan

Recommended Posts

I have a primary site.  On that site I have a blog/journal directory set up.  I wanted to give customers direct access to it with a dedicated domain name different than the primary one.  I did this and set it up as an Addon to the directory on the primary site.  It goes there with no problems, but the php scripts I have there make calls to files on the root of the primary site and it can't seem to access them directly, only by making an http:// call.  Am I missing something?

Thanks,
Michael
If its in the same file system on the same server you can just refer directly to the file, even though its on a differend domain.  Eg ../send.php

However if your running it with a full http:// addrerss it should work.  Perhaps you could post your code?  It could also be that your server is not likeing the multiple connections if your not 'vertual hosting' but is unlikly!
I've actually narrowed it down a bit where the problem is.  You are correct for straight PHP.  However in one place I have to use an HTML call to another page.  I have to pass a variable to it and then use the results.  I don't think I can use AJAX for this but I'll look into it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.