diff --git a/Makefile b/Makefile index 4ec0e1c..a8282d0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME= server +NAME= webserv SRCS= srcs/webserv.cpp srcs/tools.cpp srcs/load/Env.cpp srcs/load/Server.cpp \ srcs/load/Route.cpp srcs/sock/Master.cpp srcs/sock/Client.cpp \ srcs/json/Nodes.cpp srcs/json/Token.cpp srcs/json/Parser.cpp diff --git a/public/testsite/403error.jpeg b/public/testsite/403error.jpeg new file mode 100644 index 0000000..9d4d8b0 Binary files /dev/null and b/public/testsite/403error.jpeg differ diff --git a/public/testsite/414error.jpeg b/public/testsite/414error.jpeg new file mode 100644 index 0000000..a4ca152 Binary files /dev/null and b/public/testsite/414error.jpeg differ diff --git a/public/testsite/429error.jpeg b/public/testsite/429error.jpeg new file mode 100644 index 0000000..c21e1e4 Binary files /dev/null and b/public/testsite/429error.jpeg differ diff --git a/public/testsite/error403.html b/public/testsite/error403.html new file mode 100644 index 0000000..264c637 --- /dev/null +++ b/public/testsite/error403.html @@ -0,0 +1,16 @@ + + +
+ +forbidden access
+ + + + \ No newline at end of file diff --git a/public/testsite/error405.html b/public/testsite/error405.html new file mode 100644 index 0000000..ccb2b76 --- /dev/null +++ b/public/testsite/error405.html @@ -0,0 +1,16 @@ + + + + +method not allowed
+ + + + \ No newline at end of file diff --git a/public/testsite/error414.html b/public/testsite/error414.html new file mode 100644 index 0000000..af9347d --- /dev/null +++ b/public/testsite/error414.html @@ -0,0 +1,16 @@ + + + + +url too long
+ + + + \ No newline at end of file diff --git a/public/testsite/error429.html b/public/testsite/error429.html new file mode 100644 index 0000000..5619224 --- /dev/null +++ b/public/testsite/error429.html @@ -0,0 +1,16 @@ + + + + +too many requests
+ + + + \ No newline at end of file diff --git a/public/testsite/error505.html b/public/testsite/error505.html new file mode 100644 index 0000000..ae4024e --- /dev/null +++ b/public/testsite/error505.html @@ -0,0 +1,16 @@ + + + + +http version not supported
+ + + + \ No newline at end of file