Part of the EllisLab Network
   
 
1.5.0.1 and IIS, default controller problem
Posted: 03 November 2006 11:39 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  44
Joined  08-14-2006

I uploaded a new/default version of 1.5.0.1 to an IIS server, and when I try to access the site, (www.mysite.com/cifolder) I get a ci 404 page not found error.
However, when I type in www.mysite.com/cifolder/index.php/welcome it brings up the welcome page (default controller) just fine like normal.

I try this same thing with 1.4.1 and it works fine when I type the base url (www.mysite.com/cifolder), meaning it brings up the default controller.

This apparently doesn’t affect apache, because it works there.

I haven’t found the bug behind this, but thought you should know.

Any help on fixing this would be appreciated. Thanks.

Profile
 
 
Posted: 03 November 2006 02:01 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  481
Joined  03-08-2006

What about the default page for that site - does it have index.php in it? And what happens if you just go to /cifolder/index.php? (Without the controller name)

 Signature 

Flickr | Last.fm | Del.icio.us

Profile
 
 
Posted: 03 November 2006 02:14 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  44
Joined  08-14-2006

Hi Craig,

“What about the default page for that site - does it have index.php in it?”

What do you mean exactly? Do you mean default controller? Sorry for not following.

And what happens if you just go to /cifolder/index.php? (Without the controller name)

When I do this, it still says page not found (the ci version, not a regular iis 404 looking error)

Profile
 
 
Posted: 03 November 2006 03:19 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  481
Joined  03-08-2006

Hi. I meant the default index page that can be configured through IIS for a given site/directory - shown in this image.

However, CI should still be loading the default controller when you go to /index.php. Unfortunately I don’t have an IIS + PHP installation to test this on, sorry.

 Signature 

Flickr | Last.fm | Del.icio.us

Profile
 
 
Posted: 03 November 2006 04:50 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  44
Joined  08-14-2006

Oh, I see. Yes, I assume in IIS, index.php is configured because CI 1.4 works just fine.
It’s my host. I can’t change anything on the IIS side.
I can’t even enable logging because they don’t allow php to create files, for security reasons.

Guess I’ll go back to 1.4 for this app, and wait for a bug fix.

Long live Apache!

Profile
 
 
Posted: 03 November 2006 06:20 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  481
Joined  03-08-2006

Or ditch the IIS host altogether grin

I do have access to IIS at work, but it’s on a domain controller/file server etc. so running PHP on IIS would push it over the edge I think wink I agree, go with Apache grin

 Signature 

Flickr | Last.fm | Del.icio.us

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 60711 Total Logged-in Users: 19
Total Topics: 73163 Total Anonymous Users: 1
Total Replies: 394597 Total Guests: 357
Total Posts: 467760    
Members ( View Memberlist )
Active Members:    azulcmcodexCrucialDark Preacherglemighinparojacksonj04JoostVjtkendallLuci3nMgM WebmwmerzNachoredwizRESPECTSabotsocstixunsub