Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
title/etc/apache2/sites-available/translate5.conf
<VirtualHost *:80>
  DocumentRoot "/var/www/translate5/public"
  ServerAlias translate5.local
  SetEnv APPLICATION_ENV application
  php_value include_path .:/var/www/translate5/library/zend/:/usr/share/php5:/usr/share/php
  <Directory "/var/www/translate5/public">
    AllowOverride All
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>
</VirtualHost>

Save the file.

If you use an already existing virtual host, please add at least the following both settings:

  SetEnv APPLICATION_ENV application
php_value include_path .:/var/www/translate5/library/zend/:/usr/share/php5:/usr/share/php

Please be aware, that you have to check your webserver and this apache configuration regarding security, if you oppose your translate5 instance to the internet. Your security is your responsibility and can not be covered by this manual.

...