Member
Member
molko   08-05-2009, 17:47
#1

Hi

I am fairly new to PHP/Internet. I am using Zen Photo and loving it. I have two questions though

Firstly

  1. when i upload my photo gallery onto the internet, the URL is http://www.mywebsite.co.uk/zenphoto/ How do i make my zenphoto gallery site at http://www.mywebsite.co.uk ? Currently if i do this i have to click on the zenphoto link.

  2. URL's for my albums are like http://www.mywebsite.co.uk/zenphoto/index.php?album=christmas08 Is there a way to make zenphoto not display the full URL in the address bar ?

Thanks so much for any help.

Administrator
Administrator
acrylian   08-05-2009, 18:00
#2
  1. Just install Zenphoto directly in the root instead of a folder and run setup again.
  2. I do not understand exactly what you are asking. Something must be shown. If your server supports modrewrite you can enable that on the backend options then the url from above will look like http://www.mywebsite.co.uk/zenphoto/christmas08.

Hope that helps.

Member
Member
molko   08-05-2009, 18:09
#3

Hi

http://www.mywebsite.co.uk/zenphoto/christmas08. is precisly what i want. I will look at the modrewrite

I will also look at re-installing to the root. Could i just ftp zenphot to the root of my domain ?

Also, do you know how invalidat the password authentication ? When my family logon on after the have entered the login/password once, then the next day they can logon WITHOUT any logon credential required. How can i make zenphote require the logon details again ?

THANKS

Member
Member
Ipstenu   08-05-2009, 19:33
#4

If you move it to root (and yes, you can FTP it), you'll need to change your .htaccess file.

There's a line like this:
`

!!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!


RewriteBase /zenphoto


Just removezenphoto` and move the contents of the zenphoto folder to root. Though I always suggest subfolders, if only for organizations sake Then you can have domain.com/photos and domain.com/blog and so on and so forth.

I moved mine from domain.com/zenphoto to gallery.domain.com and it worked perfectly.

Administrator
Administrator
acrylian   08-05-2009, 19:44
#5

Actually running setup will change the .htaccess file, too.

Member
Member
sbillard   08-05-2009, 23:50
#6

Zenphoto uses cookies to store logon credentials. You would need to clear the family member's logon credential. One possibility would be to change the definition of COOKIE_PESISTENCE to a shorter timeframe.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.