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-05-08, 22:50:01

Author Topic: Missing suphp configs in apache config  (Read 2396 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Missing suphp configs in apache config
« on: 2013-04-01, 00:10:40 »
I've tested /script/fixweb on my test production server and it automatically generate large _default.conf apache file with such entries:

Code: [Select]
       <Location "/~profigrouplg">
            <IfModule mod_suphp.c>
                SuPhp_UserGroup profigrouplg profigrouplg
            </IfModule>
        </Location>
        <Location "/~masterdigit">
            <IfModule mod_suphp.c>
                SuPhp_UserGroup masterdigit masterdigit
            </IfModule>

Test server config:

Code: [Select]
sh /script/sysinfo
A. Kloxo-MR: 6.5.0.f-2013031808

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.1-1
   2. PHP: php-5.4.13-1.el5.remi
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.13-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: djbdns-1.05-5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32241       2942      29299          0         61        679
   -/+ buffers/cache:       2200      30040
   Swap:        16095          0      16095


However when I run the same on my real production server file _default.conf is much smaller and such entries are missing.

Please not tpl files are the same on both servers.

Production server config:

Code: [Select]
A. Kloxo-MR: 6.5.0.f-2013031808

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.1-1
   2. PHP: php-5.4.13-1.el5.remi
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.14-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: djbdns-1.05-5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32171      27009       5162          0       1151      15463
   -/+ buffers/cache:      10394      21776
   Swap:         2047         27       2020
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Missing suphp configs in apache config
« Reply #1 on: 2013-04-01, 00:25:12 »
Something like:
Code: [Select]
       <Location "/~profigrouplg">
            <IfModule mod_suphp.c>
                SuPhp_UserGroup profigrouplg profigrouplg
            </IfModule>
        </Location>
importance when access via 'http://ip/~profigrouplg' especially to prevent famous '500 error' for suphp.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Missing suphp configs in apache config
« Reply #2 on: 2013-04-01, 00:28:52 »
Quote from: "MRatWork"
Something like:
Code: [Select]
       <Location "/~profigrouplg">
            <IfModule mod_suphp.c>
                SuPhp_UserGroup profigrouplg profigrouplg
            </IfModule>
        </Location>
importance when access via 'http://ip/~profigrouplg' especially to prevent famous '500 error' for suphp.

So how to get it back ? I can copy it from my test server but as soon I add new domain is being overwritten with a small files.

This is php 5.4 + php_fpm_event + lxphp as secondary PHP
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.031 seconds with 22 queries.

web stats analysis