Server and Web Integrator
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2019-07-21, 16:44:31

Author Topic: Problem with domains.conf.tpl  (Read 2153 times)

0 Members and 1 Guest are viewing this topic.

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Problem with domains.conf.tpl
« on: 2017-09-22, 19:02:07 »
I have a problem with the file "/opt/configs/apache/tpl/domains.conf.tpl". Inside appears code that gives me critical error.

Code: [Select]
If I remove the "<?=$phpselected;?>-" it works correctly.

I must have some file without updating correctly that still retains old code. That's why I'd like to ask where it runs-designates the name of the sock. The original file to which it refers.

This is the complete section:

Code: [Select]
<IfModule mod_fastcgi.c>
Alias /<?=$domainname;?>.<?=$count;?>fake "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake"
#FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
# -host<?=$fpmport;?> -idle-timeout <?=$timeout;?> -pass-header Authorization
FastCGIExternalServer "<?=$webdocroot;?>/<?=$domainname;?>.<?=$count;?>fake" \
-socket /opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock \
-idle-timeout <?=$timeout;?> -pass-header Authorization
<FilesMatch \.php$>
SetHandler application/x-httpd-fastphp
Action application/x-httpd-fastphp /<?=$domainname;?>.<?=$count;?>fake
<Files "<?=$domainname;?>.<?=$count;?>fake">
RewriteCond %{REQUEST_URI} !<?=$domainname;?>.<?=$count;?>fake
« Last Edit: 2017-09-22, 19:04:21 by KloxoLittleFish »

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Problem with domains.conf.tpl
« Reply #1 on: 2017-09-24, 16:01:08 »
Have you upgraded lately?
Try 'sh /script/cleanup && sh /script/fix-all'


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.086 seconds with 21 queries.

web stats analysis