htaccess and phpmyadmin not working

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Oct 18, 2020.

  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The config is overridden by the ispconfig.conf file in /etc/apache2/sites-available. Commenting the rules in that file for /usr/share/phpmyadmin out worked for me, but it is not a good idea as this config will be overwritten when updating ISPConfig. You can prevent this by adding the changed files as conf-custom file, but I wouldn't do that as that could break your system if we change something important in that file.

    So, I had to look into it further. I got it working by adding
    Code:
    AllowOverride AuthConfig
    right beneath
    Code:
    <Directory /usr/share/phpmyadmin>
    in /etc/apache2/conf-available/phpmyadmin.conf, and adding the lines I needed for auth to a .htaccess in /usr/share/phpmyadmin/.htaccess
    (Remember to restart apache after modifying the conf file)
     
    Jesse Norell likes this.

Share This Page