Jump to content
The Uniform Server Community

MiniServer FIXES and Tweaks...


Bill Wood
 Share

Recommended Posts

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.bat

AND

[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 directory

popd

 

====================

 

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 option

application/zip zip

 

### Added Microsoft New Application Enhancements for File Associations

 

application/vnd.ms-word.document.macroEnabled.12 .docm

application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx

application/vnd.ms-powerpoint.template.macroEnabled.12 potm

application/vnd.openxmlformats-officedocument.presentationml.template potx

application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam

application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm

application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx

application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm

application/vnd.openxmlformats-officedocument.presentationml.presentation pptx

application/vnd.ms-excel.addin.macroEnabled.12 xlam

application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb

application/vnd.ms-excel.sheet.macroEnabled.12 xlsm

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx

application/vnd.ms-excel.template.macroEnabled.12 xltm

application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx

 

Overall Great Tool!

 

Bill Wood - President

R3Now Consulting

http://www.r3now.com

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...