SCIENTIFIC-LINUX-USERS Archives

January 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Elias Persson <[log in to unmask]>
Reply To:
Elias Persson <[log in to unmask]>
Date:
Fri, 11 Jan 2013 13:31:04 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
On 2013-01-11 00:14, CS DBA wrote:
> Our /etc/httpd/conf/http.conf file includes this:
>
>
> <VirtualHost *:80>
>      DocumentRoot /var/www/html/mysite
>      ServerName mysite.com
>      ServerAlias www.mysite.com
> </VirtualHost>
>
>
>
> And our /etc/httpd/conf.d/mysite.conf file looks like this:
>
> <Directory /var/www/html/mysite>
>    Order Deny,Allow
>    Allow from all
>    AddHandler cgi-script .cgi
>    Options +Indexes +ExecCGI +FollowSymLinks
>    DirectoryIndex index.cgi
>    AllowOverride Limit Options FileInfo
> </Directory>
>
>
>
>
> Thoughts?

It appears you've missed the NameVirtualHost directive.

http://httpd.apache.org/docs/2.2/mod/core.html#namevirtualhost

ATOM RSS1 RSS2