estarossa0/webserv

error

Closed this issue · 4 comments

if (opendir((getPulicDirectory() + s).c_str()) == NULL) {

give a not found error on file cause file is not a directory
I added a perror() and this was the output

image

request: curl localhost/public/cgi/home.php

I fixed it in the hotfix, need to merge the pull request

image
can you link the PR to the issue from here
so this issue is close automatically when pr is merged

I did it

Ty