S sunray Member Mar 26, 2008 #1 Mar 26, 2008 #1 I would like to parse a specific .js file as a PHP file, PHP binary has been built with LiteSpeed SAPI. Any help is appreciated.
I would like to parse a specific .js file as a PHP file, PHP binary has been built with LiteSpeed SAPI. Any help is appreciated.
M mistwang LiteSpeed Staff Mar 26, 2008 #2 Mar 26, 2008 #2 In .htaccess AddType x-httpd-php .js if need the special treatment for only one file, and there are other .js file in the same directory, you may have to use a rewrite rule to override the MIME type to "x-httpd-php".
In .htaccess AddType x-httpd-php .js if need the special treatment for only one file, and there are other .js file in the same directory, you may have to use a rewrite rule to override the MIME type to "x-httpd-php".