I unzipped the gallery2 archive to the root of my server "/var/www/gallery2" and the next step of installation says to browse to /gallery2/install/ when I do this I get a 404. I read around about remote module, but even from the host machine I am getting this error, though the folder and all files exist as I can see them from the root IP...
If anyone knows the fix to this please let me know.
Posts: 8601
try /gallery2/install/index.php , in case your webserver isn't setup to use index.php as a directory index.
Posts: 13
Not Found
The requested URL /gallery2/install/index.php was not found on this server.
I cant browse the gallery2 folder at all, I can see it from root but trying to go in gives a 404.
Posts: 32509
does any other web application work on that server?
or does any static .html page work?
Posts: 13
Yes I am using Serendipity as my blogging page and I can browse to it no problem, and any other folder I create in /var/www. But gallery2 stops me when I try to enter it. Permissions on the gallery2 folder are 775 so it should be fine.
Posts: 32509
i assume serend. is installed in /var/www/ and there's a /var/www/index.php from serend.
well, if gallery2/ install/ and index.php are all 755 and you can't browse to gallery2/install/index.php, then there's something wrong with the index.php file (corrupted) or your php / server config is flawed.
Posts: 13
seren is installed in /var/www, I access it via: /var/www/serendipity (/var/www/serendipity/index.php). There is no index.php in /var/www atm, when I browse to it just a dir structure.
I cant browse into the gallery2 folder at all to access anything from a browser, but any other folder created etc all work fine. This is blocking me from installing gallery2, as all I have done now is checked out the code but am yet to install as I cant.
Posts: 32509
please confirm that:
- /var/www/serendipity/index.php has permissions 755
- /var/www/serendipity/ has permissions 755
- /var/www/gallery2/ has permissions 755
- /var/www/gallery2/install/ has permissions 755
- /var/www/gallery2/install/index.php has permissions 755
how did you install serendipity? maybe /var/www/ is just a apache alias or the real apache document root is somewhere else and one needs to add gallery2 as a alias.
Posts: 13
/var/www/ [777]
/var/www/apache2-default/ [755]
/var/www/Files/ [755]
/var/www/g2data/ [777]
/var/www/test [777]
/var/www/serendipity [777]
/var/www/serendipity/index.php [644]
/var/www/info.php [644]
So all the above is browsable from the web server.
But when I type in http://##.##.##.##/gallery2 I get: 404
Posts: 13
Ok so I deleted the gallery2 folder and did this:
and I now have
/var/www/gallery [755]
And now it works... I have no clue why so if you do please let me know as Im new to all this and want to learn as much as I can.
Posts: 32509
well, nothing to fix now, good.
for the record:
you never confirmed the permissions of
- /var/www/gallery2/ has permissions 755
- /var/www/gallery2/install/ has permissions 755
- /var/www/gallery2/install/index.php has permissions 755
but that doesn't matter now.