Skip to main content

Timeline for Pset6 server.c Error 403

Current License: CC BY-SA 3.0

20 events
when toggle format what by license comment
Jul 1, 2016 at 12:07 comment added Salil Jain That was a small but a terrible mistake. Thanks for pointing it out. :)
Jul 1, 2016 at 6:42 vote accept Salil Jain
Jun 30, 2016 at 22:31 history edited MARS CC BY-SA 3.0
deleted 89 characters in body
Jun 30, 2016 at 20:38 comment added MARS you can read another edition more
Jun 30, 2016 at 20:37 history edited MARS CC BY-SA 3.0
added 609 characters in body
Jun 30, 2016 at 16:48 comment added Salil Jain Take your time. Thanks :)
Jun 30, 2016 at 13:54 comment added MARS I know it works, I checked myself but not thoroughly, it is a matter of simplicity, when I have a free moment, I'll see your code for parse
Jun 30, 2016 at 13:48 history edited MARS CC BY-SA 3.0
added 1 character in body
Jun 30, 2016 at 10:17 comment added Salil Jain Thanks for your response but my lookup function is working correctly, I have checked with some printfs. problem is somewhere else
Jun 29, 2016 at 20:00 comment added MARS you can read my edit
Jun 29, 2016 at 19:59 history edited MARS CC BY-SA 3.0
added 1443 characters in body
Jun 29, 2016 at 7:45 comment added Salil Jain Also check50 is not working even after many tries. It's giving unexpected end of input error.
Jun 29, 2016 at 6:56 comment added Salil Jain I have uploaded my code in question. Thanks
Jun 28, 2016 at 19:17 comment added MARS It is possible that there should be some content in the directory, but there is still nothing, it's hard to find out without seeing the code, make sure you're looking at the correct directory
Jun 28, 2016 at 18:29 comment added Salil Jain I have modified my code a bit, firstly my lookup function was wrong, it copied "htm" to string 's' instead of ".ht".Now it is giving error 403 Forbidden by access function under transfer function(which are written by default). My path and type are correct which I checked using printf which means access function is not working properly. Do you know what's the problem?
Jun 27, 2016 at 17:33 comment added MARS some person, per usual, using gcc to compile a program, you must use "make server" or "clang -ggdb3 -O0 -std = c11 -Wall -o server -Werror server.c -lm". Please post your new code if you continue having problems
Jun 27, 2016 at 15:02 comment added Salil Jain Sorry, What do you mean by saying use clang or make?
Jun 27, 2016 at 14:24 comment added MARS I think you can ignore this gdb "error" , The error is simply because GDB is looking for the source of the strcpy function, but can not find, however it is an assumption, use clang to compile, or better make in the IDE
Jun 27, 2016 at 12:09 comment added Salil Jain Thanks for your response. But I am getting seg fault while using gdb. Exact error : "Program received signal SIGSEGV, Segmentation fault. __strcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S:296 296 ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: No such file or directory." Do you have any idea about what's the error?
Jun 25, 2016 at 18:41 history answered MARS CC BY-SA 3.0