autoindex is working, a few things to iron out be we well on our way
This commit is contained in:
@@ -65,11 +65,12 @@ void ConfigParser::_post_processing(std::vector<ServerConfig> *servers)
|
||||
// maybe do something for Cgi_info?
|
||||
|
||||
// std::cout << "In Post, Root + Path: " << it_l->root + it_l->path << '\n';
|
||||
if (path_is_valid(it_l->root + it_l->path) == 0)
|
||||
/* if (path_is_valid(it_l->root + it_l->path) == 0)
|
||||
{
|
||||
//either we throw or we erase
|
||||
throw std::invalid_argument("location path is invalid");
|
||||
}
|
||||
*/
|
||||
|
||||
++it_l;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user