I have installed Moodle from the OBS. (Moodle is a web-based education
and test app written in PHP.) Most everything is working, except images.
The images are installed by the OBS RPM in a directory called:
/srv/www/moodle/pix
and they are symlinks to other places in /srv/www/moodle. The links
resolve correctly.
So, I added this to my apache /etc/apache2/httpd.conf:
Options +FollowSymlinks
</Directory>
and restart apache with "rcapache2 restart"
Nonetheless, I see this in my apache error_log:
[Wed May 12 14:31:23 2010] [error] [client 10.209.160.46] Symbolic link not allowed or link target not accessible: /srv/www/moodle/pix/docs.gif, referer: http://www.opq.se/moodle/theme/index.php?choose=afterburner&sesskey=whatever
As the message is in error_log, I am guessing it is an apache thing and
not a PHP thing. I have had issues with symlinks and apache in the past,
and I am sure this is how I resolved it. Perhaps I have missed
something?
--
Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org