The requested URL "/install" was not found on this server

Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management / FAQ Last updated on Updated Jan 16, 2019

Of course that all files are there and the reason why you don't see that "install" folder at all is because Vanguard, as Laravel application, does not work like that.

All requests are routed through index.php file (it utilizes front controller pattern) and then routes are responsible for routing your request to appropriate controller and method.

Now, the reason you get such message is probably because you most likely use Apache Web Server which does not have mod_rewrite installed and enabled. This means that you will have to enable Apache mod_rewrite, and you can do it by typing the following command into the terminal (after you login to your server via SSH):

a2enmod rewrite

This command will enable Apache rewrite module. If you get some message like "Module rewrite already enabled", this means that module is already enabled and you can proceed to next step, which is updating Apache configuration file.

After you are sure that you have your module enabled, next thing to do is to make sure that you have added allow from all inside your Vanguard's Apache virtual host configuration, like following:

<VirtualHost *:80> 
    DocumentRoot /var/www/vanguard/public 
    <Directory "/var/www/vanguard/public"> 
        allow from all <!-- required -->
        Options FollowSymLinks 

Of course, your VirtualHost configuration will probably be different, but you must allow Vanguard's .htaccess file to actually do some work by defining this allow rule.

Note! If you don't have SSH access to your server, or you are using cPanel (or any similar software) you should probably enable Apache rewrite module from there. If not, you will have to contact your support to do that for you.