|Home||Switchboard||Unix Administration||Red Hat||TCP/IP Networks||Neoliberalism||Toxic Managers|
May the source be with you, but remember the KISS principle ;-)
Bigger doesn't imply better. Bigger often is a sign of obesity, of lost control, of overcomplexity, of cancerous cells
|News||Recommended Links||Cygwin Packages||X Window System||Xming|
|Replacing Exceed with Cygwin||Hummingbird Connectivity 2006 Suite||Putty||screen||Command line Net Tools||Perl||VIM|
Cygwin is supported in the official source distributions from Apache 1.3.20 and later. Either compiled of pre-compiled version can be used.
Pre-compiled binaries for the Apache 1.3 are available from Cygwin installer.
Default http home is at /var/www/htdocs
Configuration files are in
This Apache 1.3 port for Cygwin is designed to run on Windows XP and Windows 2000. In all cases TCP/IP networking must be installed.
We suggest using Cygwin 1.3.9-2 and higher.
Apache on Cygwin can be started and stopped in the same manner as on
Unix systems. You may also use the
apachectl tool for starting and stopping Apache.
If installed from precompiled binaries, you can start
$ /usr/sbin/apachectl start
An explicit background indicator (
&) is not required.
The parent process is automatically detached from the current terminal.
Check the global
error_log to see if Apache started cleanly
without any major problems.
To stop Apache send at least a
SIGTERM signal to the
$ /usr/sbin/apachectl stop
In order to update configuration directives and reload the
httpd.conf configuration file, send a
$ /usr/sbin/apachectl restart
Apache on Cygwin can be invoked as a Windows XP or Windows 2000 service.
Cygwin has its own
cygrunsrv.exe facility to define, remove,
start, and stop services as follows:
Use the following statement to install
a new service:
$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \ [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
-a is used to pass command line arguments (such
-DFOO defines) to
-e is used to pass environment variables. If necessary you may
-t options to set the autostart configuration for
the service. If you want the new service to run under a different userid,
you will have to supply the
After the new service is installed it can be started using the following command:
$ cygrunsrv -S service_name
Check your process table and global
error_log file to
ensure Apache has started without any major problems.
A running Apache service may be stopped using the following command:
$ cygrunsrv -E service_name
This will stop all running
httpd.exe processes and shutdown
the HTTP service for the machine.
An installed Apache service may be removed from Windows XP or Windows 2000 using the following command:
$ cygrunsrv -R service_name
This will remove your previously defined and installed service from the machine.
Please refer to the
man page for
and the Cygwin mailing list for further details of how services are invoked.
Precompiled Apache for Cygwin is built with most of the available Apache modules:
# LoadModule foo_module libexec/mod_foo.so 205 LoadModule vhost_alias_module lib/apache/mod_vhost_alias.dll 206 LoadModule env_module lib/apache/mod_env.dll 207 LoadModule config_log_module lib/apache/mod_log_config.dll 208 LoadModule agent_log_module lib/apache/mod_log_agent.dll 209 LoadModule referer_log_module lib/apache/mod_log_referer.dll 210 LoadModule mime_magic_module lib/apache/mod_mime_magic.dll 211 LoadModule mime_module lib/apache/mod_mime.dll 212 LoadModule negotiation_module lib/apache/mod_negotiation.dll 213 LoadModule status_module lib/apache/mod_status.dll 214 LoadModule info_module lib/apache/mod_info.dll 215 LoadModule includes_module lib/apache/mod_include.dll 216 LoadModule autoindex_module lib/apache/mod_autoindex.dll 217 LoadModule dir_module lib/apache/mod_dir.dll 218 LoadModule cgi_module lib/apache/mod_cgi.dll 219 LoadModule asis_module lib/apache/mod_asis.dll 220 LoadModule imap_module lib/apache/mod_imap.dll 221 LoadModule action_module lib/apache/mod_actions.dll 222 LoadModule speling_module lib/apache/mod_speling.dll 223 LoadModule userdir_module lib/apache/mod_userdir.dll 224 LoadModule alias_module lib/apache/mod_alias.dll 225 LoadModule rewrite_module lib/apache/mod_rewrite.dll 226 LoadModule access_module lib/apache/mod_access.dll 227 LoadModule auth_module lib/apache/mod_auth.dll 228 LoadModule anon_auth_module lib/apache/mod_auth_anon.dll 229 LoadModule digest_module lib/apache/mod_digest.dll 230 LoadModule proxy_module lib/apache/libproxy.dll 231 LoadModule cern_meta_module lib/apache/mod_cern_meta.dll 232 LoadModule expires_module lib/apache/mod_expires.dll 233 LoadModule headers_module lib/apache/mod_headers.dll 234 LoadModule usertrack_module lib/apache/mod_usertrack.dll 235 LoadModule example_module lib/apache/mod_example.dll 236 LoadModule log_forensic_module lib/apache/mod_log_forensic.dll 237 LoadModule unique_id_module lib/apache/mod_unique_id.dll 238 LoadModule setenvif_module lib/apache/mod_setenvif.dll
Many popular modules have been compiled and tested with Apache for Cygwin,
While there are developers who directly support the Windows native port of Apache, very few module developers do. That is why it is can be difficult to make a Unix-based Apache installation with third-party modules work the same way on the Windows side using the native port. Apache for Cygwin makes this much easier.
Apache for Cygwin is not as high-performance as Apache for Windows on the same hardware.
This is to be expected, because Cygwin emulates a Unix environment on a "foreign" operating system, while Apache for Windows uses Windows code in its own native environment. First benchmark results have shown that Apache for Cygwin is about 30% slower than native Apache for Windows counterpart.
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2018 by Dr. Nikolai Bezroukov. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info|
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.
Last modified: September 12, 2017