public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] apache - virtual host not working
  @ 2011-12-12  7:03 99% ` Matthew Finkel
  0 siblings, 0 replies; 1+ results
From: Matthew Finkel @ 2011-12-12  7:03 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-12  6:23     [gentoo-user] apache - virtual host not working Joseph
2011-12-12  7:03 99% ` Matthew Finkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox