Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 11:58:17

Author Topic: Problem with domains.conf.tpl  (Read 4378 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]
/opt/configs/php-fpm/sock/<?=$phpselected;?>-<?=$sockuser;?>.sock
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 127.0.0.1:<?=$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
</FilesMatch>
Action application/x-httpd-fastphp /<?=$domainname;?>.<?=$count;?>fake
<Files "<?=$domainname;?>.<?=$count;?>fake">
RewriteCond %{REQUEST_URI} !<?=$domainname;?>.<?=$count;?>fake
</Files>
</IfModule>
« 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'
Kloxo-MR!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.047 seconds with 20 queries.

web stats analysis