Bill Wood Posted January 14, 2012 Report Share Posted January 14, 2012 First, I have been using UniformServer for several years. GREAT project and thanks for all the work. ============= Recently I downloaded the MiniServer and noticed a couple problems. After starting the Server the CMD processes are "hung" and do not complete. Also the HTTP processes do not clear. Simple fix in a couple of the BATCH files: [DRIVE LETTER]:\MiniServer\control\start_apache.batAND [DRIVE LETTER]:\MiniServer\control\stop_apache.bat Right at the end there is a "PAUSE" statement. That should not be there. It leaves the CMD session open and the HTTPD... processes are never fully terminated when the stop process is called. At the end of the file this is what it SHOULD look like (for both files) ...echo.rem pause <--- THIS IS THE CULPRIT HERE!rem --- restore original working directorypopd ==================== Also, to autostart your server in Internet Explorer (or use Firefox, or whatever browser you want. The following example is IE), add the statement JUST before the code above. start [DRIVE LETTER]:\"Program Files"\"Internet Explorer"\iexplore.exe http://localhost:8081/ NOTE: This assumes you have the default port of 8081 set rather than another port like 8080, etc. ==================== Finally, I had a LOT of trouble with opening new MS Doc Types. The following Mime types fixed the problem. You will need to add these to the following file: [DRIVE LETTER]:\MiniServer\apache2\conf\mime.types These should be added ABOVE the ZIP optionapplication/zip zip ### Added Microsoft New Application Enhancements for File Associations application/vnd.ms-word.document.macroEnabled.12 .docmapplication/vnd.openxmlformats-officedocument.wordprocessingml.document docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.template dotxapplication/vnd.ms-powerpoint.template.macroEnabled.12 potmapplication/vnd.openxmlformats-officedocument.presentationml.template potxapplication/vnd.ms-powerpoint.addin.macroEnabled.12 ppamapplication/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsmapplication/vnd.openxmlformats-officedocument.presentationml.slideshow ppsxapplication/vnd.ms-powerpoint.presentation.macroEnabled.12 pptmapplication/vnd.openxmlformats-officedocument.presentationml.presentation pptxapplication/vnd.ms-excel.addin.macroEnabled.12 xlamapplication/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsbapplication/vnd.ms-excel.sheet.macroEnabled.12 xlsmapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsxapplication/vnd.ms-excel.template.macroEnabled.12 xltmapplication/vnd.openxmlformats-officedocument.spreadsheetml.template xltx Overall Great Tool! Bill Wood - PresidentR3Now Consultinghttp://www.r3now.com Quote Link to comment Share on other sites More sharing options...
BobS Posted January 16, 2012 Report Share Posted January 16, 2012 Wow, Bill! Good catch. We really appreciate this type of response, since it makes the product better for everyone. One of the problems with skinnying-down a full program is when you go a step too far, but don't know it. Normally you catch that when testing, but that also depends on what you test for! Since Ric was using this primarily as a tutorial tool, I'll bet he never tried to open any of those mime types. BTW, for those new to the Coral-Mini, it's a stripped-downed Apache server, running on port 8081, with the bare minimum required to run CGI scripts. It includes a full tutorial on VB scripting. Regards,BobS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.