Hi all
I'm doing my first CSS with a CGI, and I'm haivng some configuration problems.
I'm on a Mac, Panther.
I've got a CGI that prints a head with "@import url" to connect to a
stylesheet. The
web page comes out fine, but without the stylesheet applied.
The CGI is in the systemwide cgi-bin
(/Library/WebServer/CGI-Executables), and I've
tried the stylesheet in both the systemwide web documents folder, and
my own local
web folder. Same effect - zip. I've tried little variations on the
import (slashes, etc), to
no effect. I've been advised that the @import is the correct method
(although I have no
experience here).
If I save the source of the page to a file in my local web folder, and
simply open it up as a
static page, the CSS is applied as it should be. No trouble there.
The Apache log gives me complaints about the imported file not
existing, and one
weird one about not being able to find a file called cpan.css. What the dilly?
Mike
--
"It's beyond my ken... and my Barbie, and all of my action figures."
I'm doing my first CSS with a CGI, and I'm haivng some configuration problems.
I'm on a Mac, Panther.
I've got a CGI that prints a head with "@import url" to connect to a
stylesheet. The
web page comes out fine, but without the stylesheet applied.
The CGI is in the systemwide cgi-bin
(/Library/WebServer/CGI-Executables), and I've
tried the stylesheet in both the systemwide web documents folder, and
my own local
web folder. Same effect - zip. I've tried little variations on the
import (slashes, etc), to
no effect. I've been advised that the @import is the correct method
(although I have no
experience here).
If I save the source of the page to a file in my local web folder, and
simply open it up as a
static page, the CSS is applied as it should be. No trouble there.
The Apache log gives me complaints about the imported file not
existing, and one
weird one about not being able to find a file called cpan.css. What the dilly?
Mike
--
"It's beyond my ken... and my Barbie, and all of my action figures."
Comment