Hello,
This may be more of an apache setup question than a yii question.
I have hosting under godaddy.com.I developed locally and used urlManager and adjusted the htaccess - everything works fine under my local env.
I moved the directory structure around a little. I created a htdocs folder storing the assets, css, images, and index.php files.
Now I want to upload my Yii site under my site on goadddy.I wanted to dump this under www.mydomain.com/yii.
The yii folder has following folders: framework, htdocs, protected. The index.php is under htdocs/index.php.
I have a htaccess under this folder:
RewriteEngine on
Options +FollowSymLinks
IndexIgnore */*
DirectoryIndex /yii/htdocs/index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?$1 [L]
If I go to mydomain.com/yii it loads the site fine under/site/index.
But I click into a module and it breaks, php error: No input file specified.
The link takes me to mydomain.com/yii/htdocs/index.php/movies
movies is my module.
I am stumped, and given godaddys lack of access log, I can’t see the requests.