Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Daniel
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 : > That was the problem! I created t

Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Blake McBride
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 p

Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Eric Covener
On Sun, Jul 9, 2017 at 9:06 AM, Blake McBride 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 defaul

Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Blake McBride
On Sun, Jul 9, 2017 at 5:36 AM, Daniel wrote: > Define specific customlog entries for your virtualhost, you will see they > don't get any entries, another virtualhost is grabbing those requests and > the redirect as you can see is not happening. > > apachectl -S as has been previously said would

Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Mitchell Krog Photography
Date: 09 July 2017 at 12:36:30 PM To:  Subject:  Re: [users@httpd] Problem with Redirect Define specific customlog entries for your virtualhost, you will see they don't get any entries, another virtualhost is grabbing those requests and the redirect as you can see is not happening. apac

Re: [users@httpd] Problem with Redirect

2017-07-09 Thread Daniel
ng so any updates you make >> when working with redirects are picked up instantly. >> >> Kind Regards >> Mitchell >> >> >> From: Nick Kew >> Reply: users@httpd.apache.org >> >> Date: 08 July 2017 at 4:43:01 PM >> To: users@httpd.a

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Blake McBride
uly 2017 at 4:43:01 PM > To: users@httpd.apache.org > > Subject: Re: [users@httpd] Problem with Redirect > > On Sat, 2017-07-08 at 08:35 -0500, Blake McBride wrote: > > When, through my browser, I go to abc.com, > > Probably what Eric said. But is there history to

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Blake McBride
curl abc.com returned the contents of jkl.com On Sat, Jul 8, 2017 at 9:43 AM, Nick Kew wrote: > On Sat, 2017-07-08 at 08:35 -0500, Blake McBride wrote: > > When, through my browser, I go to abc.com, > > Probably what Eric said. But is there history to this? > As in, trying different variants o

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Blake McBride
I tried: apache2ctl -S |grep abc No result apache2ctl -S |grep vhost All lines had a name Thanks! Blake On Sat, Jul 8, 2017 at 9:12 AM, Eric Covener wrote: > On Sat, Jul 8, 2017 at 9:35 AM, Blake McBride wrote: > > How the heck is access to abc.com showing as jkl.com? How can

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Mitchell Krog Photography
To: users@httpd.apache.org Subject:  Re: [users@httpd] Problem with Redirect On Sat, 2017-07-08 at 08:35 -0500, Blake McBride wrote: > When, through my browser, I go to abc.com, Probably what Eric said. But is there history to this? As in, trying different variants on your configurat

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Nick Kew
On Sat, 2017-07-08 at 08:35 -0500, Blake McBride wrote: > When, through my browser, I go to abc.com, Probably what Eric said. But is there history to this? As in, trying different variants on your configuration? If you have previously had a permanent (301) redirect from abc.com, then what you se

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Eric Covener
On Sat, Jul 8, 2017 at 9:35 AM, Blake McBride wrote: > How the heck is access to abc.com showing as jkl.com? How can I make > abc.com redirect to the external server at URL https://www.def.com/ghi#about > ? You probably have another, earlier virtualhost for abc.com. Try apachectl -S. Make sure y

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Mitchell Krog Photography
at 3:35:00 PM To: users@httpd.apache.org Subject:  [users@httpd] Problem with Redirect Hello, I am using Apache 2.4.18 on a 64 bit Linux box.  I am serving several different URL's via VirtualHost.  All is working well except a single, unique case.   In the case with the problem, I am

[users@httpd] Problem with Redirect

2017-07-08 Thread Blake McBride
Hello, I am using Apache 2.4.18 on a 64 bit Linux box. I am serving several different URL's via VirtualHost. All is working well except a single, unique case. In the case with the problem, I am attempting to redirect a URL to an external URL. All the cases that work, I am hosting the site, bu