snoopotic Posted September 26, 2013 Share Posted September 26, 2013 Hi if you run froxlor on fcgid and tick the responsible checkbox (use fcgi in froxlor vhost) the configfile written is on old (not working!) style. the diff looks like that (the above one is a copy I made before the cron created the wrong one): < # Created 26.09.2013 18:40 --- > # Created 26.09.2013 18:55 13,17c13,15 < <FilesMatch "\.(php)$"> < SetHandler fcgid-script < FcgidWrapper /var/www/php-fcgi-scripts/froxlor.panel/<hostname>/php-fcgi-starter .php < Options +ExecCGI < </FilesMatch> --- > AddHandler fcgid-script .php > FcgidWrapper /var/www/php-fcgi-scripts/froxlor.panel/<hostname>/php-fcgi-starter .php > Options +ExecCGI This is obviously a bug, isn't it? Link to comment Share on other sites More sharing options...
d00p Posted September 26, 2013 Share Posted September 26, 2013 Are you on the latest git-version Link to comment Share on other sites More sharing options...
d00p Posted September 26, 2013 Share Posted September 26, 2013 EDIT: fixed in current git-version, thanks Link to comment Share on other sites More sharing options...
snoopotic Posted September 27, 2013 Author Share Posted September 27, 2013 thanks for your quick help. but I am using the debian package. Link to comment Share on other sites More sharing options...
d00p Posted September 27, 2013 Share Posted September 27, 2013 So? I cannot fix already released packages. You will get the fix with the next release as debian package or you can use the current git-version (installation from tarball) Link to comment Share on other sites More sharing options...
snoopotic Posted September 27, 2013 Author Share Posted September 27, 2013 Yeah in my production system i like to use "stable" ones. Maybe i think about that again or you may build a fix release for the distributions. Do you have a automated buildsystem? Otherwise I may help you. I tested your fix by replacing the file from the corresponding commit on my testsystem, but that threw a strange db error. Obviously you've made some other important changes... Link to comment Share on other sites More sharing options...
d00p Posted September 27, 2013 Share Posted September 27, 2013 You cannot just use single files from newer versions. All or nothing. Also, theres no buildsystem. What for, Froxlor does not need to be compiled or anything Link to comment Share on other sites More sharing options...
snoopotic Posted September 29, 2013 Author Share Posted September 29, 2013 Hi, okay, thanks for your reply. Well I know whot php is, but I meant the .deb package that must be built Nevertheless... I tried the git Repo but the cron throws then: PHP Notice: Undefined variable: user in .../froxlor/scripts/jobs/cron_tasks.inc.http.10.apache.php on line 231 THe notice is right. you shall set this variable .=) But the script works. Link to comment Share on other sites More sharing options...
d00p Posted September 29, 2013 Share Posted September 29, 2013 fixed thanks again. Copy and paste mistake Link to comment Share on other sites More sharing options...
snoopotic Posted September 29, 2013 Author Share Posted September 29, 2013 I found out the php-fpm one has the same bug as reported on topic Sorry for making you a lot work the old one: # AddHandler php5-fastcgi .php # Action php5-fastcgi /fastcgiphp # Options +ExecCGI shall be replaced by: <FilesMatch "\.(php)$"> SetHandler php5-fastcgi Action php5-fastcgi /fastcgiphp Options +ExecCGI </FilesMatch> Link to comment Share on other sites More sharing options...
d00p Posted September 29, 2013 Share Posted September 29, 2013 really really weird, thought that stuff has been updated for ages....i've no idea why this is still AddHandler...i have memories of updating that...well, here we go, fixed in git Link to comment Share on other sites More sharing options...
d00p Posted September 30, 2013 Share Posted September 30, 2013 This "SetHandler" thing can only work if you ADDED that handler (using AddHandler) before anywhere...needs more fixing Link to comment Share on other sites More sharing options...
Question
snoopotic
Hi if you run froxlor on fcgid and tick the responsible checkbox (use fcgi in froxlor vhost) the configfile written is on old (not working!) style.
This is obviously a bug, isn't it?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.