httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <>
Subject [users@httpd] Apache 2.4.1 Installation problems
Date Tue, 17 Apr 2012 15:48:21 GMT
I am trying to update from 2.2.14 to 2.4.1 and have encountered two 
problems.  2.2.14 has been working properly for over 2 years.  Pages are 
located on a separate directory starting at /www with subdirectories s1, 
s2, etc for different named virtual hosts.  Config file for EACH virtual host 
shows document root as /www/s1, /www/s2, etc as relevant.

1.  Apache will start properly but gives a "Not Authorized" message when 
any page is to be served.


[Mon Apr 16 13:02:31.267819 2012] [authz_core:error] [pid 23033:tid 
1100290368] [client] AH01630: client denied by server 
configuration: /www/s2/, referer:
[Mon Apr 16 13:02:38.965404 2012] [authz_core:error] [pid 23033:tid 
1110780224] [client] AH01630: client denied by server 
configuration: /www/s1/, referer:

A search of the Apache archives suggests that this is a config problem 
requiring a <Directory> entry so I set up:

# Allow the directory where we store the pages -- 2012-04-15
<Directory /www >
  Options FollowSymLinks
  Order Allow,Deny
  Allow from all

I tried a number of variations such as putting this in each of the virtual 
host containers, putting a /* on the end, including it once before all the 
virtual host declarations, etc.

Still get same problem.

Second problem:

Many of the pages are written in PHP and I have PHP installed on the server 
and used by 2.2.14.  I copied the module into the modules 
directory and added a LoadModule directive as follows:

 LoadModule php5_module modules/

(This line has to be commented out to start Apache)

When I try to start up Apache I get the following error:

/usr/apache-2.4.1/bin/apachectl -k start
httpd: Syntax error on line 153 of /usr/apache-2.4.1/conf/httpd.conf: 
Cannot load /usr/apache-2.4.1/modules/ into server: 
/usr/apache-2.4.1/modules/ undefined symbol: unixd_config

What causes this and what is the solution?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message