D DoM Well-Known Member Dec 15, 2010 #1 Dec 15, 2010 #1 Hi, from where i can modify error page like code 403,404,500 and so on ? Litespeed does not take automatically error page configured from cPanel/WHM ? Waiting for your reply Regards
Hi, from where i can modify error page like code 403,404,500 and so on ? Litespeed does not take automatically error page configured from cPanel/WHM ? Waiting for your reply Regards
N NiteWave Administrator Dec 15, 2010 #2 Dec 15, 2010 #2 lsws support ErrorDocument directive. as long as ErrorDocument in httpd.conf or .htaccess, lsws will pick them up.
lsws support ErrorDocument directive. as long as ErrorDocument in httpd.conf or .htaccess, lsws will pick them up.
I itdungpt Member Jun 26, 2012 #3 Jun 26, 2012 #3 i want default for all account. don't want use .htaccess
W webizen Well-Known Member Jun 26, 2012 #4 Jun 26, 2012 #4 for system wide default, you can configure ErrorDocument in httpd.conf or a conf file included by httpd.conf.
for system wide default, you can configure ErrorDocument in httpd.conf or a conf file included by httpd.conf.
B bangsters Well-Known Member Jun 28, 2012 #5 Jun 28, 2012 #5 webizen, for system wide, does litespeed recognize php files for 404 errordocs? i have tweaked mine, it takes html files, but not php files.
webizen, for system wide, does litespeed recognize php files for 404 errordocs? i have tweaked mine, it takes html files, but not php files.
W webizen Well-Known Member Jun 28, 2012 #6 Jun 28, 2012 #6 bangsters said: webizen, for system wide, does litespeed recognize php files for 404 errordocs? i have tweaked mine, it takes html files, but not php files. Click to expand... It should. what does your php file look like?
bangsters said: webizen, for system wide, does litespeed recognize php files for 404 errordocs? i have tweaked mine, it takes html files, but not php files. Click to expand... It should. what does your php file look like?
B bangsters Well-Known Member Jun 28, 2012 #7 Jun 28, 2012 #7 webizen said: It should. what does your php file look like? Click to expand... regular php file. the guys at interworx managed to fix it. needed to add the following the the httpd.conf file just above the errordocument line AddHandler php5-script .php AddType text/html .php
webizen said: It should. what does your php file look like? Click to expand... regular php file. the guys at interworx managed to fix it. needed to add the following the the httpd.conf file just above the errordocument line AddHandler php5-script .php AddType text/html .php