Member
Member
nathan   2006-01-15, 10:59
#1
Hi,

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/ ?

Thanks.
Member
Member
icco   2006-01-16, 02:14
#2
You cant do that unless you own that domain.

at least thats always been my understanding
Member
Member
nathan   2006-01-16, 03:10
#3
I do own it, it is just that the littlesnappers domain appears as a sub-domain in my primary account.
Member
Member
icco   2006-01-16, 04:09
#4
o i see. i just clicked the links and the littlesnappers one is working isnt it? they look identicle to me.
Member
Member
nathan   2006-01-16, 12:45
#5
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.
Member
Member
icco   2006-01-23, 07:30
#6
hmm i do not know, sorry.
Member
Member
biffta   2006-01-23, 23:50
#7
Have you tried editing the /zen/functions.php file? At the top you can do something like this:
<?php
// functions.php - HEADERS NOT SENT YET!

require_once("config.php");
/*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!
Member
Member
nathan   2006-01-26, 10:00
#8
I'll give that a go. The application works, but the admin functions use a different URL.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.