Hi -
I downloaded and untar'ed gallery-1.3.1.
I use OpenBSD 3.1 with Apache 1.3.24 and PHP 4.1.2.
In my http.conf I added the following myself (since I didn't find a documentation):
ScriptAlias /gallery/ "/var/www/gallery/"
Alias /gallery/ "/var/www/gallery/"
<Directory "/var/www/gallery/">
Options Indexes FollowSymLinks Includes ExecCGI Multiviews
Allow from all
AllowOverride Options FileInfo
</Directory>
In the /var/www/gallery/ directory I ran "sh configure.sh" and then wanted to point my browser to "http://mydomain.com/gallery/setup", but there I get a 403 error and my Apache error log says "attempt to invoke directory as script: /var/www/gallery/setup".
Whatever that means?!
So, if a point my browser to "http://mydomain.com/gallery/setup/index.php" I get a 403, too, with my error log telling me: "file permissions deny server execution: /var/www/gallery/setup/index.php".
Then I make "chmod o+x index.php" which results in the 500 error, the error log writing "Premature end of script headers: /var/www/gallery/setup/index.php".
BTW, I have removed the .htaccess from my setup-directory.
Please, advise! :smile:
CU,
Nikolaus
Posts: 7994
That's strange. Looks like it's trying to execute your .php files as a CGI.
Create a very simple php script called "test.php" and put this in it:
<?php phpinfo(); ?>
then put that on your webserver somewhere outside your Gallery and see if it
works. If it doesn't, you've got some kind of Apache/PHP misconfiguration.
Posts: 2
This works - I have PHP Nuke running and it works. Only Gallery is not working.
CU,
Nikolaus
Posts: 7994
It sounds like a configuration issue on your server. Try FAQ C to start. If that doesn't work, you can try our <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Donation%20Based%20Support" TARGET="_blank">Donation Based Support</A><!-- BBCode End --> plan.