httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phil <p...@philfixit.info>
Subject Re: Fwd: Re: [users@httpd] Virtual Host Not working
Date Sat, 14 May 2016 23:53:46 GMT

On 15/05/2016 6:16 AM, Beech wrote:
>
>
>
> -------- Forwarded Message --------
> Subject: Re: [users@httpd] Virtual Host Not working
> Date: Sat, 14 May 2016 21:46:41 +0200
> From: miguel gonzalez <miguel_3_gonzalez@yahoo.es>
> To: Beech <akbeech@gmail.com>, users@httpd.apache.org
>
> I always have used either the ip address or the wildcard * in the
> virtualhost directive.
>
> Have you checked the logs?
>
> Beech <akbeech@gmail.com> wrote:
>
>> I have added a new virtual domain and it's not working. No error
>> messages, just won't connect. I have triple checked the paths and
>> spelling. DNS is propagated and dig returns the correct IP.  The other
>> domains work. Here's the setting, it's Apache24:
>>
>> <VirtualHost www.greatlandfishing.com:80>
>>     ServerAdmin akbeech@gmail.com
>>     DocumentRoot "/usr/local/www/fishing/htdocs"
>>     ServerName www.greatlandfishing.com
>>     ServerAlias www.greatlandfishing.com
>>     ErrorLog "/usr/local/www/fishing/logs/greatlandfishing-error_log"
>>     CustomLog "/usr/local/www/fishing/logs/greatlandfishing-access_log"
>> common
>>     AddType application/x-httpd-php .php .phtml
>>     AddType application/x-httpd-php-source .phps
>> <Directory "usr/local/www/fishing/htdocs>

Try changing the above line to:

<Directory usr/local/www/fishing/htdocs/>

reload apache, it might help . . .

-- 
Regards
Phil

>>     AllowOverride All
>>     DirectoryIndex index.php index.html index.htm
>>     Order Allow,Deny
>>     Allow from All
>> </Directory>
>> </VirtualHost>
>>
>> Does anyone have a suggestion? The other vhosts have almost identical
>> configs and work.
>>
>> Beech
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
> I have checked the logs, nothing. I also changed the directive back to
> *:80, no difference. I'm starting to think I have a dns problem on this
> FreeBSD box. Thanks for the reply.
>
> Beech
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message