DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20955>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20955 Redirected http error generates wrong SERVER_PORT. Summary: Redirected http error generates wrong SERVER_PORT. Product: Apache httpd-2.0 Version: 2.0.46 Platform: PC OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hi, I configured Apache to listen port 81 : Listen 81 I also configured an ErrorDocument : Alias /error/ "/usr/local/apache2_0_46/error/" ErrorDocument 404 /error/HTTP_ERROR.php When a 404 error occurs, the request is redirected HTTP_ERROR.php In HTTP_ERROR.php the value of $_SERVER['SERVER_PORT'] is 80. The good port number (81) can be read in $_SERVER['REDIRECTED_SERVER_PORT'] so the problem isn't critical, but the question is why $_SERVER['SERVER_PORT'] =80 ? Best regards, F.SURLEAU --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
