Debug in progress, somes fix but not the main problem
This commit is contained in:
@@ -21,6 +21,9 @@ server {
|
||||
# error_page 403 ./www/error_pages/error_404.html;
|
||||
|
||||
|
||||
location /kapouet {
|
||||
root /tmp/www;
|
||||
}
|
||||
|
||||
location / {
|
||||
allow_methods GET;
|
||||
@@ -37,6 +40,7 @@ server {
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
|
||||
location /cgi-bin {
|
||||
root ./srcs/cgi-bin/;
|
||||
cgi_ext out php sh;
|
||||
@@ -44,19 +48,7 @@ server {
|
||||
|
||||
location /upload {
|
||||
allow_methods POST;
|
||||
# autoindex on;
|
||||
# root ./www/;
|
||||
# index upload_form_single.html;
|
||||
|
||||
# upload_dir ./www/user_files/;
|
||||
# root doesn’t matter if used only with POST and no CGI
|
||||
}
|
||||
|
||||
location /uploaded {
|
||||
allow_methods GET;
|
||||
autoindex on;
|
||||
# upload_dir ./www/user_files/;
|
||||
root ./www/user_files;
|
||||
upload_dir ./www/user_files/;
|
||||
# root doesn’t matter if used only with POST and no CGI
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user