Hi, Here we will see some common file locations that you may want to access while deploying your application to Apache server in ubuntu. Locations: Error log file /var/log/apache2/error.log Configuration file /etc/apache2/apache2.conf Configuration file for default VirtualHost /etc/apache2/sites-available/000-default.conf Commands: before…
Tag: apache2
How to use .htaccess file in apache2 Ubuntu
The .htaccess file can be used in apache server to have it’s own configuration per directory. 1: First step is to enable mod_rewrite module sudo a2enmod rewrite 2: Now restart the apache server sudo service apache2 restart 3: Open the…