Apache one-virtual-host.conf

# Riverside Fortress security configuration
# One site httpd config

# author: Sergey Serov



  DocumentRoot /var/www/html/SITENAME/www

  ServerName SITENAME
  ServerAlias www.SITENAME

  ErrorLog /var/www/html/SITENAME/logs/apache_error.log
  CustomLog /var/www/html/SITENAME/logs/apache_access.log combined

  
    Options -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
  

  php_admin_value open_basedir /var/www/html/SITENAME/www:/var/www/html/SITENAME/tmp
  php_admin_value doc_root /var/www/html/SITENAME/www
  php_admin_value upload_tmp_dir /var/www/html/SITENAME/tmp
  php_admin_value error_log /var/www/html/SITENAME/logs/php.log
  php_admin_value session.save_path /var/www/html/SITENAME/sessions