From da36bc985c3e799dae68cdede01f9f985f7444c8 Mon Sep 17 00:00:00 2001 From: Jonas Lindstad Date: Fri, 13 Feb 2015 01:17:33 +0100 Subject: Minor updates, documentation and fixes --- junos-bootstrap/httpd/server_http.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'junos-bootstrap/httpd') diff --git a/junos-bootstrap/httpd/server_http.py b/junos-bootstrap/httpd/server_http.py index a7c63d1..44f0237 100644 --- a/junos-bootstrap/httpd/server_http.py +++ b/junos-bootstrap/httpd/server_http.py @@ -22,8 +22,9 @@ def main(): ), http = dict( # host = 'localhost', - host = '10.0.30.131', - port = 8080 + # host = '10.0.30.131', + host = '10.0.100.2', + port = 80 ) ) @@ -121,7 +122,7 @@ def main(): else: print('[%s] --> File request rejected due to nonexisting file' % self.client_address[0]) else: - print('[%s] --> rejected due to bad path' % self.client_address[0]) + print('[%s] --> rejected due to bad URI' % self.client_address[0]) # silence stderr from BaseHTTPRequestHandler # source: http://stackoverflow.com/questions/3389305/how-to-silent-quiet-httpserver-and-basichttprequesthandlers-stderr-output def log_message(self, format, *args): -- cgit v1.2.3