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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:04:00+00:00 2026-05-30T21:04:00+00:00

Im trying to access my Yii code generator which is Gii. but when i

  • 0

Im trying to access my Yii code generator which is Gii.
but when i browse it using

http://localhost/mysite/gii/index/

the page says

Error 404
Unable to resolve the request “gii/index”.

this is my .htaccess file for url-rewriting

Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php

and this is my url manager in my config file

    'urlManager'=>array(
        'urlFormat'=>'path',
        'rules'=>array(
            '<controller:\w+>/<id:\d+>'=>'<controller>/view',
            '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
            '<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
        //pages
        '<view>'=>array('site/page'),
        ),
    ),

did i went wrong on something?
the http://localhost/mysite/gii/index/ shows the layout of the gii code generator but showing the Error 404…

thanks

P.S.
I tried also to turn off my URL manager and see if my Gii code generator page will work by default by using this url http://localhost/mysite/index.php?r=gii/default/login
and it works…

  • 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-30T21:04:01+00:00Added an answer on May 30, 2026 at 9:04 pm

    If you encounter the same problem with the same configuration I did use this URL
    http://localhost/mysite/gii/default/login

    ^_^

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

Sidebar

Related Questions

trying to access http://forum.worldoftanks.eu/index.php?app=members using apache HttpClient but keep getting 403. Can anyone help
Trying to access locally http://mysite.dev/gii but I'm getting: Gii Unable to resolve the request
I'm using YII framework. I can access my site through: localhost/index.php then If I
Hi I'm trying to access a WCF service which returns a JSON Array using
When trying to access data-onload using $(#index).data(onload) I get back 'undefined' : <script type=text/html>
When trying to access the Reasons Index page NameError in Reasons#index Showing /home/alec/workspace/rails/nwis/app/views/reasons/index.html.erb where
I am trying to access an array value by using a key. My code
Trying to access a Servlet from a button on HTML page //Html Page FORM
Trying to access github using the following command fails with the verification failed error.
I'm trying to access YouTube from within an iOS app, but the iOS SDK

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.