Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7575891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:47:22+00:00 2026-05-30T16:47:22+00:00

I know there are already several other posts for this topic, but I’ve tried

  • 0

I know there are already several other posts for this topic, but I’ve tried everything they’ve said and I can’t seem to get it to work.

I have the php kohana framework installed in http://localhost/kohana and it’s working. The problem is that I can’t get the /index.php/ removed from my URL.

I have tried importing the .htaccess file form the install into IIS URL Rewrite module, but no luck.

My bootstrap is the following

Kohana::init(array(
'base_url'   => '/kohana',
'index_file' => ''
));

My web.config that I have put in my /kohana direcotry looks like so

<configuration>
<system.webServer>
    <rewrite>
        <rules>
            <rule name="Imported Rule 1" stopProcessing="true">
                <match url="^(?:application|modules|system)\b.*" ignoreCase="false" />
                <action type="Rewrite" url="index.php/{R:0}" />
            </rule>
            <rule name="Imported Rule 2">
                <match url=".*" ignoreCase="false" />
                <conditions logicalGrouping="MatchAll">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                </conditions>
                <action type="Rewrite" url="index.php/{R:0}" />
            </rule>
        </rules>
    </rewrite>
</system.webServer>

I have also tried the rewrite rules on this page

Nothing seems to work. If I go to http://localhost/kohana/index.php/welcome it works. If I go to http://localhost/kohana/welcome I get a 404 error from IIS (not a 404 in kohana).

I feel like I’m beating my head against the wall, any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:47:23+00:00Added an answer on May 30, 2026 at 4:47 pm

    I just gave up and went with Apache on my Windows server. Removing the index.php worked like a charm on the first try.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there are several questions like this on here already, but I can't
I know there is already a question about this but my issue is more
There's already a question on this here. But i want to know if its
I know there are already several similar questions here, but I need some recommendations
I know there are several posts already concerning the difference between casts and the
I know there are already objects supporting Office 2007 files, but is there any
I know there are already many questions like mine but I found no answer
I'm trying to implement a plug-in like application. I know there are already several
I know that there are already several questions on StackOverflow about std::string versus std::wstring
I know there are already a few questions regarding recommendations for C++ unit test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.