cgi exec compare with file method
This commit is contained in:
@@ -147,6 +147,12 @@ void Webserv::_get(Client *client, ServerConfig &server, LocationConfig &locatio
|
||||
//
|
||||
if (_is_cgi(client))
|
||||
{
|
||||
// DEBUG
|
||||
std::cout << "\nSCRIPT PATH _________________"
|
||||
<< "\npath:" << client->get_rq_script_path()
|
||||
<< "\npath_info:" << client->get_rq_script_info()
|
||||
<< "\n\n";
|
||||
|
||||
_exec_cgi(client);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user