i read this all
how to resolve my os ubuntu 18.10 and php 7.2 i can lod home page only
and Apache mode Rewrite is not enabled
i hope u try with localhost/youphptube
<VirtualHost *:80>
DocumentRoot /var/www/html/YouPHPTube-master
DirectoryIndex index.php
#ServerName bugs.insharptechnologies.com
ServerName www.mytube.com
<Directory "/var/www/html/YouPHPTube-master">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
</VirtualHost>
add this then edit your hosts then try with domain its work
Why is the apache mod rewrite not enabled?
Enable it..
no its enable i follow @Ghost173 comment its work if i access with domain if i access with localhost/youphpube its not working
you car reproduce
make sure apache2 mod rewrite not enable
if apache2 mod rewrite not enable enable then also user.php gives 404
You cannot use @Ghost173 literal code, since his paths could be different than yours.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Why is the apache mod rewrite not enabled?
Enable it..