I am trying to install gallery on RH 8.0 and am receiving the dreaded Error 500 from apache. I've searched the installation forum and FAQ's and followed all recommendations, but it doesn't seem to work. I made the following additions to my apache http.conf file:
<Directory />
Options All
AllowOverride All
</Directory>
and
<Directory "/apache/html">
Options All
restarted the httpd server, then re-ran the ./configure.sh. I then try to access the modules/gallery/setup folder and the the following error:
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster
Error 500
This looks like a really neat module and I'd like to get it setup soon. Does anyone know what my problem is? If you couldn't tell by my content I am very new to PHP so please be patient.
Matt
Posts: 3
I just read the message saying that the dev team does not support Apache 2. I'm not trying to do anything fancy with the gallery module, just get it to the point where it works. Would anyone mind using me as a basic test case to try and simply get this thing running? Thanks in advance for any help.
Posts: 12
Hi!
Please read FAQ C. Try removing setup/.htaccess and run the set up once again and see if that works.
Posts: 3
Thanks for the reply. I do appreciate the help. I read FAQ C and removed the .htaccess files in the gallery and setup directories. Unfortunately I got the following error when I pointed my web browser at the setup directory:
n"; return $buf; } foreach ($preserve as $key => $val) { if ($key && !$onThisPage[$key]) { print embed_hidden($key); } } // String-ize preserve list $preserve = join(" ", array_keys($preserve)); print embed_hidden("preserve"); ?>
Any ideas? Also found this in the access_log file:
127.0.0.1 - - [06/Oct/2002:23:39:03 +0900] "GET /modules/gallery/setup/ HTTP/1.1" 200 1697 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830"
but nothing in the error_log file. Thanks again for you help.
matt
Posts: 7994
What version of Apache and what version of PHP?
My guess is that you're running a newer version of PHP that has short_tags off by default. Try using v1.3.2 from CVS and see if that resolves your problem.
P.S. If you're using Apache2 you'll have other problems but won't get help (from me) cause PHP doesn't support that platform yet.