Kwaku_Ananse
As I said previously, you cannot just post one line comments and expect people to read your mind. You need to make it easy to help you. Help me help you (really not a fan of Logan Paul..).
Initially your post literally read:
sudo -u www-data php update_cli.php --update_db no longer works
Respectfully, what am I actually supposed to do with this information? What does 'no longer works' even mean? Do you get an error? Are you typing this into your typewriter instead of a root shell on the server? I guess we'll never know!
Then you moved onto say:
i am getting error 404 when i visit my itflow page unless i do it as www.xxxxx.com/itflow/login.php then i am able to get to the page and sign in
and then:
i get error 404 after the update.
So it is now unclear to me whether you are able to sign into ITFlow at all, or just that you have to append /itflow
to the URL? You say you're using an alias (presumably defined in your vhosts config?) but the correct way to do this is to have different directories, like:
- /var/www/example.com
- /var/www/itflow.yourdomain.com
It sounds more to me like you have everything under /var/www/html, and then separate folders within the html folder for different things? That would only work if you've correctly set the document root to be the subfolder in html in your vhost configuration.
Please provide some more detail as to your environment, what works, and what doesn't.