Index and album URL

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.

Comments

  • acrylian Administrator, Developer
    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.
  • molko Member
    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
  • Ipstenu Member
    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 remove `zenphoto` 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.
  • acrylian Administrator, Developer
    Actually running setup will change the .htaccess file, too.
  • 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.
Sign In or Register to comment.