replaced Apache location with environment variable