wip test path cgi :
- _cgi_pos seems to be ok - construct url from return is not implemented yet + renamed script with extension .php and .cpp
This commit is contained in:
@@ -19,6 +19,11 @@ server {
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
location /cgi-bin {
|
||||
root ./srcs/cgi-bin/;
|
||||
cgi_ext cgi php txt;
|
||||
}
|
||||
|
||||
location /redirect {
|
||||
redirect 307 https://fr.wikipedia.org/wiki/Ketchup;
|
||||
# redirect 307 https://www.youtube.com/watch?v=rG6b8gjMEkw;
|
||||
|
||||
Reference in New Issue
Block a user