It does returns text/html for me, maybe you'd better show me sth. like belowdujinfang@seven:~$ curl -v --user freeswitch:works http://localhost:8081/portal/index.html* About to connect() to localhost port 8081 (#0)* Trying 127.0.0.1...* connected* Connected to localhost (127.0.0.1) port 8081 (#0)* Server auth using Basic with user 'freeswitch'> GET /portal/index.html HTTP/1.1> Authorization: Basic ZnJlZXN3aXRjaDp3b3Jrcw==> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5> Host: localhost:8081> Accept: */*>< HTTP/1.1 200 OK< freeswitch-user: freeswitch< freeswitch-domain: localhost< Content-length: 10528< Content-type: text/html< Last-Modified: Fri, 22 Mar 2013 01:31:20 UTC< Connection: Keep-Alive< Keep-Alive: timeout=5, max=30< Date: Fri, 22 Mar 2013 11:39:35 UTC< Server: Freeswitch xmlrpc-c_abyss /1.26.0<<!DOCTYPE html>On Friday, March 22, 2013 at 3:23 PM, Eugene Prokopiev wrote:
2013/3/20 Seven Du :Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It'sjust static html and js files you can put in your htdocs dir and it onlydepends on mod_xml_rpc right now.I tried to install and run it, but any browser got all pages fromportal as text/plain instead of text/html for example, so I can seeonly html code. I have freeswitch-1.2.7 installed. How can I fix it?--Regards,Eugene Prokopiev_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-users mailing list
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org