HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: /volume1/@appstore/WebStation/misc/apache24.mustache
<Directory "/var/services/web">
    <FilesMatch "\.(php[345]?|phtml)$">
        {{#php_handler}}SetHandler "proxy:unix:/run/php-fpm/{{php_handler}}.sock|fcgi://localhost"{{/php_handler}}
        {{^php_handler}}Redirect 500{{/php_handler}}
    </FilesMatch>
    Options MultiViews FollowSymLinks ExecCGI
    AllowOverride All
    <IfModule authz_core_module>
        Require all granted
    </IfModule>
    <IfModule dir_module>
        DirectoryIndex index.html index.htm index.cgi index.php index.php5
    </IfModule>
</Directory>


{{#userdir}}
LoadModule userdir_module modules/mod_userdir.so
{{#userdir_php}}
LoadModule suphp_module modules/mod_suphp.so
{{/userdir_php}}

UserDir www

<Directory "/var/services/homes/">
    AllowOverride Options=Indexes AuthConfig FileInfo Indexes Limit
    Options MultiViews ExecCGI

    <IfModule authz_core_module>
        Require all granted
    </IfModule>
    <IfModule dir_module>
        DirectoryIndex index.html index.htm index.cgi index.php index.php5
    </IfModule>
{{#userdir_php}}
    AddHandler application/x-httpd-suphp .php .php3 .php4 .php5 .phtml

    suPHP_Engine on
    suPHP_AddHandler application/x-httpd-suphp

    SetEnv PHP_INI_SCAN_DIR /usr/syno/etc/packages/WebStation/php_profile/{{userdir_php}}/conf.d:/run/php-fpm/conf.d
{{/userdir_php}}
</Directory>
{{/userdir}}