Yii Framework Forum: New basic install, followed instructions, urls don't work - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New basic install, followed instructions, urls don't work Apache setup info is wrong Rate Topic: -----

#1 User is offline   hippyjim 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-December 11

Posted 09 December 2017 - 11:18 AM

I followed the instructions at: http://www.yiiframew...stallation.html

Now I can't see any of my pages other than the homepage.

Including the mod rewrite stuff has broken the basic application. Any links all produce 404 errors.

Nothing works. How do I fix it?

And can that be included in the instructions please?
0

#2 User is offline   hippyjim 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-December 11

Posted 09 December 2017 - 11:43 AM

Disabled "clean" urls and things work again.

Please fix the instructions and remove wrong information.
0

#3 User is offline   hippyjim 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-December 11

Posted 09 December 2017 - 11:44 AM

It's a shame Yii2 doesn't have working clean URLs like Yii1 did though. Seems like a step backwards.
0

#4 User is offline   mbi 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 618
  • Joined: 08-May 09

Posted 09 December 2017 - 11:49 AM

removing this line from apache .htaccess file fixed it for me

RewriteRule ^index.php/ - [L,R=404]
0

#5 User is offline   hippyjim 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-December 11

Posted 09 December 2017 - 11:59 AM

View Postmbi, on 09 December 2017 - 11:49 AM, said:

removing this line from apache .htaccess file fixed it for me

RewriteRule ^index.php/ - [L,R=404]


Thanks - that was it - although I did as instructed and put it straight in the apache config. Dev team definitely need to fix those instructions!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users