Re: [Hampshire] Subdomains on a CentOS box

Top Page

Reply to this message
Author: richard
Date:  
To: hampshire
Subject: Re: [Hampshire] Subdomains on a CentOS box
Right, in /etc/httpd/conf.d there is:

manual.conf
perl.conf
php.conf
python.conf
README
ssl.conf
webalizer.conf
welcome.conf

?

Rich

Quoting Dr Adam J Trickett <adam.trickett@???>:

> On Tue, 22 Jan 2008 at 04:03:03PM +0000, Alex wrote:
>> -----Original Message-----
>> From: richard@???
>> My httpd.conf file is blank (this was my first port of call) so can I
>> just can the subdomain info to that or do I need to configure
>> something else.
>>
>> That's because the config is called apache2.conf. BUT, at least
>> Debian (that know)
>> puts the configuration files in /etc/apache2/sites-available and
>> a2ensite creates
>> symlinks to these files under sites-enabled, which apache looks at for site
>> configuration (as well as apache2.conf). For virtual hosting, I
>> highly recommend
>> sticking to this setup as it keeps things simple.
>>
>
> On my stock RHEL4 box, RedHat do like Debian in using a set of files
> in a directory,
> but it's a different directory from the Debian one.
>
> Have a look in /etc/httpd/conf.d/
>
> --
> Adam Trickett
> Overton, HANTS, UK
>
> Considering the number of wheels Microsoft has found reason
> to invent, one never ceases to be baffled by the minuscule
> number whose shape even vaguely resembles a circle.
>     -- anon, on Usenet

>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>