JK Web Studio

Specializing in efficient and user friendly web design solutions

info@jkwebstudio.com

Adding server side includes to JS and CSS files

Add the following to apache.conf to use server side includes in JS and CSS files:

AddType application/javascript .js
AddOutputFilter INCLUDES .js
AddType text/css .css
AddOutputFilter INCLUDES .css


Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all

Leave a Reply