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 8787491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:54:26+00:00 2026-06-13T21:54:26+00:00

I am working on a website with zend framework 1.12. However the client is

  • 0

I am working on a website with zend framework 1.12.

However the client is using IIS with no rewriting abilities, so I need to reconfigure zend to create urls like index.php/controller/action rather than /controller/action.

The easiest & least painful way I see doing it is to somehow tell zend router to put a prefix index.php in each url it generates.

The question is, is this possible and how?

  • 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-06-13T21:54:27+00:00Added an answer on June 13, 2026 at 9:54 pm

    I’ve found a solution that works for me.

    If anyone else has this problem, here’s what I put in my Bootstrap.php:

    $router = Zend_Controller_Front::getInstance()->getRouter();
    $router->removeDefaultRoutes();
    $router->addRoute('default', new Zend_Controller_Router_Route('index.php', array('controller' => 'index', 'action' => 'index')));
    $router->addRoute('compat', new Zend_Controller_Router_Route('/:controller/:action/*', array('controller' => 'index', 'action' => 'index')));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a community based website using zend framework - but its so
I'm working on a website for a client and I would like a way
I'm working with Zend and Doctrine2 and I needed to create some cronjobs using
I am working on an existing website that uses Zend Framework, and I am
Working on a website that has Employee and Branch entities, using a database table
I am working on a website hwere i need to introduce security for reasons,
I have been working on a new installation of a Zend Framework application for
I'm currently working on my own PHP Framework, and I need some help figuring
I'm trying to add a payment method to working website that is using a
I am working on website using ajax and C#. I started learning these languages

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.