-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with installation #84
Comments
for me it was just My vhost configuration if it interests you is below. server {
listen 80;
listen [::]:80;
listen 443;
listen [::]:443;
root /var/www/ZeroBin/;
index index.php index.html index.htm;
server_name zero.mikaela.info zerobin.mikaela.info;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
autoindex off;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
#include fastcgi_params;
include fastcgi.conf;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
} |
Ok thanks for the reply, will try this later week (when I have time). |
In fact, you need to create two directories with writing permission for web server :
|
Mind providing steps on how you did it @sebsauvage ? It would be appreciated greatly. |
Well, in my sense, this piece of software has great security concerns, because the directories tmp and data where you give the web server write permission countains (autogenerated) php scripts.
|
I didn't encounter this issue those two dirs were created automatically. Perhaps if the dir doesn't have the right permissions, it gets skipped. |
Might try it again, if it is working for y'all. |
if you are using nginx, you should deny web access to /data/ and /tmp/ that way they are not browsable. |
Oh yeah tks 4 patch drewbeer ;) |
Thanks for the help, I got it working for what I needed. |
The installation instructions, I think, are incorrect.
After reading #80 I found out that you need a /tmp?
Would anyone mind writing a guide as to how to install it?
Thanks,
Sebie
The text was updated successfully, but these errors were encountered: