Edit (nano recommended) /etc/config/uhttpd file for uhttpd to support multiple document roots.
# Server configuration
config uhttpd main
list listen_http 0.0.0.0:80
option home /www
option cgi_prefix /cgi-bin
config uhttpd secondary
list listen_http 0.0.0.0:81
option home /www/fusionpbx
option cgi_prefix /cgi-bin
# ...
Add this line in the appropiate option to serve php:
option 'index_page' 'index.php'
also, root_doc on php.ini should be empty
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment