possible to use /var/www/html as a webroot?

Discussion in 'Linux Support: Debian, Ubuntu, SolusOS etc' started by simba, Jul 26, 2018.

  1. simba

    simba New Member

    I'm looking at switching from Nginx and I would prefer to keep my websites in /var/www/html, but it seems like the Debian package of LiteSpeed is chrooted to /usr/local/lsws and can't see anything in /var/www,

    Is it possible to fix this without too much headache? I tried a symlink but still got 404 errors.
     
  2. Pong

    Pong Administrator

    You can set your virtual host document root to /var/www/html. Make sure the folder and files owner and permission are right. If you run OLS php as nobody, make sure nobody have right access to /var/www/html
     
  3. simba

    simba New Member

    Thanks!
     

Share This Page