Questions tagged [301-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

pset6 301 moved permanently error

Here are my implemented functions const char* lookup(const char* path) { char ext[6]; int j = 0; for(int i=0,n=strlen(path);i<n;i++) { if(path[i]=='.') { ext[j] = path[i]; ...
0
votes
1answer
28 views

pset6 parse sheck50 cat.exe, non-existant file and request target " error 301?

Help!! I'm currently struggling with Parse with check50 reporting three errors as follows: Here is the sandbox report And here is my parse code.. bool parse(const char* line, char* abs_path, char* ...
0
votes
1answer
314 views

Pset6 server.c, 301 rederect error

Hello everyone and thanks in advance for the assistance. I am working on server.c and I have my functions written and was able to test lookup and parse individually and everything seems to be working ...
0
votes
1answer
453 views

'301 Moved Permanently' - error

I'm getting the following errors when testing via curl: Terminal 1 curl -i http://localhost:8080/hello.php?q=Lucky HTTP/1.1 301 Moved Permanently Location: / Terminal 2 GET /hello.php?q=Lucky ...