This is a discussion on Getting Apache to work within the Windows Web Servers forums, part of the Web Server and Related Forums category; Well I managed to get the newest version of Apache installed on my machine that's running Windows XP SP2. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Well I managed to get the newest version of Apache installed on my
machine that's running Windows XP SP2. I'm having trouble, however getting it to work with the DNS I have. I had to put "Listen localhost:80" to get the service to start, but now I want to have it so others can access my site from the web. Since I have a dynamic IP, and a router, I think this may be a problem. I have my router set to forward port 80 requests to this computer. I was using a file sharing program (WWW File Share Pro) and now I want to switch to Apache. I had my website set up that when people visited www.elpram.tk it would forward them to www.elpram.mine.nu (a dyndns.org adress) which was linked to my current IP. I have a program set up that updates dyndns.org with my IP when it changes. So, in short, i don't quite know how to do much. I put "ServerName www.elpram.mine.nu:80" but I don't really know if that's even close to being right or not. Sorry for the long explanation, and thanks for any help. |
|
|||
|
wow, i got it working :D
however, now i'd like to know if it's possible to share directories on my computer, like when people would go to www.<mysite>.com/games, theyd actually be browsing through C:\Downloads. Does anyone get what I mean? I'm trying to use my computer mostly as a filesharing resource/site Thanks for all your help |
|
|||
|
On 06 Dec 2004, "Elpram" <d.marple@gmail.com> wrote in
news:1102394138.591371.216630@z14g2000cwz.googlegr oups.com: > wow, i got it working :D > however, now i'd like to know if it's possible to share > directories on my computer, like when people would go to > www.<mysite>.com/games, theyd actually be browsing through > C:\Downloads. Read up about the "Alias" directive in the documentation. |
|
|||
|
great! now if i go to www.mysite/games it brings me to the directory on
my computer! However, is there any way I can get it not to be that ugly white background with the "Index of /games" at the top? In other words, can I do some HTML on that page? And if so, where do I go to do it? One last thing, I'm assuming that the index.html.en in htdocs is the default page displayed, so I just edit that for my homepage, right? Thanks for the help, it's really appreciated! |
|
|||
|
On 07 Dec 2004, "Elpram" <d.marple@gmail.com> wrote in
news:1102476405.823740.80980@c13g2000cwb.googlegro ups.com: > great! now if i go to www.mysite/games it brings me to the > directory on my computer! However, is there any way I can get it > not to be that ugly white background with the "Index of /games" at > the top? In other words, can I do some HTML on that page? You can either place an html document there and name it "index.html", or you can make the directory listings prettier by enabling Fancyindexing using the IndexOptions directive. Also look into using a header.html or header.txt in your directory listing. It's all in the docs, which should have been installed with Apache, and are also online at <http://httpd.apache.org/docs-2.0/>. |
|
|||
|
On 08 Dec 2004, "Elpram" <d.marple@gmail.com> wrote in
news:1102553499.370184.246760@f14g2000cwb.googlegr oups.com: > Alright, well, I'll keep fiddling around with the index, but im > wondering now if i can have it so people can upload to my site? Not with Apache. Apache is a web server only. If you want people to upload, you should set up an ftp server. Check out Filezilla Server or War FTPd. |
|
|||
|
Elpram wrote:
> Alright, well, I'll keep fiddling around with the index, but im > wondering now if i can have it so people can upload to my site? Take a look at mod_dav. It's a standard component in Apache 2.0. There are a variety of client tools that can work with mod_dav, including the "Web Share" capability that is built into Windows Explorer. There is a list of WebDav clients and servers on the web site, http://www.webdav.org. To set up a Web Share in Windows (which would allow your Windows visitors to put stuff onto your site with Windows Explorer), use the "Add a Network Place" wizard from Network Places. Just type in the web site address, and Windows will open it as any other network share so that you can view its contents drop files into it. Normally, you would put some kind of protection on the directory to ensure it's used by only authorized users, but it's not necessary if you want a public space. -- Jim Patterson Ottawa, Ont CANADA |