OpenBSD

From Davical
Jump to: navigation, search


Don't forget that Apache is chrooted in OpenBSD. You'll want your virtual host configuration to look something like:

<VirtualHost *:80>
  ServerName    caldav.yourdomain.com
  Port          80
  DocumentRoot  /var/www/vhosts/caldav.yourdomain.com/rscds/htdocs
  php_value     include_path /vhosts/caldav.yourdomain.com/awl/inc
  php_value     magic_quotes_gpc 0
  php_value     register_globals 0
</VirtualHost>

Also, it's useful to know that you don't have to put your configuration in {{{/var/www/etc/rscds/caldav.yourdomain.com-conf.php}}}; {{{/var/www/vhosts/caldav.yourdomain.com/config/config.php}}} also works, and is probably (at least in my opinion) preferable.