config_directory=[]
with open("/etc/httpd/conf/httpd.conf", "r") as search_file:
    for line in search_file:
        if 'IncludeOptional' in line:
                config_directory.append(line)
                print config_directory[0]