Web Hosting

How to change the phpmyadmin URL

In Linux Mint/Ubuntu the phpmyadmin configuration file can be found under ‘/etc/phpmyadmin/apache.conf’ In there under line 3 change the second value, the default is: ‘Alias /phpmyadmin /usr/share/phpmyadmin’ Once the /phpmyadmin value has been changed, restart apache with ‘sudo service apache2 restart’

How to enable .htaccess on Apache2

An existing .htaccess file will not work with a new/stock install of Apache2 on Linux. The following modifications will need to be made: Edit the /etc/apache2/apache2.conf file and find the section for ‘<Directory /var/www/> then update a line in it from ‘AllowOverride None’ to ‘AllowOverride All’ Enable module rewrite by running in the terminal ‘sudo… read more »

Apache – apache2.conf backup

# This is the main Apache server configuration file.  It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.4/ for detailed information about # the directives and /usr/share/doc/apache2/README.Debian about Debian specific # hints. # # # Summary of how the Apache 2 configuration works in Debian: # The Apache 2… read more »