Issues after upgrading Apache 2.2 to 2.4 via CustomBuild

Scolpy

Verified User
Joined
Feb 25, 2009
Messages
142
Hey,

From some reason, after upgrading Apache from 2.2 to 2.4 through CustomBuild I got a lot of issues caused by this upgrade.
the first one is that I still see the old conf files of versions 2.2 in the /etc/httpd/conf/ and few of them don't even compatible with version 2.4(for example, they using in the old Authorization which cause Apache to not work at all).
the second issue is getting Forbidden error to every directory that called "uploads". the temporary solution I found is to comment this lines in "httpd-dav.conf":
Code:
#<Directory "/etc/httpd/uploads">
 #   Dav On

 #   AuthType Digest
  #  AuthName DAV-upload
    # You can use the htdigest program to create the password database:
    #   htdigest -c "/etc/httpd/user.passwd" DAV-upload admin
    #AuthUserFile "/etc/httpd/user.passwd"
   # AuthDigestProvider file

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    #<RequireAny>
     #   Require method GET POST OPTIONS
      #  Require user admin
    #</RequireAny>
#</Directory>
But what is the permanent solution for that and why did it happen in the first place?
the last issue I have is that all the webapps won't working. I get Forbidden error every time I'm trying to reach them.

I'm using in mod_ruid2.
I know that this might be related to this issues because it's all about ownerships but I also using in CustomBuild 2.0 and there is native support to mod_ruid2(and I configure mod_ruid2 with the CustomBuild of course).

I'll be glad for any help in this issues! :)
 
Hello,

I guess you'd better to start with reading this thread http://www.directadmin.com/forum/showthread.php?t=42938 a lot of issues were discussed there, and there you can find working solutions.

Thanks! but I didn't find the solutions to my issues.


I just take a look in the Apache logs for the second issue and this is what I found:
[Tue Apr 24 23:00:16.091663 2012] [ssl:warn] [pid 11852] AH01909: RSA certificate configured for www.domain.com:443 does NOT include an ID which matches the server name
[Tue Apr 24 23:00:18.474962 2012] [access_compat:error] [pid 11885] [client 11.222.333.44:55628] AH01797: client denied by server configuration: /etc/httpd/uploads
Does anyone know what's the solution to this issue?
 
Hm yes a Forbidden is odd. Without the mentioned RUidGid configs, squirrelmail would give an error. I'm not sure whats going on your server then. Perhaps you need to rewrite all configs or rebuild apache, I don't know. I haven't made the 2.4 upgrade just yet.
 
Hm yes a Forbidden is odd. Without the mentioned RUidGid configs, squirrelmail would give an error. I'm not sure whats going on your server then. Perhaps you need to rewrite all configs or rebuild apache, I don't know. I haven't made the 2.4 upgrade just yet.

I rebuild the Apache and also ran ./build rewrite_confs.


But why when I comment this line:
Code:
# Distributed authoring and versioning (WebDAV)
[B]Include conf/extra/httpd-dav.conf[/B]
I suddenly see images under "uploads" directories?
 
Will you give us more details on your issue? Screenshots?

Which issue? I've described here 3 ;)

And the full error that I get in all webapps is the default one for 403 error:
Forbidden

You don't have permission to access /phpmyadmin/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
Back
Top