[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: web server for development



On 1/9/2020 7:16 AM, Russell L. Harris wrote:
> For development of a web pages, I installed Apache2 on another machine
> in the LAN so that I can FTP web pages from the development machine to
> the web server and view the pages from the development machine.
>
> But the installation of Apache2 on Buster serves documents from
> /var/www/html/, which is owned by root, so as a normal user I cannot
> FTP into that directory.
>
> The web server is not exposed outside the LAN, so security is not an
> issue.
>
> What is the proper approach?
>

One way would be:

https://httpd.apache.org/docs/2.4/mod/mod_userdir.html

More as an alternative to apache on an hother host:

- using the built-in webserver in 'hugo'
- Python http.server

--
John Doe


Reply to: