Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have developed a ATLCOM activex control (3D rotation) and tested it with VB, VC++ and .html(GoogleChrome+IETab) and all are OK. Before deploying onto any site, I want to test it in my Desktop XP SP3 using local host. How to run the localhost server?
Ragavan
Posted
Comments
Arlert 4-Jan-15 14:39pm    
install wamp http://www.wampserver.com/
and you will be able to launch localhost server
Sergey Alexandrovich Kryukov 4-Jan-15 15:07pm    
ActiveX components used by a browser is a bad thing. It won't be supported by all client systems and is a very unsafe feature. For security-savvy users, it could be a reason to put your site in a black list and never come back...
—SA

I solved the problem of local hosting of HTML with embedded ActiveX control with Python server.
I used Python server from the directory in which the html was there : "python -m http.server --cgi 8000 ' and was able to run with my Browser Google Chrome with IETab Rxtn and "localhost:8000". Only thing I had to modify the security for Local Intranet (specified as localhost:8000) as "Low" (for a short time & changed it back to Medium). It Works very well.
Ragavan
 
Share this answer
 
v2
First of all, please see my comment to the question.

If, by some reason, you still need to test your ActiveX component, you should understand that it is a pure client-side thing, so it won't need even the local host testing. You could just open the HTML immediately by the browser and test it. Testing of an HTML file does not require anything except a Web browser.

If you still want to test something on a local host, you just need to install one of the HTTP server. Many are open-source and are quite light weight. Please see:
http://en.wikipedia.org/wiki/Web_server[^].

You can start here and choose the one according to your goals: http://en.wikipedia.org/wiki/Comparison_of_web_server_software[^].

See the documentation on the chosen server for all further steps.

—SA
 
Share this answer
 
v2
Comments
Member 7750028 5-Jan-15 0:49am    
Thank you. I had only partially understood at the time of posting my Question. Now thank you for bringing in clarity and solving/closing my Problem. raghavan141248 Member 7750028
Sergey Alexandrovich Kryukov 5-Jan-15 0:58am    
You are very welcome.
Good luck, call again.
—SA
Member 7750028 5-Jan-15 6:27am    
Dear sir
I used server from the directory in which the html was there : "python -m http.server --cgi 8000 ' and was able to run with my Browser Google Chrome IE extn "localhost:8000". Only thing I had to modify the security for Local Intranet (specified as localhost:8000) as "Low" (for a short time & changed it back to Medium).
It Worked. Thank you however.
Sergey Alexandrovich Kryukov 5-Jan-15 7:07am    
Sure. Thanks for your feedback.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900