logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache server 2.2.9 on win 2000 w/Microsoft Visual C++ 2008
Author
strungstephen



Joined: 07 Sep 2008
Posts: 11
Location: united states, tx

PostPosted: Sun 07 Sep '08 23:09    Post subject: apache server 2.2.9 on win 2000 w/Microsoft Visual C++ 2008 Reply with quote

trying to run apache 2.2.9 on windows 2000 w/sp4. found a link at lifehacker.com showing me how to make my music files accessible from a different computer. when i type http://localhost in my web browser it works fine. but when i change the httpd.conf file, to Document Root "C:/ stephen/my music" , the directory, to <Directory "C:/stephen/my music", and the allowOveride to All, save that modified file then restart apache and type http://localhost in my web browser and see my music files. But apache wont restart, never touched a computer since highschool and im 40 now. i know the learnig curve is big for me but they peak my curiosity. i also use ubuntu 8.04 on 1 computer xp on two others and the 2000 computer has the apache. any hints where to look or if anyone has some input as to where to look for the solution, fire away. My guess is that maybe thier is a module issue. i know im missing something.[/url]

Last edited by strungstephen on Mon 08 Sep '08 4:33; edited 1 time in total
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 08 Sep '08 2:34    Post subject: Reply with quote

Maybe you meant:
Code:
DocumentRoot "C:/stephen/my music"
with no space in "Document Root" and a colon after the "C".

Apache directives like DocumentRoot require careful attention to details like this.

You probably need a <Directory> directive like this:
Code:
<Directory "C:/stephen/my music">
    Options Indexes
    Allow from all
</Directory>


-t-

p.s. The regular Windows 2000 place for music files would be C:/Documents and Settings/Stephen/My Documents/My Music". Are you sure you mean "C:/stephen/my music"?


Last edited by tdonovan on Mon 08 Sep '08 2:37; edited 2 times in total
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 08 Sep '08 2:35    Post subject: Reply with quote

in your example you are missing a colon in "C(colon)/stephen/my music," did you do the same in httpd.conf?

oops, you beat me Tom
Back to top
strungstephen



Joined: 07 Sep 2008
Posts: 11
Location: united states, tx

PostPosted: Tue 09 Sep '08 2:29    Post subject: thanks! Reply with quote

the tip on directory was right on. now that i got that to work i have posted my website, any tips for a newbie on security for my server? and also wondering, i have an account with Dyndns, will this work to update my ip on a continiuos basis. any tips on how to moniter my website would be cool also. thanks so much again. we are a non-profit christian based home recording studio. Very Happy
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 09 Sep '08 5:33    Post subject: Re: thanks! Reply with quote

strungstephen wrote:
i have an account with Dyndns, will this work to update my ip on a continiuos basis.


As long as you are using a update client, it should.


Security:
mod_security
make sure all software is current
running Apache as a user (quite advanced however can be done on Win Pro & Server versions)

Website Monitor
http://www.siteuptime.com/
Back to top


Reply to topic   Topic: apache server 2.2.9 on win 2000 w/Microsoft Visual C++ 2008 View previous topic :: View next topic
Post new topic   Forum Index -> Apache