February 13, 201214 yr comment_10116 Apache will not load my css and javascript files, nor will it load includes. The site worked fine on someone else's server and works within Dreamweaver (live view). I triple-checked spelling, paths and case in my .htm and .css. I can open the css and js files in my browser: e.g. localhost/css/stylesheet.css. I have started and restarted Apache numerous times and experimented with .htaccess settings, with no success. I will be very grateful for any assistance! .htaccess: Options +IncludesAddType text/html .htmAddType text/css .cssAddType application/x-javascript .jsAddHandler server-parsed .htmOptions Indexes FollowSymLinks IncludesRewriteEngine on# Make URLs case insensitiveCheckSpelling OnCheckCaseOnly on Example code from webpage:<link rel="stylesheet" type="text/css" href="/css/style.css" /><!-- #include file="/includes/header.htm" --><script type="text/javascript" src="/js/jquery.nivo.slider.pack.js"></script> Report
February 14, 201214 yr comment_10119 If CSS not loading, there's a path problem at your config. This is not an Uniserver error. Everything of your website should in the /www/ folder;Pls post the folder-structure of /www/ Report
February 14, 201214 yr Author comment_10120 If CSS not loading, there's a path problem at your config. This is not an Uniserver error. Everything of your website should in the /www/ folder; Pls post the folder-structure of /www/ Thanks for the reply, traxxus. Through experimenting, I found a solution--remove + from "Options +Includes" and add "AddOutputFilter INCLUDES .htm". Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.