S9yMultiUser

From Dracula's Wiki

httpd.conf

add a entry like this for every user:

<VirtualHost *>
ServerName clau.thesisters.ro
DocumentRoot /var/www_thesisters/html/blog/clau
CustomLog /var/log/apache/access-thesisters.log combined
    <Directory "/home/www/garvin.s9yblogs.org/htdocs">
        AllowOverride All
    </Directory>
    php_value include_path ".:/usr/local/:/usr/local/s9y/:/usr/local/s9y/bundled-libs/"
    php_admin_value open_basedir "/usr/bin/:/usr/local/:/usr/local/s9y/:/var/www_thesisters/html/blog/clau/"
</VirtualHost>

<VirtualHost *>
ServerName thesisters.ro
ServerAlias thesisters.ro *.thesisters.ro
DocumentRoot /var/www_thesisters/html
CustomLog /var/log/apache/access-thesisters.log combined
</VirtualHost>

the /usr/bin/ entry in open_basedir is needed for imagemagik ( convert )

s9y installation

  • create the blog directory ( must match the DocumentRoot )
  • unpack the s9y tgz to /usr/local/s9y must end with s9y

link and copy the files

cp -r /usr/local/s9y/deployment/* /var/www_thesisters/html/blog/clau

ln -s -d /usr/local/s9y/templates templates
ln -s -d /usr/local/s9y/templates_c templates_c
ln -s -d /usr/local/s9y/htmlarea htmlarea

/* Adjust permissions */