From: Neal, R. <rn...@ri...> - 2012-04-12 15:13:01
|
Good morning, I am in the process of upgrading Apache 2.2.1 to Apache 2.4.1. The method I used is to simply rename the apache2 folder and then download and configure/compile httpd-2.4.1 and then rename the folder to apache2. I then renamed the new httpd.conf file and copied the httpd.conf file in from the Apache 2.2.1. It did not work. I could not start apache so upon investigating I found that I needed to download and configure/compile apr and apr-util. I don' remember exactly but the error was something about User not being found. I reconfigured apache to use apr and apr-util and the error went away. I then had to LoadModule unixd. The end result was that apache does work. It shows the test page. PHP does work and it reports properly. The problem is that I get a 403 Forbidden - You don't have permission to access /vufind on this server error. The logs have not been helpful. So... I think the problem is in the httpd.conf file. Except for the new httpd.conf file, nothing else has changed - I did nothing with the permissions on the Alias /vufind /usr/local/vufind/web/ directories. I did not change the http-vufind.conf file at all. For conciseness sake I am only putting the vufind relevant sections from the httpd.conf file below. If you get time please take a look and let me know if you have any thoughts on what happened. Let me know if you need more information. Thanks for your help. Rick 1. <IfModule alias_module> # # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path # # If you include a trailing / on /webpath then the server will # require it to be present in the URL. You will also likely # need to provide a <Directory> section to allow access to # the filesystem path. Alias /vufind /usr/local/vufind/web/ # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" 2. <Directory "/usr/local/vufind/web/"> AllowOverride ALL Order allow,deny Allow from all </Directory> 3. Include /usr/local/vufind/httpd-vufind.conf |