A webpage is being hosted by apache2, CentOS 6.2.
It Gets HTML, CSS, JS files ok to the client side. But CSS and JS don't render, What can be hapenning? Since they should run 100% on client side...
The mime types are probably wrong.
Check they're serving the content with Content-type: text/javascript
or Content-type: text/css
. You can check this using the Network tab of Chrome's Inspector or Firebug.
You'll need mod_mime, and ensure you have these lines in your httpd.conf
:
AddType text/css .css
AddType text/javascript .js
That should do it.
.htaccess
if you really have to, but will still need mod_mime
.