45 lines
814 B
Plaintext
45 lines
814 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
MailZu has been installed into:
|
|
|
|
%%WWWDIR%%
|
|
|
|
Please read: %%DOCSDIR%%/INSTALL
|
|
|
|
Then, edit %%WWWDIR%%/config/config.php
|
|
|
|
Finally, make MailZu available through your web site. An
|
|
example for httpd.conf:
|
|
|
|
Alias /mailzu/ "%%WWWDIR%%/"
|
|
|
|
<Directory "%%WWWDIR%%/">
|
|
Options none
|
|
AllowOverride Limit
|
|
Order Deny,Allow
|
|
Deny from all
|
|
Allow from 127.0.0.1 .example.org
|
|
</Directory>
|
|
|
|
An example for nginx.conf:
|
|
|
|
location /mailzu/ {
|
|
alias %%WWWDIR%%/;
|
|
index index.php;
|
|
allow 127.0.0.0/8;
|
|
deny all;
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/var/run/php-fpm.socket;
|
|
fastcgi_param HTTPS on;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
include fastcgi_params;
|
|
}
|
|
}
|
|
|
|
EOM
|
|
}
|
|
]
|