From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] apache - virtual host not working
Date: Sun, 11 Dec 2011 23:23:56 -0700 [thread overview]
Message-ID: <20111212062356.GM3810@syscon4.inet> (raw)
Any any body provide me with hint why my "virtual host" is not working in apache?
I've copied server config files from one computer to another.
I used "meld" to be sure most changes are accurate but when try to access virtual host:
I get:
Forbidden
You don't have permission to access / on this server.
I don't know where else to look.
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.
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>
# 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>
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
next reply other threads:[~2011-12-12 6:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 6:23 Joseph [this message]
2011-12-12 7:01 ` [gentoo-user] apache - virtual host not working J. Roeleveld
2011-12-12 7:03 ` Matthew Finkel
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=20111212062356.GM3810@syscon4.inet \
--to=syscon780@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