Thread: lamp 403 error after changing document root
hi everybody. i've got lamp installed on ubuntu-based machine. originally, /var/www document root folder, default. however, wanted able use ubuntu 1 sync lamp server's document root folder between several computers. so, idiot, first try on main development machine (lessons learned, lol).
have done, had created folder name www in /home/user/documents folder. then, changed /etc/apache2/sites-available/default file reflect that. got error'd.
so, cp'd file /etc/apache2/sites-available/mysite , ranin terminal.code:sudo a2dissite default && sudo a2ensite mysite
i'm still getting 403'd.
i've restarted apache2 several times , chmod'd folder 775. still can't no satisfaction.
can help?
you must have messed configuration.
fastest way fixed revert changes. afterwards, create soft link /home/user/www -> /var/www
make sure permission on dir somewhere along line of 770 , user in correct group. (don't make file 7 permission unless requires it).
luck
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] lamp 403 error after changing document root
Ubuntu
Comments
Post a Comment