Reply To: does antix use www-data or apache2

Forum › Forums › General › Software › does antix use www-data or apache2 › Reply To: does antix use www-data or apache2

#60676
Dave
Forum Admin

    If this setup is for building / testing webpages then the easiest would be to make the folder with www-data:users ownership

    chown www-data:users /var/www/html
    chmod -R 664 /var/www/html/

    If it is only for your user, add a directory to your home directoy like ~/Web-tests, make the ownership your-username:www-data, and change /etc/apache2/sites-enables/000-default document root to /home/your-username/Web-tests/ followed by an apache restart (service apache2 restart).

    • This reply was modified 5 years, 3 months ago by Dave.

    Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown