User Tools

Site Tools


docs:development:cruisedit:apache2.conf

Apache config

I propose to put this in /etc/apache2/sites-available/mysite

<VirtualHost *:80>
      ServerName   www.mysite.com
      ServerAlias  mysite

      DocumentRoot /var/www/mysite/docroot
      <Directory /var/www/mysite/docroot>
              # Options Indexes FollowSymLinks MultiViews
              # AllowOverride None
              AllowOverride AuthConfig FileInfo Limit
              Options FollowSymLinks
              Order allow,deny
              allow from all
      </Directory>

      ErrorLog /var/log/apache2/mysite-error.log

      LogLevel debug

      CustomLog /var/log/apache2/mysite-access.log combined

      SetEnv CE_DATABASE      "ce_mysite"
      SetEnv CE_READ_USER     "cruisedit_read"
      SetEnv CE_READ_PASSWORD "oong0jaeth3eiK3e"

      Alias /edit/list.php   /usr/local/cruisedit/list.php
      Alias /edit/logoff.php /usr/local/cruisedit/logoff.php
      Alias /edit            /usr/local/cruisedit/edit.php
      Alias /                /usr/local/cruisedit/show.php/

</VirtualHost>
docs/development/cruisedit/apache2.conf.txt · Last modified: 22.03.2012 11:49 UTC by peter