Is there any workaround to the ~user_name/zenphoto/index.php path
i.e.
http://www.mydomainname.com/~user_name/zenphoto/index.phpI notice that in some implementations e.g. the zenphoto demo , there is no '~'
but in my installation and other examples it is present.
It makes the http address tidier if the '~user/' is not there and its preferable not have my user name in the path.
I could not find any help in the archives/search forum
thanks
Comments
the ~user_name/path is created by the zenphoto php scripts on the menu items and links.
AS AN EXAMPLE...
The zenphoto main index.php script is in:
http://www.my_domain.com/zenphoto/index.php
and the index gallery page loads perfectly.
When i click on any on the menu item e.g 'archives' I get:
"http://www.my_domain.com/~my_username/zenphoto/index.php?p=archive" in the address bar
the '~my_username' seems to prefix the path.
It works perfectly finebut I was wanting to know why zenphoto was creating this dynamic path.
Is this a security issue that is created my the zenphoto scripts?
On browsing the forum I have seen other users with this format in their examples.
Is it to do with the type of server that zenphoto is on?
Mine is a unix based server.
This worked an absolute treat.
A 10 minute fix.
I uncommented the WEBPATH line in zp-config.sys to:
define('WEBPATH', '');
and its works
hurray
I am using zpgalleriffic 1.4 and it looks great
thanks again