phpBB 3.X on IIS - Deactivating the board results in HTTP 503 error message
Internet & Web Sites
|
Transferring a phpBB board from one to another server is not implicitly easy. Especially transferring boards from servers running Apache to IIS based webservers seemed to be a very hard task. After transferring files and database we were encountering a HTTP 503 service unavailabe result from web request on the new machine.
Getting more information about HTTP 503 is tricky. As the new server is a really new server running Windows Server 2008 with PHP extension in IIS as FastCGI and this is the first time we are running this configuration we had problems to identify the problem. Several technical websites describe similar configurations and errors in likewise several contexts. So we tried a lot of configuration changes (persissions, IIS settings, PHP integration via ISAPI, Firewall rules, etc.). The main problem were missing log entries. We got no event log entries, the firewall did not protocol any denies, the webserver had also no entries pointing to the problem.
We found the problem later, as we noted a really strange behavior of the board. While testing as an anonymous user the HTTP 503 error occured, but another machine got responses of the board - as a logged-in administrator account. The board was disabled. So we had a look at the phpbb.com support forums and found the origin of the HTTP error messages. In the file ./includes/session.php you will find (currently) three positions where the board will response with an HTTP 503 error message, especially when the board is disabled. We commented the lines out and the board is now responding with the "normal" board deacitivation message.
Used phpBB version was 3.0.4.
Please login to rate coding articles.
Click here to register a free account with us.
|
|
Comments
|
| Please login to post comments. |
|
|
 |
Categories |
 |
|
|