It shall be unlawful for any person to violate the provisions of this chapter or the terms and standards adopted by reference thereby, to permit or maintain such violation, to refuse to obey any provision thereof, or to fail or refuse to comply with any provision or regulation except as variation may be allowed by action of the zoning board of appeals in writing. Proof of such unlawful act or failure to act or failure to comply shall be deemed prima facie evidence that such act or omission is the act of the owner of the property. Prosecution, or lack thereof, of either the owner or the occupant shall not be deemed to relieve the other.