Write to Apache directory.