From: jhauga <[email protected]>

---
 faq/faq.html | 42 ++++++++++++++++++++++++++++++++++++++----
 1 file changed, 38 insertions(+), 4 deletions(-)

diff --git a/faq/faq.html b/faq/faq.html
index 6be1e54e..8b847da9 100644
--- a/faq/faq.html
+++ b/faq/faq.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>Cygwin FAQ</title><link rel="stylesheet" type="text/css" 
href="docbook.css"><meta name="generator" content="DocBook XSL Stylesheets 
Vsnapshot"><link rel="home" href="faq.html" title="Cygwin FAQ"></head><body 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation 
header"><tr><th colspan="3" align="center">Cygwin 
FAQ</th></tr></table><hr></div><div lang="en" class="article"><div 
class="titlepage"><div><div><h2 class="title"><a name="faq"></a>Cygwin 
FAQ</h2></div></div><hr></div><div class="qandaset"><a 
name="id1337"></a><dl><dt>1.  <a href="faq.html#faq.about">About 
Cygwin</a></dt><dd><dl><dt>1.1. <a href="faq.html#faq.what.what">What is 
it?</a></dt><dt>1.2. <a href="faq.html#faq.what.supported">What versions of 
Windows are supported?</a></dt><dt>1.3. <a href="faq.html#faq.what.where">Where 
can I get it?</a></dt><dt>1.4. <a href="faq.html#faq.what.free">Is it free 
software?</a></dt><dt>1.5. <a href="faq.html#faq.what.version">What version of 
Cygwin is this, anyway?</a></dt><dt>1.6. <a href="faq.html#faq.what.who">Who's 
behind the project?</a></dt></dl></dd><dt>2.  <a 
href="faq.html#faq.setup">Setting up Cygwin</a></dt><dd><dl><dt>2.1. <a 
href="faq.html#faq.setup.setup">What is the recommended installation 
procedure?</a></dt><dt>2.2. <a href="faq.html#faq.setup.automated">What about 
an automated Cygwin installation?</a></dt><dt>2.3. <a 
href="faq.html#faq.setup.cli">Does the Cygwin Setup program accept command-line 
arguments?</a></dt><dt>2.4. <a href="faq.html#faq.setup.noroot">Can I install 
Cygwin without administrator rights?</a></dt><dt>2.5. <a 
href="faq.html#faq.setup.c">Why not install in C:\?</a></dt><dt>2.6. <a 
href="faq.html#faq.setup.old-versions">Can I use the Cygwin Setup program to 
get old versions of packages (like gcc-2.95)?</a></dt><dt>2.7. <a 
href="faq.html#faq.setup.install-security">How does Cygwin secure the 
installation and update process?</a></dt><dt>2.8. <a 
href="faq.html#faq.setup.increase-install-security">What else can I do to 
ensure that my installation and updates are secure?</a></dt><dt>2.9. <a 
href="faq.html#faq.setup.virus">Is the Cygwin Setup program, or one of the 
packages, infected with a virus?</a></dt><dt>2.10. <a 
href="faq.html#faq.setup.hang">My computer hangs when I run Cygwin 
Setup!</a></dt><dt>2.11. <a href="faq.html#faq.setup.what-packages">What 
packages should I download? Where are 'make', 'gcc', 'vi', etc?  
</a></dt><dt>2.12. <a href="faq.html#faq.setup.everything">How do I just get 
everything?</a></dt><dt>2.13. <a href="faq.html#faq.setup.disk-space">How much 
disk space does Cygwin require?</a></dt><dt>2.14. <a 
href="faq.html#faq.setup.what-upgraded">How do I know which version I upgraded 
from?</a></dt><dt>2.15. <a href="faq.html#faq.setup.setup-fails">What if the 
Cygwin Setup program fails?</a></dt><dt>2.16. <a 
href="faq.html#faq.setup.name-with-space">My Windows logon name has a space in 
it, will this cause problems?</a></dt><dt>2.17. <a 
href="faq.html#faq.setup.home">My HOME environment variable is not what I 
want.</a></dt><dt>2.18. <a href="faq.html#faq.setup.uninstall-packages">How do 
I uninstall individual packages?</a></dt><dt>2.19. <a 
href="faq.html#faq.setup.uninstall-service">How do I uninstall a Cygwin 
service?</a></dt><dt>2.20. <a href="faq.html#faq.setup.uninstall-all">How do I 
uninstall all of Cygwin?</a></dt><dt>2.21. <a 
href="faq.html#faq.setup.testrels">How do I install Cygwin test 
releases?</a></dt><dt>2.22. <a href="faq.html#faq.setup.mirror">Can the Cygwin 
Setup program maintain a ``mirror''?</a></dt><dt>2.23. <a 
href="faq.html#faq.setup.cd">How can I make my own portable Cygwin on 
CD?</a></dt><dt>2.24. <a href="faq.html#faq.setup.registry">How do I save, 
restore, delete, or modify the Cygwin information stored in the 
registry?</a></dt></dl></dd><dt>3.  <a href="faq.html#faq.resources">Further 
Resources</a></dt><dd><dl><dt>3.1. <a 
href="faq.html#faq.resources.documentation">Where's the 
documentation?</a></dt><dt>3.2. <a 
href="faq.html#faq.resources.mailing-lists">What Cygwin mailing lists can I 
join?</a></dt><dt>3.3. <a href="faq.html#faq.resources.problems">What if I have 
a problem? (Or: Why won't you/the mailing list answer my 
questions?)</a></dt></dl></dd><dt>4.  <a href="faq.html#faq.using">Using 
Cygwin</a></dt><dd><dl><dt>4.1. <a href="faq.html#faq.using.missing-dlls">Why 
can't my application locate cygncurses-8.dll?  or cygintl-3.dll?  or 
cygreadline6.dll?  or ...?</a></dt><dt>4.2. <a 
href="faq.html#faq.using.startup-slow">Starting a new terminal window is slow. 
What's going on?</a></dt><dt>4.3. <a href="faq.html#faq.using.slow">Why is 
Cygwin suddenly so slow?</a></dt><dt>4.4. <a 
href="faq.html#faq.using.shares">Why can't my services access network 
shares?</a></dt><dt>4.5. <a href="faq.html#faq.using.path">How should I set my 
PATH?</a></dt><dt>4.6. <a href="faq.html#faq.using.not-found">Bash (or another 
shell) says "command not found", but it's right there!</a></dt><dt>4.7. <a 
href="faq.html#faq.using.converting-paths">How do I convert between Windows and 
UNIX paths?</a></dt><dt>4.8. <a href="faq.html#faq.using.bashrc">Why doesn't 
bash read my .bashrc file on startup?</a></dt><dt>4.9. <a 
href="faq.html#faq.using.bash-insensitive">How can I get bash filename 
completion to be case insensitive?</a></dt><dt>4.10. <a 
href="faq.html#faq.using.filename-spaces">Can I use paths/filenames containing 
spaces in them?</a></dt><dt>4.11. <a href="faq.html#faq.using.shortcuts">Why 
can't I cd into a shortcut to a directory?</a></dt><dt>4.12. <a 
href="faq.html#faq.using.find">I'm having basic problems with find.  
Why?</a></dt><dt>4.13. <a href="faq.html#faq.using.su">Why doesn't su 
work?</a></dt><dt>4.14. <a href="faq.html#faq.using.man">Why doesn't man -k,
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>Cygwin FAQ</title><link rel="stylesheet" type="text/css" 
href="docbook.css"><meta name="generator" content="DocBook XSL Stylesheets 
Vsnapshot"><link rel="home" href="faq.html" title="Cygwin FAQ"></head><body 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation 
header"><tr><th colspan="3" align="center">Cygwin 
FAQ</th></tr></table><hr></div><div lang="en" class="article"><div 
class="titlepage"><div><div><h2 class="title"><a name="faq"></a>Cygwin 
FAQ</h2></div></div><hr></div><div class="qandaset"><a 
name="id1337"></a><dl><dt>1.  <a href="faq.html#faq.about">About 
Cygwin</a></dt><dd><dl><dt>1.1. <a href="faq.html#faq.what.what">What is 
it?</a></dt><dt>1.2. <a href="faq.html#faq.what.supported">What versions of 
Windows are supported?</a></dt><dt>1.3. <a href="faq.html#faq.what.where">Where 
can I get it?</a></dt><dt>1.4. <a href="faq.html#faq.what.free">Is it free 
software?</a></dt><dt>1.5. <a href="faq.html#faq.what.version">What version of 
Cygwin is this, anyway?</a></dt><dt>1.6. <a href="faq.html#faq.what.who">Who's 
behind the project?</a></dt></dl></dd><dt>2.  <a 
href="faq.html#faq.setup">Setting up Cygwin</a></dt><dd><dl><dt>2.1. <a 
href="faq.html#faq.setup.setup">What is the recommended installation 
procedure?</a></dt><dt>2.2. <a href="faq.html#faq.setup.automated">What about 
an automated Cygwin installation?</a></dt><dt>2.3. <a 
href="faq.html#faq.setup.cli">Does the Cygwin Setup program accept command-line 
arguments?</a></dt><dt>2.4. <a href="faq.html#faq.setup.noroot">Can I install 
Cygwin without administrator rights?</a></dt><dt>2.5. <a 
href="faq.html#faq.setup.c">Why not install in C:\?</a></dt><dt>2.6. <a 
href="faq.html#faq.setup.old-versions">Can I use the Cygwin Setup program to 
get old versions of packages (like gcc-2.95)?</a></dt><dt>2.7. <a 
href="faq.html#faq.setup.install-security">How does Cygwin secure the 
installation and update process?</a></dt><dt>2.8. <a 
href="faq.html#faq.setup.increase-install-security">What else can I do to 
ensure that my installation and updates are secure?</a></dt><dt>2.9. <a 
href="faq.html#faq.setup.virus">Is the Cygwin Setup program, or one of the 
packages, infected with a virus?</a></dt><dt>2.10. <a 
href="faq.html#faq.setup.hang">My computer hangs when I run Cygwin 
Setup!</a></dt><dt>2.11. <a href="faq.html#faq.setup.what-packages">What 
packages should I download? Where are 'make', 'gcc', 'vi', etc?  
</a></dt><dt>2.12. <a href="faq.html#faq.setup.everything">How do I just get 
everything?</a></dt><dt>2.13. <a href="faq.html#faq.setup.disk-space">How much 
disk space does Cygwin require?</a></dt><dt>2.14. <a 
href="faq.html#faq.setup.what-upgraded">How do I know which version I upgraded 
from?</a></dt><dt>2.15. <a href="faq.html#faq.setup.setup-fails">What if the 
Cygwin Setup program fails?</a></dt><dt>2.16. <a 
href="faq.html#faq.setup.name-with-space">My Windows logon name has a space in 
it, will this cause problems?</a></dt><dt>2.17. <a 
href="faq.html#faq.setup.home">My HOME environment variable is not what I 
want.</a></dt><dt>2.18. <a href="faq.html#faq.setup.uninstall-packages">How do 
I uninstall individual packages?</a></dt><dt>2.19. <a 
href="faq.html#faq.setup.uninstall-service">How do I uninstall a Cygwin 
service?</a></dt><dt>2.20. <a href="faq.html#faq.setup.uninstall-all">How do I 
uninstall all of Cygwin?</a></dt><dt>2.21. <a 
href="faq.html#faq.setup.testrels">How do I install Cygwin test 
releases?</a></dt><dt>2.22. <a href="faq.html#faq.setup.mirror">Can the Cygwin 
Setup program maintain a ``mirror''?</a></dt><dt>2.23. <a 
href="faq.html#faq.setup.cd">How can I make my own portable Cygwin on 
CD?</a></dt><dt>2.24. <a href="faq.html#faq.setup.registry">How do I save, 
restore, delete, or modify the Cygwin information stored in the 
registry?</a></dt></dl></dd><dt>3.  <a href="faq.html#faq.resources">Further 
Resources</a></dt><dd><dl><dt>3.1. <a 
href="faq.html#faq.resources.documentation">Where's the 
documentation?</a></dt><dt>3.2. <a 
href="faq.html#faq.resources.mailing-lists">What Cygwin mailing lists can I 
join?</a></dt><dt>3.3. <a href="faq.html#faq.resources.problems">What if I have 
a problem? (Or: Why won't you/the mailing list answer my 
questions?)</a></dt><dt>3.4. <a href="faq.html#faq.run.local.website">How do I 
clone and run a local version of the cygwin website?</a></dt></dl></dd><dt>4.  
<a href="faq.html#faq.using">Using Cygwin</a></dt><dd><dl><dt>4.1. <a 
href="faq.html#faq.using.missing-dlls">Why can't my application locate 
cygncurses-8.dll?  or cygintl-3.dll?  or cygreadline6.dll?  or 
...?</a></dt><dt>4.2. <a href="faq.html#faq.using.startup-slow">Starting a new 
terminal window is slow. What's going on?</a></dt><dt>4.3. <a 
href="faq.html#faq.using.slow">Why is Cygwin suddenly so slow?</a></dt><dt>4.4. 
<a href="faq.html#faq.using.shares">Why can't my services access network 
shares?</a></dt><dt>4.5. <a href="faq.html#faq.using.path">How should I set my 
PATH?</a></dt><dt>4.6. <a href="faq.html#faq.using.not-found">Bash (or another 
shell) says "command not found", but it's right there!</a></dt><dt>4.7. <a 
href="faq.html#faq.using.converting-paths">How do I convert between Windows and 
UNIX paths?</a></dt><dt>4.8. <a href="faq.html#faq.using.bashrc">Why doesn't 
bash read my .bashrc file on startup?</a></dt><dt>4.9. <a 
href="faq.html#faq.using.bash-insensitive">How can I get bash filename 
completion to be case insensitive?</a></dt><dt>4.10. <a 
href="faq.html#faq.using.filename-spaces">Can I use paths/filenames containing 
spaces in them?</a></dt><dt>4.11. <a href="faq.html#faq.using.shortcuts">Why 
can't I cd into a shortcut to a directory?</a></dt><dt>4.12. <a 
href="faq.html#faq.using.find">I'm having basic problems with find.  
Why?</a></dt><dt>4.13. <a href="faq.html#faq.using.su">Why doesn't su 
work?</a></dt><dt>4.14. <a href="faq.html#faq.using.man">Why doesn't man -k,
 apropos or whatis work?</a></dt><dt>4.15. <a 
href="faq.html#faq.using.chmod">Why doesn't chmod work?</a></dt><dt>4.16. <a 
href="faq.html#faq.using.shell-scripts">Why doesn't my shell script 
work?</a></dt><dt>4.17. <a href="faq.html#faq.using.printing">How do I print 
under Cygwin?</a></dt><dt>4.18. <a href="faq.html#faq.using.unicode">Why don't 
international (Unicode) characters work?</a></dt><dt>4.19. <a 
href="faq.html#faq.using.weirdchars">My application prints international 
characters but I only
 see gray boxes</a></dt><dt>4.20. <a 
href="faq.html#faq.using.multiple-copies">Is it OK to have multiple copies of 
the DLL?</a></dt><dt>4.21. <a 
href="faq.html#faq.using.third-party.multiple-copies">
 I read the above but I want to bundle Cygwin with a product, and ship it
@@ -543,7 +543,7 @@ somewhat different setup of a Cygwin 1.5.x release.  As 
soon as somebody set
 this up for recent Cygwin releases, we might add this information here.
 </p></td></tr><tr class="question"><td align="left" valign="top"><a 
name="faq.setup.registry"></a><a name="id1369"></a><p><b>2.24.</b></p></td><td 
align="left" valign="top"><p>How do I save, restore, delete, or modify the 
Cygwin information stored in the registry?</p></td></tr><tr class="answer"><td 
align="left" valign="top"></td><td align="left" valign="top"><p>Cygwin doesn't 
store anything important in the registry anymore for
 quite some time.  There's no reason to save, restore or delete it.
-</p></td></tr><tr class="qandadiv"><td align="left" valign="top" 
colspan="2"><h3 class="title"><a name="faq.resources"></a>3. Further 
Resources</h3></td></tr><tr class="toc"><td align="left" valign="top" 
colspan="2"><dl><dt>3.1. <a href="faq.html#faq.resources.documentation">Where's 
the documentation?</a></dt><dt>3.2. <a 
href="faq.html#faq.resources.mailing-lists">What Cygwin mailing lists can I 
join?</a></dt><dt>3.3. <a href="faq.html#faq.resources.problems">What if I have 
a problem? (Or: Why won't you/the mailing list answer my 
questions?)</a></dt></dl></td></tr><tr class="question"><td align="left" 
valign="top"><a name="faq.resources.documentation"></a><a 
name="id1371"></a><p><b>3.1.</b></p></td><td align="left" 
valign="top"><p>Where's the documentation?</p></td></tr><tr class="answer"><td 
align="left" valign="top"></td><td align="left" valign="top"><p>If you have 
installed Cygwin, you can find lots of documentation in
+</p></td></tr><tr class="qandadiv"><td align="left" valign="top" 
colspan="2"><h3 class="title"><a name="faq.resources"></a>3. Further 
Resources</h3></td></tr><tr class="toc"><td align="left" valign="top" 
colspan="2"><dl><dt>3.1. <a href="faq.html#faq.resources.documentation">Where's 
the documentation?</a></dt><dt>3.2. <a 
href="faq.html#faq.resources.mailing-lists">What Cygwin mailing lists can I 
join?</a></dt><dt>3.3. <a href="faq.html#faq.resources.problems">What if I have 
a problem? (Or: Why won't you/the mailing list answer my 
questions?)</a></dt><dt>3.4. <a href="faq.run.local.website">How do I clone and 
run a local version of the cygwin website?</a></dt></dl></td></tr><tr 
class="question"><td align="left" valign="top"><a 
name="faq.resources.documentation"></a><a 
name="id1371"></a><p><b>3.1.</b></p></td><td align="left" 
valign="top"><p>Where's the documentation?</p></td></tr><tr class="answer"><td 
align="left" valign="top"></td><td align="left" valign="top"><p>If you have 
installed Cygwin, you can find lots of documentation in
 <code class="literal">/usr/share/doc/</code>.  Some packages have Cygwin 
specific
 instructions in a file
 <code class="literal">/usr/share/doc/Cygwin/<em 
class="replaceable"><code>package_name</code></em>.README</code>.
@@ -567,8 +567,42 @@ and an API Reference at
 <a class="ulink" href="http://www.gnu.org/manual/"; 
target="_top">http://www.gnu.org/manual/</a>.
 </p></td></tr><tr class="question"><td align="left" valign="top"><a 
name="faq.resources.mailing-lists"></a><a 
name="id1372"></a><p><b>3.2.</b></p></td><td align="left" valign="top"><p>What 
Cygwin mailing lists can I join?</p></td></tr><tr class="answer"><td 
align="left" valign="top"></td><td align="left" valign="top"><p>Comprehensive 
information about the Cygwin mailing lists can be found at
 <a class="ulink" href="https://cygwin.com/lists.html"; 
target="_top">https://cygwin.com/lists.html</a>.
-</p></td></tr><tr class="question"><td align="left" valign="top"><a 
name="faq.resources.problems"></a><a 
name="id1373"></a><p><b>3.3.</b></p></td><td align="left" valign="top"><p>What 
if I have a problem? (Or: Why won't you/the mailing list answer my 
questions?)</p></td></tr><tr class="answer"><td align="left" 
valign="top"></td><td align="left" valign="top"><p>Comprehensive information 
about reporting problems with Cygwin can be found at <a class="ulink" 
href="https://cygwin.com/problems.html"; 
target="_top">https://cygwin.com/problems.html</a>.
-</p></td></tr><tr class="qandadiv"><td align="left" valign="top" 
colspan="2"><h3 class="title"><a name="faq.using"></a>4. Using 
Cygwin</h3></td></tr><tr class="toc"><td align="left" valign="top" 
colspan="2"><dl><dt>4.1. <a href="faq.html#faq.using.missing-dlls">Why can't my 
application locate cygncurses-8.dll?  or cygintl-3.dll?  or cygreadline6.dll?  
or ...?</a></dt><dt>4.2. <a href="faq.html#faq.using.startup-slow">Starting a 
new terminal window is slow. What's going on?</a></dt><dt>4.3. <a 
href="faq.html#faq.using.slow">Why is Cygwin suddenly so slow?</a></dt><dt>4.4. 
<a href="faq.html#faq.using.shares">Why can't my services access network 
shares?</a></dt><dt>4.5. <a href="faq.html#faq.using.path">How should I set my 
PATH?</a></dt><dt>4.6. <a href="faq.html#faq.using.not-found">Bash (or another 
shell) says "command not found", but it's right there!</a></dt><dt>4.7. <a 
href="faq.html#faq.using.converting-paths">How do I convert between Windows and 
UNIX paths?</a></dt><dt>4.8. <a href="faq.html#faq.using.bashrc">Why doesn't 
bash read my .bashrc file on startup?</a></dt><dt>4.9. <a 
href="faq.html#faq.using.bash-insensitive">How can I get bash filename 
completion to be case insensitive?</a></dt><dt>4.10. <a 
href="faq.html#faq.using.filename-spaces">Can I use paths/filenames containing 
spaces in them?</a></dt><dt>4.11. <a href="faq.html#faq.using.shortcuts">Why 
can't I cd into a shortcut to a directory?</a></dt><dt>4.12. <a 
href="faq.html#faq.using.find">I'm having basic problems with find.  
Why?</a></dt><dt>4.13. <a href="faq.html#faq.using.su">Why doesn't su 
work?</a></dt><dt>4.14. <a href="faq.html#faq.using.man">Why doesn't man -k,
+</p></td></tr><tr class="question"><td align="left" valign="top"><a 
name="faq.resources.problems"></a><a 
name="id1373"></a><p><b>3.3.</b></p></td><td align="left" valign="top"><p>What 
if I have a problem? (Or: Why won't you/the mailing list answer my 
questions?)</p></td></tr><tr class="answer"><td align="left" 
valign="top"></td><td align="left" valign="top"><p>Comprehensive information 
about reporting problems with Cygwin can be found at <a class="ulink" 
href="https://cygwin.com/problems.html"; 
target="_top">https://cygwin.com/problems.html</a>.</p></td></tr><tr 
class="question"><td align="left" valign="top"><a 
name="faq.run.local.website"></a><a 
name="id1374"></a><p><b>3.4.</b></p></td><td align="left" valign="top"><p>How 
do I clone and run a local version of the cygwin website?</p></td></tr><tr 
class="answer"><td align="left" valign="top"></td><td align="left" 
valign="top"><p>First, clone the website repository using <code 
class="literal">git clone https://cygwin.com/git/cygwin-htdocs.git</code>. </p>
+<p>To retrieve the documentation files from the doc build, see <a 
href="#faq.programming.building-cygwin">newlib-cygwin install</a> and follow 
the instructions there. After building <code>newlib-cygwin</code>, return to 
the root of the cloned site and run <code class="literal">mkdir 
doc/preview</code>. Then, from the <code>build</code> directory of 
<code>newlib-cygwin</code>, copy the <code>winsup/doc/cygwin-ug-net</code> 
folder into the <code>doc/preview</code> directory in the site root.</p><p>
+Next, ensure you have a server program capable of creating a local host using 
a <code>httpd.conf</code> file e.g. <code>httpd</code>. If you're on Windows, 
you can install <code>httpd</code> using <code class="literal">winget install 
ApacheLounge.httpd</code>, which works well for this purpose.</p><p>After 
installing a server program such as <code>httpd</code>, create a 
<code>httpd.conf</code> file in the site root. If you're using software like 
<code>XAMPP</code> or <code>AMPPS</code>, configure the <code>httpd.conf</code> 
using the example below as a guide. If you're using a command-line tool like 
<code>httpd</code>, you can also use the example below, just adjust the paths 
and other values as needed.</p>
+<p><b>Tip:</b> Use <code>which httpd</code> to locate 
<code>path/to/Apache24/bin</code>, adjusting <code>Apache24/modules</code> 
accordingly.</p><pre class="screen">
+# httpd.conf (in current folder)
+ServerRoot "c:/Users/NAME/path/to/Apache24/bin"
+Listen 8000
+ServerName localhost
+DocumentRoot "C:/Users/NAME/cygwin-htdocs"
+
+LoadModule rewrite_module 
"C:/Users/NAME/path/to/Apache24/modules/mod_rewrite.so"
+LoadModule alias_module "C:/Users/NAME/path/to/Apache24/modules/mod_alias.so"
+LoadModule mime_module "C:/Users/NAME/path/to/Apache24/modules/mod_mime.so"
+LoadModule dir_module "C:/Users/NAME/path/to/Apache24/modules/mod_dir.so"
+LoadModule include_module 
"C:/Users/NAME/path/to/Apache24/modules/mod_include.so"
+LoadModule authz_core_module 
"C:/Users/NAME/path/to/Apache24/modules/mod_authz_core.so"
+LoadModule log_config_module 
"C:/Users/NAME/path/to/Apache24/modules/mod_log_config.so"
+
+&lt;Directory "C:/Users/NAME/cygwin-htdocs"&gt;
+    Options +Includes +Indexes
+    AllowOverride All
+    Require all granted
+&lt;/Directory&gt;
+
+AddType text/html .html
+AddOutputFilter INCLUDES .html
+Options +Includes
+
+DirectoryIndex index.html
+
+TypesConfig "C:/Users/NAME/path/to/Apache24/conf/mime.types"
+PidFile "C:/Users/NAME/cygwin-htdocs/httpd.pid"
+
+ErrorLog "C:/Users/NAME/cygwin-htdocs/error.log"
+CustomLog "C:/Users/NAME/cygwin-htdocs/access.log" common
+</pre><p>Make sure the <code>httpd.conf</code> file is in the root of the 
cloned site, then run <code class="literal">httpd.exe -f "%cd%\httpd.conf" 
-DFOREGROUND</code> to start the server. Once it's running, open 
<code>http://localhost:8000/</code> in your browser.</p></td></tr><tr 
class="qandadiv"><td align="left" valign="top" colspan="2"><h3 class="title"><a 
name="faq.using"></a>4. Using Cygwin</h3></td></tr><tr class="toc"><td 
align="left" valign="top" colspan="2"><dl><dt>4.1. <a 
href="faq.html#faq.using.missing-dlls">Why can't my application locate 
cygncurses-8.dll?  or cygintl-3.dll?  or cygreadline6.dll?  or 
...?</a></dt><dt>4.2. <a href="faq.html#faq.using.startup-slow">Starting a new 
terminal window is slow. What's going on?</a></dt><dt>4.3. <a 
href="faq.html#faq.using.slow">Why is Cygwin suddenly so slow?</a></dt><dt>4.4. 
<a href="faq.html#faq.using.shares">Why can't my services access network 
shares?</a></dt><dt>4.5. <a href="faq.html#faq.using.path">How should I set my 
PATH?</a></dt><dt>4.6. <a href="faq.html#faq.using.not-found">Bash (or another 
shell) says "command not found", but it's right there!</a></dt><dt>4.7. <a 
href="faq.html#faq.using.converting-paths">How do I convert between Windows and 
UNIX paths?</a></dt><dt>4.8. <a href="faq.html#faq.using.bashrc">Why doesn't 
bash read my .bashrc file on startup?</a></dt><dt>4.9. <a 
href="faq.html#faq.using.bash-insensitive">How can I get bash filename 
completion to be case insensitive?</a></dt><dt>4.10. <a 
href="faq.html#faq.using.filename-spaces">Can I use paths/filenames containing 
spaces in them?</a></dt><dt>4.11. <a href="faq.html#faq.using.shortcuts">Why 
can't I cd into a shortcut to a directory?</a></dt><dt>4.12. <a 
href="faq.html#faq.using.find">I'm having basic problems with find.  
Why?</a></dt><dt>4.13. <a href="faq.html#faq.using.su">Why doesn't su 
work?</a></dt><dt>4.14. <a href="faq.html#faq.using.man">Why doesn't man -k,
 apropos or whatis work?</a></dt><dt>4.15. <a 
href="faq.html#faq.using.chmod">Why doesn't chmod work?</a></dt><dt>4.16. <a 
href="faq.html#faq.using.shell-scripts">Why doesn't my shell script 
work?</a></dt><dt>4.17. <a href="faq.html#faq.using.printing">How do I print 
under Cygwin?</a></dt><dt>4.18. <a href="faq.html#faq.using.unicode">Why don't 
international (Unicode) characters work?</a></dt><dt>4.19. <a 
href="faq.html#faq.using.weirdchars">My application prints international 
characters but I only
 see gray boxes</a></dt><dt>4.20. <a 
href="faq.html#faq.using.multiple-copies">Is it OK to have multiple copies of 
the DLL?</a></dt><dt>4.21. <a 
href="faq.html#faq.using.third-party.multiple-copies">
 I read the above but I want to bundle Cygwin with a product, and ship it
-- 
2.46.0.windows.1

Reply via email to