absolute path problems


I just installed the new beta, and I am glad that it now works in sub-domains without any hacking.

However, on my server, I get a little weird behaviour, so if someone could help with the following path issue, I would much appreciate it.

I have an image gallery here: http://www.littlesnappers.com.au/showcase

With my current server set up, this domain is an add-on domain to my primary account, and as such, appears as a sub-domain under my primary account.

As such, it is available under the following address also: http://littlesnappers.chiefcodemonkey.com/showcase/

Is there a way to set the paths so that it will only display the address at: http://www.littlesnappers.com.au/showcase/ ?



  • You cant do that unless you own that domain.

    at least thats always been my understanding
  • I do own it, it is just that the littlesnappers domain appears as a sub-domain in my primary account.
  • o i see. i just clicked the links and the littlesnappers one is working isnt it? they look identicle to me.
  • right. it is only when I go to the admin pages that the url changes.

    anything to do with admin related features, it takes me back to the chiefcodemonkey url.

    It is most definately a paths issue.
  • hmm i do not know, sorry.
  • Have you tried editing the /zen/functions.php file? At the top you can do something like this:
    // functions.php - HEADERS NOT SENT YET!

    /*comment out this bit
    if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {
    define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
    } else {
    define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
    define('WEBPATH', '/showcase');

    Mine would not work until I did this!
  • I'll give that a go. The application works, but the admin functions use a different URL.
Sign In or Register to comment.