Fix apache directory creation