Re: Hosting users pages on a common server in 2021

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

 



Hello Alex,

you can have a look to XAMPP - it is a Window 10 Pro domain which
can you can use to host websites with Apache, and Tomcat.
Each Server can interact together.
Apache is often use for Open Source software, and Tomcat is often
used for Java Pages.
So, you can provide Socket, by simple Java servelets/application.
You can have several differnt services on the Port of each server
and different pages.
So you can host thousends of Domain's with Apache, and with you
can provide thousends of Servivices with Tomcat.
For me, these two servers are a perfect combination of all.

Hope this helps - HTH
Jens

Am 31.05.2021 um 12:59 schrieb Alexandre IOOSS:
Hello,

It seems quite common for organizations to offer Linux servers (often Debian) on which members can host their personal page (often mod_userdir). This approach can have some drawbacks such as running PHP as each user in a safe way is hard.

What do people here think of the following alternative:
 * We have a reverse proxy listening on 80 and 443, it reverses https://perso.example.com/USER/ to a socket in /home/USER/.page.socket  * The user has the choice to use any web server they want on this socket. It can be uwsgi, Apache, Golang, NGINX...  * We propose a way to start (and stop) the user-side server with a service manager looking for incoming requests on this socket.

This may sound complex, but would allow flexibility and simplicity for users. It does not work because I believe Apache cannot listen on an unix socket file.

Does anyone have better solutions or ideas to explore?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux