# Help with Apache

**URL:** <https://forum.kirupa.com/t/help-with-apache/151>\
**Category:** Uncategorized\
**Created:** [July 7, 2002, 6:04pm UTC](https://forum.kirupa.com/t/help-with-apache/151 "2002-07-07T18:04:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iammontoya](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Iammontoya](https://forum.kirupa.com/u/Iammontoya)\
**Post date:** [July 7, 2002, 6:04pm UTC](https://forum.kirupa.com/t/help-with-apache/151/1 "2002-07-07T18:04:00Z")

</div>

I had no idea where to post this.

I am now running Apache server 2.x and Im happy to say it is working just fine.

I have a directory on my desktop, let’s call it, mydir… so…

c:\documents and settings\montoya\mydir

Here’s my question…

I want to be able to say… http:\localhost  
ewdir

and have it point to c:\documents and settings\montoya\mydir  
thefore pulling files from that directory.

I thought it was an alias thing…

your help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2002, 7:39pm UTC](https://forum.kirupa.com/t/help-with-apache/151/2 "2002-07-07T19:39:06Z")

</div>

it might be easier to make the folder on your destop a shortcut to http:\localhost  
ewdir

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 8, 2002, 1:00am UTC](https://forum.kirupa.com/t/help-with-apache/151/3 "2002-07-08T01:00:08Z")

</div>

Um… I may have misrepresnted my problem.

I want to webenable a folder outside of the htdocs in Apache.

For example, if I have a folder c:\myfolder,

I want to web-enable it in Apache.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 8, 2002, 9:47pm UTC](https://forum.kirupa.com/t/help-with-apache/151/4 "2002-07-08T21:47:11Z")

</div>

i understood your problem. but same result && easier to do = a good thing

in linux, there’s a DocumentRoot directive in httpd.conf which defines which directory is your live one. i’d assume that there’s a similiar file for windows.

if you change it, your htdocs directory will no longer be the DocumentRoot, and it won’t be live anymore.

there may be a way to make more than one root live. maybe ask on an apache forum. ; )

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2002, 6:59pm UTC](https://forum.kirupa.com/t/help-with-apache/151/5 "2002-07-09T18:59:05Z")

</div>

i came across this link:  
[http://www.firepages.com.au/faq.htm?Q=4](http://www.firepages.com.au/faq.htm?Q=4)

it suggests changing your DocumentRoot to C:/ and then setting security settings.

this means you are serving your whole C drive! be afraid … be very afraid…

in the example they restrict access to 127.0.0.1, the local adaptor. pretty good idea. ; )

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 9, 2002, 7:40pm UTC](https://forum.kirupa.com/t/help-with-apache/151/6 "2002-07-09T19:40:57Z")

</div>

thanks. I know there is a way to do it. I know it is a virtual directory thing, but… I have no idea how to do it.
