DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 11th May 2008
erehwon erehwon is offline
Port Guard
 
Join Date: May 2008
Location: Cascadia
Posts: 34
Thanked 0 Times in 0 Posts
Default Default Apache won't read .css file

Help! The default Apache install with my OpenBSD 4.3 box just won't display my webpages as styled -- displays them with no formatting at all.

Now, my "style.css" file is in the web directory, I checked the syntax, and the pages display as they should on my other machine, locally (a Mac laptop)

Both the CSS and HTML validate fine. I have tried both

Code:
<style type="text/css"> /*<![CDATA[*/ @import url(style.css) screen; /*]]>*/ </style>
and

Code:
<link rel="stylesheet" type="text/css" href="./style.css" />
but neither works.

I have TypesConfig conf/mime.types in my httpd.conf and css is listed; and I just don't get it.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP read file contents - Maximum file size cksraj Programming 1 21st September 2009 11:38 AM
Upgrading application not installed in default port directory APACHE ijk FreeBSD Ports and Packages 5 13th July 2008 04:34 PM
apache 2.2.8 , is it on chroot by default? superslot OpenBSD Security 9 30th June 2008 11:56 AM
DVD file read error louie FreeBSD General 7 30th May 2008 03:50 PM
Swfdec read-only file access vulnerability corey_james FreeBSD Ports and Packages 0 14th May 2008 11:31 PM


All times are GMT. The time now is 08:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick