ZenphotoCMS Forum
absolute path problems - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: absolute path problems (/thread-220.html)



absolute path problems - nathan - 2006-01-15

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.




absolute path problems - icco - 2006-01-16

You cant do that unless you own that domain.

at least thats always been my understanding




absolute path problems - nathan - 2006-01-16

I do own it, it is just that the littlesnappers domain appears as a sub-domain in my primary account.




absolute path problems - icco - 2006-01-16

o i see. i just clicked the links and the littlesnappers one is working isnt it? they look identicle to me.




absolute path problems - nathan - 2006-01-16

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.




absolute path problems - icco - 2006-01-23

hmm i do not know, sorry.




absolute path problems - biffta - 2006-01-23

Have you tried editing the /zen/functions.php file? At the top you can do something like this:




absolute path problems - nathan - 2006-01-26

I'll give that a go. The application works, but the admin functions use a different URL.