Re: [Hampshire] gallery2.

Top Page

Reply to this message
Author: David Webster
Date:  
To: testermike, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] gallery2.
On Fri, Aug 8, 2008 at 12:51 PM, Mike Burrows <testermike@???> wrote:
> my install file is in
> /usr/share/gallery2
>
> http://localhost/usr/share/gallery2/install
>
> returns a 404 error.:(
>
> should I copy the install file over to /var/www ?


The gallery2 directory needs to be web accessible, not just the
install file. Either that means you should move the whole directory to
your server's web folder (e.g. /var/www, DocumentRoot in httpd.conf)
or what I'd do is: create a symlink there that points to the gallery2
install:

ln -s /var/www/photos /usr/share/gallery2

and then you can access it via: http://localhost/photos/

FWIW: I use symlinks because if you change the package (e.g. from
gallery to coppermine), the install directory will change, but you and
just update the link and the old URL will still work.

[mysql]
> I now have to add -p to all command line entries
> and type in the root password every time. Would like to fix that


Is that not normal behaviour?

David.