You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andy Canfield <an...@yandex.com> on 2014/05/17 05:37:10 UTC
[users@httpd] YOU BROKE MY CODE!
Last week, if you went to http://www.andycanfield.com, you would see my
web site. Today, if you go there, you will see "Internal Server Error".
Apache broke it.
We had four sites on that computer:
[1] http://210.213.49.151/ took you to /var/www/index.html
[2] http://www.andycanfield.com took you to my personal web site
[3] http://210.213.49.151/fasemat took you to FASEMAT
[4] http://210.213.49.151/opal took you to OPAL
Number 1, 3, and 4 are still working, but number 2 gives "Internal
Server Error". Here is the entry in sites-enabled:
------------------------------------------------------------------------
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.andycanfield.com
ServerAlias andycanfield.com *.andycanfield.com
DocumentRoot /www/andycanfield/Site
</VirtualHost>
<Directory /www/andycanfield/Site>
AuthType None
Require all granted
Options FollowSymLinks
</Directory>
------------------------------------------------------------------------
That was essentially copied from your documentation
(http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost).
It used to read <VirtualHost www.andycanfield.com:80> but that is now
"not recommended".
/var/log/apache2/error.log shows this:
------------------------------------------------------------------------
[Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
error: couldn't check user. Check your authn provider!: /
[Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
error: couldn't check user. Check your authn provider!: /favicon.ico
[Sat May 17 10:33:13 2014] [crit] [client 49.49.233.112] configuration
error: couldn't check user. Check your authn provider!: /favicon.ico
------------------------------------------------------------------------
What is 'favicon.ico". I don't have one anywhere. And I explicitly told
you that, for this directory, don't check the user; let everyone in.
How do we get apache 2.2 to route a request to one of several virtual
computers based on what name is used to access the server, and to let
EVERYONE in to that virtual computer?
You broke my code!
[users@httpd] Re: YOU BROKE MY CODE!
Posted by Christophe JAILLET <ch...@wanadoo.fr>.
Maybe, mod_version can help you, ni order to manage only one conf file?
Le 21/05/2014 10:44, Andy Canfield a écrit :
> I had a file 'apache.conf'' which ran fine under Apache 2.2. But on some
> machines we now find Apache 2.4 and it is not upward compatible.
>
> Note that MS-DOS 1.0 will still run on a brand new Intel chip: that's
> upward compatibility.
>
> Today I have two config files, "apache2.2.conf" and "apache2.4.conf". I
> hope I can use a symbolic link on each server to point to one or the other.
>
> On 05/17/2014 08:59 PM, Christophe JAILLET wrote:
>> Le 17/05/2014 05:37, Andy Canfield a écrit :
>>> You broke my code!
>>>
>> If something got broken, then something has changed. I imagine that
>> you have upgraded your version of apache.
>> Your are running 2.2.22. Which version of apache was used previously?
>>
>> CJ
>>
>>
>> ---------------------------------------------------------------------
>> 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
Re: [users@httpd] Re: YOU BROKE MY CODE!
Posted by Filipe Cifali <ci...@gmail.com>.
Then why did you upgraded w/o testing?
The docs say things changed and you should change the config files to use.
You can still downgrade too.
On Wed, May 21, 2014 at 5:44 AM, Andy Canfield <an...@yandex.com>wrote:
> I had a file 'apache.conf'' which ran fine under Apache 2.2. But on some
> machines we now find Apache 2.4 and it is not upward compatible.
>
> Note that MS-DOS 1.0 will still run on a brand new Intel chip: that's
> upward compatibility.
>
> Today I have two config files, "apache2.2.conf" and "apache2.4.conf". I
> hope I can use a symbolic link on each server to point to one or the other.
>
> On 05/17/2014 08:59 PM, Christophe JAILLET wrote:
> > Le 17/05/2014 05:37, Andy Canfield a écrit :
> >>
> >> You broke my code!
> >>
> >
> > If something got broken, then something has changed. I imagine that
> > you have upgraded your version of apache.
> > Your are running 2.2.22. Which version of apache was used previously?
> >
> > CJ
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
--
[ ]'s
Filipe Cifali Stangler
Re: [users@httpd] Re: YOU BROKE MY CODE!
Posted by Andy Canfield <an...@yandex.com>.
I had a file 'apache.conf'' which ran fine under Apache 2.2. But on some
machines we now find Apache 2.4 and it is not upward compatible.
Note that MS-DOS 1.0 will still run on a brand new Intel chip: that's
upward compatibility.
Today I have two config files, "apache2.2.conf" and "apache2.4.conf". I
hope I can use a symbolic link on each server to point to one or the other.
On 05/17/2014 08:59 PM, Christophe JAILLET wrote:
> Le 17/05/2014 05:37, Andy Canfield a écrit :
>>
>> You broke my code!
>>
>
> If something got broken, then something has changed. I imagine that
> you have upgraded your version of apache.
> Your are running 2.2.22. Which version of apache was used previously?
>
> CJ
>
>
> ---------------------------------------------------------------------
> 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
[users@httpd] Re: YOU BROKE MY CODE!
Posted by Christophe JAILLET <ch...@wanadoo.fr>.
Le 17/05/2014 05:37, Andy Canfield a écrit :
>
> You broke my code!
>
If something got broken, then something has changed. I imagine that you
have upgraded your version of apache.
Your are running 2.2.22. Which version of apache was used previously?
CJ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] YOU BROKE MY CODE!
Posted by Filipe Cifali <ci...@gmail.com>.
Use at your own risk.
You probably haven't loaded mod authn on your config, check that.
On Sat, May 17, 2014 at 12:37 AM, Andy Canfield <an...@yandex.com>wrote:
> Last week, if you went to http://www.andycanfield.com, you would see my
> web site. Today, if you go there, you will see "Internal Server Error".
> Apache broke it.
>
> We had four sites on that computer:
> [1] http://210.213.49.151/ took you to /var/www/index.html
> [2] http://www.andycanfield.com took you to my personal web site
> [3] http://210.213.49.151/fasemat took you to FASEMAT
> [4] http://210.213.49.151/opal took you to OPAL
>
> Number 1, 3, and 4 are still working, but number 2 gives "Internal Server
> Error". Here is the entry in sites-enabled:
> ------------------------------
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerName www.andycanfield.com
> ServerAlias andycanfield.com *.andycanfield.com
> DocumentRoot /www/andycanfield/Site
> </VirtualHost>
>
> <Directory /www/andycanfield/Site>
> AuthType None
> Require all granted
> Options FollowSymLinks
> </Directory>
> ------------------------------
> That was essentially copied from your documentation
> (http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost).
> It used to read <VirtualHost www.andycanfield.com:80> but that is now
> "not recommended".
>
> /var/log/apache2/error.log shows this:
> ------------------------------
> [Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /
> [Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /favicon.ico
> [Sat May 17 10:33:13 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /favicon.ico
> ------------------------------
> What is 'favicon.ico". I don't have one anywhere. And I explicitly told
> you that, for this directory, don't check the user; let everyone in.
>
> How do we get apache 2.2 to route a request to one of several virtual
> computers based on what name is used to access the server, and to let
> EVERYONE in to that virtual computer?
>
> You broke my code!
>
>
--
[ ]'s
Filipe Cifali Stangler
Re: [users@httpd] YOU BROKE MY CODE!
Posted by David Favor <da...@davidfavor.com>.
Andy Canfield wrote:
> Last week, if you went to http://www.andycanfield.com, you would see
> my web site. Today, if you go there, you will see "Internal Server
> Error". Apache broke it.
Likely you've been hit with what everyone had to recover from...
http://httpd.apache.org/docs/trunk/upgrading.html
Run-Time Configuration Changes section
Also remember now only .conf files are accepted, so if your
conf files don't end in .conf you have to rename them all.
I'm unsure if this is an Apache-ism or Ubuntu-ism. I only had
time to fix this problem when all my 1000s of client domains
went dark upgrading from 2.2 to 2.4 - so no time for research.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] YOU BROKE MY CODE!
Posted by "Mackey, Harold A." <ma...@musc.edu>.
Same problem here. I have 4 worpress sites running on Apache2 using RHEL.
Two weeks ago, I configured VirtualHosting according to documentation, and three of the four sites work flawlessly. One resolves with internal server errors. (The first one. This means something….)
Here is how I got it to barely work:
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
<VirtualHost *:80> //For some odd reason this made the blog work, but does not direct traffic to it. You have to append the folder
DocumentRoot "/var/www/html"
ServerName xxx.xxx.xxx.xxx
</VirtualHost>
#<VirtualHost *:80> //Commented out the blog that was failing.
#DocumentRoot "/var/www/html/blog"
#ServerName digestivehealth.musc.edu
#</VirtualHost>
<VirtualHost *:80> //The rest work fine.
DocumentRoot "/var/www/html/ddrc"
ServerName blog.place.edu
</VirtualHost>
Now I am thinking perhaps a mod_rewrite in the root virtual host that will direct traffic to the /blog folder. (I am serving nothing out of root folder) But honestly, there appears to be no reason for this, and I just spent two weeks on it. The code in the documentation does not appear to work.
Very frustrating.
Thanks,
Harry
From: Andy Canfield <an...@yandex.com>>
Reply-To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Date: Friday, May 16, 2014 at 11:37 PM
To: "users@httpd.apache.org<ma...@httpd.apache.org>" <us...@httpd.apache.org>>
Subject: [users@httpd] YOU BROKE MY CODE!
Last week, if you went to http://www.andycanfield.com, you would see my web site. Today, if you go there, you will see "Internal Server Error". Apache broke it.
We had four sites on that computer:
[1] http://210.213.49.151/ took you to /var/www/index.html
[2] http://www.andycanfield.com took you to my personal web site
[3] http://210.213.49.151/fasemat took you to FASEMAT
[4] http://210.213.49.151/opal took you to OPAL
Number 1, 3, and 4 are still working, but number 2 gives "Internal Server Error". Here is the entry in sites-enabled:
________________________________
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.andycanfield.com<http://www.andycanfield.com>
ServerAlias andycanfield.com *.andycanfield.com
DocumentRoot /www/andycanfield/Site
</VirtualHost>
<Directory /www/andycanfield/Site>
AuthType None
Require all granted
Options FollowSymLinks
</Directory>
________________________________
That was essentially copied from your documentation
(http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost).
It used to read <VirtualHost www.andycanfield.com:80<http://www.andycanfield.com:80>> but that is now "not recommended".
/var/log/apache2/error.log shows this:
________________________________
[Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration error: couldn't check user. Check your authn provider!: /
[Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration error: couldn't check user. Check your authn provider!: /favicon.ico
[Sat May 17 10:33:13 2014] [crit] [client 49.49.233.112] configuration error: couldn't check user. Check your authn provider!: /favicon.ico
________________________________
What is 'favicon.ico". I don't have one anywhere. And I explicitly told you that, for this directory, don't check the user; let everyone in.
How do we get apache 2.2 to route a request to one of several virtual computers based on what name is used to access the server, and to let EVERYONE in to that virtual computer?
You broke my code!
Re: [users@httpd] YOU BROKE MY CODE!
Posted by Tom Evans <te...@googlemail.com>.
On Sat, May 17, 2014 at 4:37 AM, Andy Canfield <an...@yandex.com> wrote:
> Last week, if you went to http://www.andycanfield.com, you would see my web
> site. Today, if you go there, you will see "Internal Server Error". Apache
> broke it.
>
> We had four sites on that computer:
> [1] http://210.213.49.151/ took you to /var/www/index.html
> [2] http://www.andycanfield.com took you to my personal web site
> [3] http://210.213.49.151/fasemat took you to FASEMAT
> [4] http://210.213.49.151/opal took you to OPAL
>
> Number 1, 3, and 4 are still working, but number 2 gives "Internal Server
> Error". Here is the entry in sites-enabled:
> ________________________________
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerName www.andycanfield.com
> ServerAlias andycanfield.com *.andycanfield.com
> DocumentRoot /www/andycanfield/Site
> </VirtualHost>
>
> <Directory /www/andycanfield/Site>
> AuthType None
> Require all granted
> Options FollowSymLinks
> </Directory>
> ________________________________
> That was essentially copied from your documentation
> (http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost).
> It used to read <VirtualHost www.andycanfield.com:80> but that is now "not
> recommended".
>
> /var/log/apache2/error.log shows this:
> ________________________________
> [Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /
> [Sat May 17 10:33:12 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /favicon.ico
> [Sat May 17 10:33:13 2014] [crit] [client 49.49.233.112] configuration
> error: couldn't check user. Check your authn provider!: /favicon.ico
> ________________________________
> What is 'favicon.ico". I don't have one anywhere. And I explicitly told you
> that, for this directory, don't check the user; let everyone in.
>
> How do we get apache 2.2 to route a request to one of several virtual
> computers based on what name is used to access the server, and to let
> EVERYONE in to that virtual computer?
>
> You broke my code!
>
Your attitude stinks - the only person who can affect your running
sites is you - in effect, you broke your code.
Now, please put your attitude on check, take a deep breath, and tell
these kindly volunteers whom are giving you free support precisely
what *you* changed that broke your site.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org