Closed rizcompeer closed 9 years ago
Server IP : 54.173.147.85 Little problem coming while mapping in /etc/apache2/sites-available
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/weather_risk ServerName trackmyvehicle.co.in ServerAlias www.trackmyvehicle.co.in ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
Issuing command - a2ensite wr_itc.conf service apache2 reload
Your conf file is correct but you did not enable apache module rewrite which you are using in .htaccess sudo a2enmod rewrite sudo service apache2 restart It is working now.
Server IP : 54.173.147.85 Little problem coming while mapping in /etc/apache2/sites-available
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/weather_risk ServerName trackmyvehicle.co.in ServerAlias www.trackmyvehicle.co.in ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
Issuing command - a2ensite wr_itc.conf service apache2 reload