add a2enmod rewrite and cd /opt