No puedo acceder a otra URL que no sea el home

The good news is that they are both pointing that alias to the same place ["/usr/share/phpmyadmin"].
So, I guess you can ignore the error:

OR remove one of them.

2 Likes

I still don't understand where you get that file from.

The server doesn't show that file:

2 Likes

There is normally a symbolic link from sites-enabled into sites-available. It can be created with a2ensite.

3 Likes

@schoen, thanks for the breath of sanity.
Only the /sites-enabled/ files are included. Doh!

^ this file is not included in the config ^

3 Likes

I solved it this way

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/rgo.com.ve/public

    <Directory /var/www/rgo.com.ve/public/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
        RewriteEngine On
        RewriteBase /var/www/rgo.com.ve/public
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <IfModule mod_dir.c>
        DirectoryIndex index.php index.pl index.cgi index.html index.xhtml >
    </IfModule>

</VirtualHost>

Thank you very much to all

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.