Changes

Jump to: navigation, search

OPS435 Python Assignment 1 2017 - 3

20 bytes added, 16:20, 27 September 2017
Successful requests menu
<source>OPS435 Assignment 1 - Fall 2017
check_apache_logcheck_apache_log_yourmysenecaid.py
Author: Andrew Smith
The source code in this file (check_apache_logcheck_apache_log_yourmysenecaid.py) is original work written
by Andrew Smith and has not been copied from any other source including any
person, textbook, or online resource. I have not shared this work with anyone
You should use the Python <b>re</b> module, look [https://docs.python.org/3/library/re.html here] for documentation. You may use the following regular expression to extract the components from each line:
<source>([(\d\.)]+) - - \[(.*?)\] "(.*?)" (\d+) ((\d+) "(.*?|-)" "(.*?)"</source>
The questions are self-explanatory, provide answers formatted as you see fit.

Navigation menu