Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Virtual hosts

Virtual hosts

2006-09-18       - By Maxim Vexler

 Back
Reply:     1     2     3     4     5  

On 9/18/06, Nair, Murlidharan T <mnair@(protected)> wrote:
>
>
> __ ____ ____ ____ ____ ____ ____
>
> From: redhat-install-list-bounces@(protected) on behalf of Maxim Vexler
> Sent: Sun 9/17/2006 1:23 PM
> To: Getting started with Red Hat Linux
> Subject: Re: Virtual hosts
>
>
>
> On 9/17/06, Nair, Murlidharan T <mnair@(protected)> wrote:
> >
> >
> > I am trying to configure my httpd.conf to specify a virtual host. I have
> > not done this before. I am getting the following error
> >
> > [root@(protected) init.d]# ./httpd restart
> > Stopping httpd:                                            [  OK  ]
> > Starting httpd: [Sun Sep 17 10:22:55 2006] [error] VirtualHost
> > _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost
> > address is not supported, proceeding with undefined results
> >                                                            [  OK  ]
> >
> > Do I have to make an entry in the DNS record, specifying the virtual
> > host? Its the cname I guess correct?
> > Let me know if I have goofed up any where.
> > Cheers ../Murli
> >
> >
> > #httpd.conf is this correct ?
> > # Virtual host Default Virtual Host
> > NameVirtualHost *
> > <VirtualHost *>
> >         ServerName bioinformatics.iusb.edu
> > # this is what the ip (149.161.64.244) for the machine has been mapped
> > as
> >         ServerAlias www.bioinformatics.iusb.edu
> >         VirtualDocumentRoot /var/www/html
> >         ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> >         ServerSignature email
> >         DirectoryIndex  index.php index.html index.htm index.shtml
> >        LogLevel  warn
> > #       HostNameLookups off
> > </VirtualHost>
> >
> > <VirtualHost *>
> >     ServerName splice.bioinformatics.iusb.edu
> >     VirtualDocumentRoot /mnt/webservice/splicehtml
> >     ScriptAlias /cgi/ "/mnt/webservice/splicecgi-bin/"
> > <Directory "/mnt/webservice/splicehtml">
> >         Options Indexes Includes FollowSymLinks
> >         AllowOverride None
> >         Allow from all
> >         Order allow,deny
> > </Directory>
> > <Directory "/var/www/icons">
> >         Options Indexes MultiViews
> >         AllowOverride None
> >         Allow from all
> >         Order allow,deny
> > </Directory>
> > <Directory "/mnt/webservice/splicecgi-bin">
> >         Options ExecCGI
> >         AllowOverride None
> >         Allow from all
> >         Order allow,deny
> > </Directory>
> > </VirtualHost>
> >
>
> Hi, Attach my virtual hosts file I am using on my debian server.
> See if that helps you
>
> <<<
> NameVirtualHost wiki
>
> <VirtualHost wiki>
> ServerName wiki
> DocumentRoot /var/www/
> RedirectMatch ^/$ /twiki/bin/view/
>        <Directory /twiki/>
>               Options Indexes FollowSymLinks MultiViews
>               AllowOverride None
>               Order allow,deny
>               allow from all
>              # This directive allows us to have apache2's default start page
>              # in /apache2-default/, but still have / go to the right place
>       </Directory>
> </VirtualHost>
>
>
> NameVirtualHost noc
>
> <VirtualHost noc>
> ServerName noc
> DocumentRoot /var/www/
> RedirectMatch ^/$ /otrs/
> </VirtualHost>
>
> NameVirtualHost helpdesk
>
> <VirtualHost helpdesk>
> ServerName helpdesk
> DocumentRoot /var/www/
> RedirectMatch ^/$ /otrs/customer.pl
> </VirtualHost>
>
> NameVirtualHost *:80
> <VirtualHost *>
>        ServerAdmin webmaster@(protected)
>
>        DocumentRoot /var/www/
>        <Directory />
>                Options FollowSymLinks
>                AllowOverride None
>        </Directory>
>        <Directory /var/www/>
>                Options Indexes FollowSymLinks MultiViews
>                AllowOverride None
>                Order allow,deny
>                allow from all
>                # This directive allows us to have apache2's default start page
>                # in /apache2-default/, but still have / go to the right place
>                RedirectMatch ^/$ /twiki/bin/view/
>        </Directory>
>
>        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>        <Directory "/usr/lib/cgi-bin">
>                AllowOverride None
>                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
>                Order allow,deny
>                Allow from all
>        </Directory>
>
>        ErrorLog /var/log/apache2/error.log
>
>        # Possible values include: debug, info, notice, warn, error, crit,
>        # alert, emerg.
>        LogLevel warn
>
>        CustomLog /var/log/apache2/access.log combined
>        ServerSignature On
>
>    Alias /doc/ "/usr/share/doc/"
>    <Directory "/usr/share/doc/">
>        Options Indexes MultiViews FollowSymLinks
>        AllowOverride None
>        Order deny,allow
>        Deny from all
>        Allow from 127.0.0.0/255.0.0.0 ::1/128
>    </Directory>
>
> </VirtualHost>
> >>>
>
>
> --
> Cheers,
> Maxim Vexler
>
> I presume your main server is wiki correct? do you have two installations of
Apache?  Also do you have the virtual host as one of the DNS records ?
>
> Thanks ../Murli
>
>

Yes, wiki is the main server.
The is only a single instance of the Apache daemon running.

otrs it CNAME in the DNS.
This server is in the internal network that why you are not seeing
fqdn dns names.

>
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> Redhat-install-list mailing list
> Redhat-install-list@(protected)
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request@(protected)
> Subject: unsubscribe
>
>


--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe