Joomla 254 + IIS6.0 routing errors

This forum is for issues with installing Joomla! 2.5 (All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.) on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
pericb
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 19, 2009 10:36 am

Joomla 254 + IIS6.0 routing errors

Post by pericb » Wed May 30, 2012 12:19 pm

Hi there,

My Environment:
OS: Win Server 2003 SP2
PHP 5.3.10
Fresh install of Joomla 254

The problem was that I was unable to browse
- create an account
- Forgot your username
- Forgot your password
on the joomla site with error 500.

After few hours of investigation I found that $_SERVER['REQUEST_URI'] wasn't available with my environment. And seems there is a bug in that case, at least with my environment.

I had to change this:
$theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
into this:
$theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];

in /libraries/joomla/environment/uri.php around line 185

Wanted just to share my solution,
thanks Boban
Last edited by humvee on Thu May 31, 2012 2:32 pm, edited 1 time in total.
Reason: Marked Resolved

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Joomla 254 + IIS6.0 routing errors

Post by humvee » Wed May 30, 2012 6:45 pm

Thank you for posting your solution but there may also be other issues that arise as IIS6 is not supported.

caveat
IIS6 might work but you have to sort out any issues yourself (as you have found ;) ).

pericb
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 19, 2009 10:36 am

Re: Joomla 254 + IIS6.0 routing errors

Post by pericb » Thu May 31, 2012 7:52 am

Actually, that's what I've figured out just after my post..

Basically this joomla install would be part of a larger project which includes other open source PHP projects and also .NET applications. The idea is that all is run by IIS6 and also the lead developer is against installing Apache web server on this machine.

So I'll go ahead with IIS6 and hopefully won't have too much issues.

Boban


Locked

Return to “Joomla! 2.5 on IIS webserver”