confused with http server default page

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
redlz2600
Posts: 2
Joined: Wed Nov 19, 2014 2:49 am

confused with http server default page

Post by redlz2600 »

used everything for months ,but only in windows model
recently i update it,and notice there is a http server function,so great for me ( as i like google desktop)

so I enable http server function, by guide of "everything" support , it's work, so great! :D

only one problem ,the "Default page" in "HTTP" tab confuses me (i have some html,js & php knowledge )
I wrote a simple page named "index.htm" and put it in "http server" folder, chosen the page from "Default page", visit my localhost and it display “404 Not Found”
I rename it as index.html or something,and re chosen , not work
so i put the page to my c: , or add quotation in everything ini file such as http_server_default_page="c:\index.html",but after restart everything, the quotation has gone.

after search from forums and download the http_server_java_script_test1.zip , I found whether set the default page ,it also can visit the page by correct URL, such as localhost://index.html?s=t or localhost://everything.htm?s=1

but I think when set default page, everything should replace "/" to my setting , as apache or iis, so I complete confused, thought it can work .


:D
OK,just one minute ago i decided try once more, this time i use the filename to replace the fullpath( index.htm replace c:\progarme file\everything\http server\index.htm) ,and it work!
i set "server page from" with full path or relative path, all ok (by use default folder "http server" and test folder"http server 2")
so i think the default page should only use relative path with "server page from", i think the "default page" choose UI should improve ,when a file is selected, should only save the filename or relative path to ini file, what ever , my problem is solven...

i don't found any similar topics in forums, so i don't know whether there is another people have the same confusion like me, but i think ,the default page choose UI is really need to be improved。



and there is another problem, when visit localhost://everything.htm whthout param (not localhost://everything.htm?s=1) ,the page display "php5.3.8 Call to undefined function mysql_connect().txt" ,is there something wrong with everything http server? :D
Post Reply