Control Web Panel

WebPanel => Apache => Topic started by: HEKPOMAHT on March 13, 2020, 04:29:14 PM

Title: SSI support in latest versions
Post by: HEKPOMAHT on March 13, 2020, 04:29:14 PM
I have several servers with CWP. Some of them I unstalled 1 year ago. But i have 2 new servers with cwp, where i have installed 0.9.8.950. Old server already updated to 0.9.8.950
The same site runs on the old server, but not on the new.
Error log:
Code: [Select]
public_html/.htaccess: Invalid command 'SSILegacyExprParser', perhaps misspelled or defined by a module not included in the server configuration, referer:.htaccess:
Code: [Select]
SSILegacyExprParser on
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes SymLinksIfOwnerMatch Includes
AddHandler server-parsed .html .htm

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
Title: Re: SSI support in latest versions
Post by: Sandeep on March 13, 2020, 04:46:13 PM
hi whats the apache version on new server and old server ?
Title: Re: SSI support in latest versions
Post by: HEKPOMAHT on March 13, 2020, 05:26:37 PM
hi whats the apache version on new server and old server ?
Apache version: Apache/2.4.39
On the new server I downgraded to Apache/2.4.29, no changes.
With LiteSpeed Enterprise it works fine, but I need Apache
Title: Re: SSI support in latest versions
Post by: Sandeep on March 15, 2020, 09:07:04 AM
you should remove
SSILegacyExprParser from htacces and check
Title: Re: SSI support in latest versions
Post by: HEKPOMAHT on March 17, 2020, 06:17:04 PM
With LiteSpeed Enterprise:
https://imgur.com/hI6PMyD
With Apache without SSILegacyExprParser in htacces
https://imgur.com/OhFhEjV
Title: Re: SSI support in latest versions
Post by: Sandeep on March 18, 2020, 06:11:08 AM
check that "mod_include" is enabled on your apache config