From: Matthew Finkel <matthew.finkel@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] apache - virtual host not working
Date: Mon, 12 Dec 2011 02:03:02 -0500 [thread overview]
Message-ID: <CAGF8hssVC3ChVUFCxqrtxXpNGJZy0asQLLTjRKUFOauW8DFrLQ@mail.gmail.com> (raw)
In-Reply-To: <20111212062356.GM3810@syscon4.inet>
[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]
On Mon, Dec 12, 2011 at 1:23 AM, Joseph <syscon780@gmail.com> wrote:
>
> In /etc/hosts I have:
> 127.0.0.1 localhost.localdomain localhost mydomain.ca syscon5
> 10.0.0.100 www.mydomain.ca
>
> If I comment out: #10.0.0.100 www.mydomain.ca
> I can access this domain.
>
By "access", do you mean the website loads without the access restriction?
>
in: modules.d/00_default_settings.**conf
> # We configure the "default" to be a very restrictive set of features.
> <Directory />
> Options FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> </Directory>
>
Is there a reason you're giving access to / ?
>
> # added below
> <Directory "/var/www/localhost/htdocs">
> AllowOverride All
> Order allow,deny
> Allow from all
> </Directory>
>
> <FilesMatch "^\.ht">
> Order allow,deny
> Deny from all
> </FilesMatch>
>
Do you set the DocumentRoot within the file to a location to which the
apache user has read access?
> I don't know where else to look. I can not access virtual domain on port
> 80 nor on 443
> The server is working perfectly on my other computer running the same
> version of apache. As stated earlier I've compare configuration file with
> meld so I'm sure there are no mistakes.
>
> --
> Joseph
>
>
Hope we can get this resolved.
- Matt
--
Matthew Finkel
[-- Attachment #2: Type: text/html, Size: 2600 bytes --]
next prev parent reply other threads:[~2011-12-12 7:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 6:23 [gentoo-user] apache - virtual host not working Joseph
2011-12-12 7:01 ` J. Roeleveld
2011-12-12 7:03 ` Matthew Finkel [this message]
2011-12-12 7:12 ` J. Roeleveld
2011-12-12 7:21 ` [gentoo-user] [SOLVED] " Joseph
2011-12-12 7:26 ` J. Roeleveld
2011-12-12 7:56 ` Matthew Finkel
2011-12-12 9:22 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGF8hssVC3ChVUFCxqrtxXpNGJZy0asQLLTjRKUFOauW8DFrLQ@mail.gmail.com \
--to=matthew.finkel@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox