ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Bender/Bender.cpp
(Generate patch)

Comparing Bender/Bender.cpp (file contents):
Revision 119 by Douglas Thrift, 2004-03-17T21:15:24-08:00 vs.
Revision 120 by Douglas Thrift, 2004-03-17T22:01:55-08:00

# Line 47 | Line 47 | Bender::Bender()
47                  }
48          }
49  
50 <        cout << "Status: 404\n"
51 <                << "Content-Type: text/html; charset=ISO-8859-1\n\n"
52 <                << "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n"
53 <                << "<html><head>\n"
54 <                << "<title>404 Not Found</title>\n"
55 <                << "</head><body>\n"
56 <                << "<h1>Not Found</h1>\n"
57 <                << "<p>The requested URL " << sgetenv("PATH_INFO") << " was not found "
58 <                << "on this server.</p>\n"
59 <                << "<hr />\n"
60 <                << sgetenv("SERVER_SIGNATURE")
61 <                << "</body></html>\n";
50 >        cout << "Location: http://computers.douglasthrift.net/bender.xml\n\n";
51   }
52  
53   void Bender::bend(const string& path, const string& agent)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines