Alias /spotweb "/usr/share/spotweb/www"

<Directory /usr/share/spotweb/www>
  Options FollowSymLinks
  <IfModule mod_php5.c>
    php_value include_path ".:/usr/share/spotweb:/etc/spotweb:/usr/share/php"
    php_admin_flag engine on
  </IfModule>
  RewriteEngine on  
  RewriteCond %{REQUEST_URI} !api/  
  RewriteBase /spotweb/
  RewriteRule api/?$ /spotweb/index.php?page=newznabapi [QSA]
  RewriteRule details/([^/]+) /spotweb/index.php?page=getspot&messageid=$1 [L]
</Directory>

