httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] Problem with Redirect
Date Sun, 09 Jul 2017 14:04:27 GMT
Also jkl.com has been defined in two virtualhost, only the first match
is being used. Make sure all virtualhost have unique servername
entries, or otherwise first match will grab all the requests for the
specific name.

2017-07-09 15:30 GMT+02:00 Blake McBride <blake1024@gmail.com>:
> That was the problem!  I created the symbolic link with the same name as the
> file in the sites-available directory.  It didn't end with ".conf".  Fixing
> that, the problem went away and it is working now.
>
> It seems apache is not as hard to configure as I thought.  It was just a
> stupid mistake on my part.
>
> Thanks for all the help, one and all!
>
> Blake McBride
>
>
> On Sun, Jul 9, 2017 at 8:18 AM, Eric Covener <covener@gmail.com> wrote:
>>
>> On Sun, Jul 9, 2017 at 9:06 AM, Blake McBride <blake1024@gmail.com> wrote:
>> > lrwxrwxrwx 1 root root 43 Jul  5 20:43 abc.com ->
>> > /etc/apache2/sites-available/abc.com
>>
>> Your config probably includes site-enabled/*.conf so this config file
>> is not read / not disaplyed by apachectl -S / not loaded at runtime.
>>
>> You're defaulting to the first configured *:80 virtual host.
>>
>



-- 
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

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


Mime
View raw message