Skip to content
saturngod edited this page Jan 23, 2012 · 2 revisions

Installtion

Download the latest stable version at github.

Instructions

  1. Unzip the package

  2. You will see the following files and folders in Ava folder

    • index.php
    • system [folder]
    • www [folder]
    • README.md
    • License
    • .htaccess
  3. Upload all files and folder to your web server

  4. Open system/config/development.php for development setup

  5. Test http://yourdomain.com/ or if you are using http://localhost/your_ava_folder

For configuration setup, you can read at Configure page.

Advance Installation

Ava framework use www folder for extra security. You need to change DocumentRoot in apache virtual host setup.

Example : your www folder in /var/www/ava_test/www

<VirtualHost *:80>
	DocumentRoot /var/www/ava_test/www
	ServerName www.example1.com

	# Other directives here

</VirtualHost>

For Nginx

Ava framework also support for nginx. However, you need to setup like

server {
        server_name mydomain.com;
        root /var/www/domain/mydomain.com/www;
        index index.php;

        location / {

        try_files $uri $uri/ /index.php;

                if (!-f $request_filename){
                        set $rule_0 1$rule_0;
                }
                if (!-d $request_filename){
                        set $rule_0 2$rule_0;
                }
                if ($rule_0 = "21"){
                        rewrite ^/(.*)$ /index.php?rt=$1 last;
                }

        }
		# php configuration for nginx
        include global/php.conf;

	## Disable viewing .htaccess & .htpassword
    location ~ /\.ht {
        deny  all;
    }

}

Clone this wiki locally