17 Commits

Author SHA1 Message Date
Dietmar Maurer
fa239655a0 introduce base_handler_class
To make the framework more generic. The final plan is to move the
generic server code to package pve-common.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2014-04-30 08:31:14 +02:00
Dietmar Maurer
56e59fcc14 add X-UA-Compatible tag
To avoid GUI bugs with IE
2014-04-26 09:33:02 +02:00
Dietmar Maurer
45c7d95974 correctly set content type for GUI index page 2013-10-29 11:09:26 +01:00
Stefan Priebe
cc04752964 do not use -w switch as it breaks modules
-w enabled warnings for all modules - even when these modules comes from the OS and are not compatible
with warnings. This is the reason to NOT use -w and instead use "use warnings".
2013-10-01 10:36:47 +02:00
Dietmar Maurer
dd28cbbd1b add favicon.ico 2013-08-16 13:06:32 +02:00
Dietmar Maurer
787217cdca allow to configure cipher list for pveproxy 2013-08-01 09:36:53 +02:00
Dietmar Maurer
60172a9333 pveproxy: use same cipher list as debian apache ssl.conf 2013-07-24 06:56:45 +02:00
Dietmar Maurer
3ffb722d3c reuse host based access control code for spiceproxy 2013-06-27 07:55:11 +02:00
Dietmar Maurer
81af31335e pveproxy: implement host based access control 2013-04-23 10:30:10 +02:00
Dietmar Maurer
cb39891f75 code cleanups 2013-04-17 08:28:05 +02:00
Dietmar Maurer
519ea5b07f implement file upload
And remove CGI.pm dependency (because we want nonblocking upload).
2013-04-15 11:20:17 +02:00
Dietmar Maurer
f4defdaafb code cleanups 2013-04-11 08:31:03 +02:00
Dietmar Maurer
21920a6243 implement signal handler for clean reload/restart 2013-04-10 11:12:03 +02:00
Dietmar Maurer
4b73743aa9 run pveproxy as unpriviledged user (www-data)
We log to /var/log/pveproxy/access.log. Extra directory is needed because we run
as www-data (no permissions to write into /var/log/pve/).
2013-04-10 09:58:35 +02:00
Dietmar Maurer
60630ac1c3 only allow pre-defined directories (avoid regex)
Just to be more secure.
2013-04-10 07:10:50 +02:00
Dietmar Maurer
eff15abe48 use liburi-perl to get query params 2013-04-10 06:08:03 +02:00
Dietmar Maurer
962a5c2865 implement new event based api server 2013-04-09 11:51:51 +02:00