Skip to content
nevali edited this page Jun 22, 2011 · 2 revisions

Eregansu will by default create a .htaccess file in your application root for use with Apache. All you should need to do is create a virtual host with the appropriate DocumentRoot setting. You’ll need to enable mod_php5, and mod_rewrite, and ensure the directory-level access rules are configured properly.

Something like the below will do (adjust to suit your configuration):

<VirtualHost *:80>
    ServerName eregansu.localhost
    DocumentRoot /home/developer/eregansu/public
    DirectoryIndex index.html index.php
</VirtualHost>

<Directory /home/developer/eregansu/public>
    Order allow,deny
    Allow from all
    Options ExecCGI FollowSymLinks
    AllowOverride all
</Directory>

Clone this wiki locally