system
1
Hi,
I'm trying to get my index.php as default page when I asscess Yun. I tested in "option index_file index.php" in uhttpd settings.
PHP is working fine if I go: http://myIP/index.php, but not when http://myIP (just the root of documents is listed)
Any suggestions?
system
2
Nobody have any ideas to solv this..?
system
3
I got it working by using the following options in /etc/config/uhttpd
option 'index_page' 'index.php'
list interpreter ".php=/usr/bin/php-cgi"
Note it is index_page not index_file. Also note the quotes.