-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
saturngod edited this page Jan 23, 2012
·
2 revisions
Download the latest stable version at github.
-
Unzip the package
-
You will see the following files and folders in Ava folder
- index.php
- system [folder]
- www [folder]
- README.md
- License
- .htaccess
-
Upload all files and folder to your web server
-
Open system/config/development.php for development setup
-
Test http://yourdomain.com/ or if you are using http://localhost/your_ava_folder
For configuration setup, you can read at Configure page.
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>
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;
}
}