i followed Swerts-Knudsen.dk's howto on my sme5.6 update 6. when i did
http://yourhost.yourdomain/gallery/setup, i got these warnings:
Warning!
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory /home/e-smith/files/ibays/gallery/html>
AllowOverride Options FileInfo
</Directory>
-----------------
Warning!
Magic quotes are on. Your webserver administrator can turn them off by putting :
magic_quotes_gpc = Off
in your php.ini file.
-------------------
Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on, first make sure that your .htaccess file is being obeyed. If it still doesn't work, you may need to reconfigure and rebuild Apache with this flag:
--enable-module=rewrite
-----------------
Warning!
I can't find ImageMagick. If it's installed and not in the path of the webserver user that's OK—you can specify the path to ImageMagick by hand on the following page. If it's not installed, you must install it. Gallery prefers ImageMagick version 5.4.8 and up. You can compile and install the entire ImageMagick package from the ImageMagick website.
Note: The site also has binaries available for assorted operating systems. If you can't get it working, try leaving the ImageMagick path blank and using NetPBM instead.
Note: Your PHP installation is configured with the open_basedir restriction. This may make it difficult for Gallery to detect and verify your binaries, even if you've already successfully used the Config. Wizard in the past. Don't worry too much if this page gives warnings; your settings will still be saved properly.
-------------
Warning
It seems you didn't download any additional languages. This is not a problem! Gallery will appear just in English. Note: If this is not true, check that all files in locale folder are readable for the webserver, or contact the Gallery Team.
-----------------------
but it said in the bottom part:
Your installation has warnings, but this is usually OK. Keep going!
so i did. then howto said "click Default", and again i did up to "save config".
when i uploaded the picture, its was successful but the gallery wont show it. i checked it in the ibay, and its there but it wont really show the picture.
i emailed the author of the howto, but i still didnt heard from him/them so i made an experiment. heres what i did:
i followed some points from the HowTo implement website access security for internal/external users by Darrell May on how edit the the httpd.conf. so hears what i did:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86TestSecurity
-- i used pico then pasted this:
#------------------------------------------------------------
# gallery ibay directories (Picture Gallery)
#------------------------------------------------------------
<Directory /home/e-smith/files/ibays/gallery/html>
Options Indexes
Options +Includes
AllowOverride Options FileInfo
order deny,allow
deny from all
allow from all
</Directory>
base from the said warning i had:
Warning!
Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory /home/e-smith/files/ibays/gallery/html>
AllowOverride Options FileInfo
</Directory>
then i expanded the template:
sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart
but when i pico to /etc/httpd/conf/httpd.conf, it seems that what i did didnt do anything to it:
#------------------------------------------------------------
# gallery ibay directories (Picture Gallery)
#------------------------------------------------------------
<Directory /home/e-smith/files/ibays/gallery/html>
Options Indexes
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/gallery/cgi-bin>
Options ExecCGI
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/gallery/files>
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
[/color]
im still not that good in the template system of e-smith so i refer to the the HOWTOs of other people on doing things. so PLEASE, PLEASE HELP ME ON THIS 