RE: [OT] two domains and one ip / apache [ css weirdness ]
I'm not familiar with style sheets, but if they have a specific extensions
(.css?), you prog need to setup a handler for it in httpd.conf, i'm not
sure the exact syntac you would need to enable them, but here's what ia
have to setup SSI and PHP4:
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler server-parsed .htmlAddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-hhtpd-php .php4
The line you want is prob along the lines:
AddHandler ????? css
but as i'm not very familiar with style sheets, hopefully someone else
here can clarify a bit better
-Casey
On Tue, 16 Jan 2001, Joris Lambrecht wrote:
> eh, little of topic but i'm pulling out my hairs ...
>
> i've just configured apache to run and took loads of time to figure out the
> shebang syntax for my config (ibm http + windows 2000 professional), now it
> refuses to render style sheets ... what am i supposed to do ?
>
> edit httpd.conf i presume ...
>
>
> tnx,
>
> J.L.
>
> -----Original Message-----
> From: Casey Webster [mailto:casey@trifocus.net]
> Sent: Tuesday, January 16, 2001 3:04 PM
> To: ktb
> Cc: debian-user@lists.debian.org
> Subject: Re: [OT] two domains and one ip / apache
>
>
> i attatched part of my apache config for you, i have a lot of domains
> using 1 ip. Note that the sytax i'm using is only good for 1.3.14 and
> later (the <virtualhost *> lines in particular).
>
> -Casey
>
> On Mon, 15 Jan 2001, ktb wrote:
>
> > I've been searching for a while in the Apache documentation. I have
> > heard it is possible to have a working setup where you have one ip and
> > two domain names. Do I use aliasing with Apache to do this on the
> > server side or what? The examples I see use aliasing for sub domains.
> > I want one domain to go to one directory on the
> > server and the other a different directory.
> > Thanks,
> > kent
> >
> > --
> > I'd really love to wana help you Flanders but... Homer Simpson
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
>
Reply to: