Koozali.org: home of the SME Server

Symbolic links and Apache

Blake Heinemann

Symbolic links and Apache
« on: July 04, 2001, 10:39:07 AM »
I've been playing around with phpweblog (phpweblog.org) on esmith. Had it working in an ibay no problems. Then changed one of my virtual domains to point to that ibay in the manager console. Now phpweblog doesn't work. It uses an index.php file which is a symbolic link to another file. I notice in my error_log that it says "symbolic link not allowed"

  My question: How did changing a virtual domain to point to this ibay from another change this? I tried changing everything back, but to no avail. Or did something else do this? Currently, in my ibay, I have group set to everyone, and write and read access for the group, and public access set to local net only, no password.

  I also searched the forums on sym links, but didn't find anything that looked like what I needed.

  Thanks.

  bh

Blake Heinemann

Re: Symbolic links and Apache
« Reply #1 on: July 04, 2001, 05:58:35 PM »
Well, my previous message was posted after not getting enough sleep. After thinking it over, I realise that the ibay settings and virtural domain settings had absolutely nothing to do with it, the sym link never worked. It only worked because I was accessing it from the admin section of phpweblog, which you do first when you're setting up the site.

So my next question, which is more of an esmith/apache question, how do I get apache to allow symbolic links, or is this a security risk?

Thanks again.

bh

Blake Heinemann

Re: Symbolic links and Apache
« Reply #2 on: July 04, 2001, 11:56:32 PM »
Got it figured out, found a very helpful post by Jason Miller on FollowSymLinks in Apache and made the change. PHPweblog now works under E-smith quite nice.  For people who want something a little more than phpbb, it's great! Similar to phpnuke.

bh