bailoo / itrack

Location Tracking for Everyone
3 stars 2 forks source link

Virtual hosting problem : ITC server #64

Closed rizcompeer closed 8 years ago

rizcompeer commented 8 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

bailoo commented 8 years ago

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.