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/apache22.mustache
{{#php_handler}}
<IfModule fastcgi_module>
    FastCgiExternalServer /default-{{php_handler}} -socket /run/php-fpm/{{php_handler}}.sock -idle-timeout 3600
    ScriptAlias /default-{{php_handler}}.fcgi /default-{{php_handler}}
</IfModule>
{{/php_handler}}

<Directory "/var/services/web">
    Options MultiViews FollowSymLinks ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all

    AddHandler default-handler .htm .html .shtml
{{#php_handler}}
    AddType text/html .php .php3 .php4 .php5 .phtml
    <IfModule fastcgi_module>
        AddHandler php-fastcgi .php .php3 .php4 .php5 .phtml
        Action php-fastcgi /default-{{php_handler}}.fcgi
    </IfModule>
{{/php_handler}}

</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

    Order allow,deny
    Allow from all

{{#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}}