![]() |
|
doesn't work on linux server, internal server error. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: doesn't work on linux server, internal server error. (/thread-1604.html) |
doesn't work on linux server, internal server error. - nighted - 2007-08-24 Hi everybody, !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /gallery I got an "Internal server error" on a linux-apache based server with working php, gd libraries and everything needed. Thanks in advance for any support!! doesn't work on linux server, internal server error. - thinkdreams - 2007-08-24 OK. Zenphoto as far as I know has been tested on both IIS and Apache with success, although mod_rewrite doesn't work so well on IIS. Let's start with your Linux/Apache server first. It will be helpful for us to see:
Post here once you've done that, and we'll be happy to help get it straightened out for you. doesn't work on linux server, internal server error. - nighted - 2007-08-24 Thank you for the answer! Here we go with everything:
The script of the provider is this one:
$conf['mysql_user'] = ""; // If you're sharing the database with other tables, use a prefix to be safe. $conf['mod_rewrite'] = false; // define('WEBPATH', '/gallery'); I tried also define('WEBPATH', '/gallery'); and I tried "localhost" on the mysql-host and "true" on the mod_rewrite. Here is the .htaccess file: htaccess file for zenphotoNOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.RewriteEngine On !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /gallery RewriteRule ^admin/?$ zen/admin.php [R,L] RewriteCond %{REQUEST_FILENAME} -f [NC,OR] Catch-all - everything else gets handled in PHP for compatibility.RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
Thanks again! doesn't work on linux server, internal server error. - thinkdreams - 2007-08-24 I'm not sure why the phpinfo() didn't work. Sounds to me like they've got some security reason for doing it that way (unless it's just to display the phpinfo() without the headers, css, etc.), but it still doesn't answer why it won't work properly. Definitely sounds provider related though. doesn't work on linux server, internal server error. - nighted - 2007-08-24 Uhmmm... I don't really know. Do you know what should I take off from this script to avoid it to be deleted from the server every time I check it? I'll try to find something else regarding my host (www.aruba.it) and zenphoto. Then, eventually, if I can't find any solution I'll try to contact my webhost. doesn't work on linux server, internal server error. - nighted - 2007-08-28 Ok, everything is almost fine now. I asked my host and they (I think) changed something, so now zenphoto is working. |