Sudah. Oya, setelah saya lihat di /etc/apache2/sites-avalaible/ terdapat file berikut: uktbkt.iainbanten.ac.id.vhost
Isinya:
# Apache did not start after modifying this vhost file.
# Please check file /etc/apache2/sites-available/uktbkt.iainbanten.ac.id.vhost.err for syntax errors.
dan uktbkt.iainbanten.ac.id.vhost.err
Isinya:
<Directory /var/www/uktbkt.iainbanten.ac.id>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<Directory /var/www/uktbkt.iainbanten.ac.id/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client3/web3/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# cgi enabled
<Directory /var/www/clients/client3/web3/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client3/web3/cgi-bin/
<FilesMatch "\.(cgi|pl)$">
SetHandler cgi-script
</FilesMatch>
# php as fast-cgi enabled
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
<IfModule mod_fcgid.c>
IdleTimeout 300
ProcessLifeTime 3600
# MaxProcessCount 1000
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 100
IPCConnectTimeout 3
IPCCommTimeout 600
BusyTimeout 3600
</IfModule>
<Directory /var/www/uktbkt.iainbanten.ac.id/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client3/web3/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web3 client3
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /var/www/clients/client3/web3/webdav>
<ifModule mod_security2.c>
SecRuleRemoveById 960015
SecRuleRemoveById 960032
</ifModule>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /var/www/clients/client3/web3/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
Ketika saya coba rename uktbkt.iainbanten.ac.id.vhost.err keuktbkt.iainbanten.ac.id.vhost . Kemudian restart apache, muncul error sbb:
Syntax error on line 79 of /etc/apache2/sites-enabled/100-uktbkt.iainbanten.ac.id.vhost:
Invalid command 'FCGIWrapper', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Sudah. Oya, setelah saya lihat di /etc/apache2/sites-avalaible/ terdapat file berikut: uktbkt.iainbanten.ac.id.vhost
Isinya:
# Apache did not start after modifying this vhost file.
# Please check file /etc/apache2/sites-available/uktbkt.iainbanten.ac.id.vhost.err for syntax errors.
dan uktbkt.iainbanten.ac.id.vhost.err
Isinya:
<Directory /var/www/uktbkt.iainbanten.ac.id>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<Directory /var/www/uktbkt.iainbanten.ac.id/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client3/web3/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# cgi enabled
<Directory /var/www/clients/client3/web3/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client3/web3/cgi-bin/
<FilesMatch "\.(cgi|pl)$">
SetHandler cgi-script
</FilesMatch>
# php as fast-cgi enabled
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
<IfModule mod_fcgid.c>
IdleTimeout 300
ProcessLifeTime 3600
# MaxProcessCount 1000
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 100
IPCConnectTimeout 3
IPCCommTimeout 600
BusyTimeout 3600
</IfModule>
<Directory /var/www/uktbkt.iainbanten.ac.id/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client3/web3/web>
<FilesMatch "\.php[345]?$">
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php3
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php4
FCGIWrapper /var/www/php-fcgi-scripts/web3/.php-fcgi-starter .php5
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web3 client3
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /var/www/clients/client3/web3/webdav>
<ifModule mod_security2.c>
SecRuleRemoveById 960015
SecRuleRemoveById 960032
</ifModule>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /var/www/clients/client3/web3/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
Ketika saya coba rename uktbkt.iainbanten.ac.id.vhost.err keuktbkt.iainbanten.ac.id.vhost . Kemudian restart apache, muncul error sbb:
Syntax error on line 79 of /etc/apache2/sites-enabled/100-uktbkt.iainbanten.ac.id.vhost:
Invalid command 'FCGIWrapper', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!