The Apache Haus Forum

Forum Topics => News & General Discussion => Topic started by: Black Caesar on December 26, 2015, 11:33:46 AM

Title: Using Apache as "sv_downloadurl"
Post by: Black Caesar on December 26, 2015, 11:33:46 AM
I have this dedicated server which I made for a Source game, a not too popular one, where I met many friends apparently.

Can I use Apache Haus as a "sv_downloadurl" for, at least, the maps?
Title: Re: Using Apache as "sv_downloadurl"
Post by: Gregg on December 26, 2015, 10:08:21 PM
Yes, you can use Apache for sv_downloadurl. I used to use it for my Quake III Arena server many years ago.
Title: Re: Using Apache as "sv_downloadurl"
Post by: Black Caesar on December 27, 2015, 02:39:10 PM
Quake III is different from Source games, but that's nice anyway.

Is there a full guide on how to make it so though?
Title: Re: Using Apache as "sv_downloadurl"
Post by: Gregg on December 27, 2015, 06:42:05 PM
No, Quake is different but not really, both use .bsp files for the map.

Searching on Google for "source games sv_downloadurl" one I see is;

https://support.steampowered.com/kb_article.php?ref=9717-HMAP-7066
Title: Re: Using Apache as "sv_downloadurl"
Post by: Black Caesar on December 29, 2015, 08:38:58 AM
That guide doesn't show you how to setup a HTTP though, just how to setup your server to go directly to it.

I tried, but I can't find a guide on how to setup Apache Haus in Windows, I don't know at all and never tried making a HTTP server. Where can I find an easy, detailed one?
Title: Re: Using Apache as "sv_downloadurl"
Post by: Gregg on December 29, 2015, 06:08:34 PM
The included readme_first.html file in the zip we make available tells how to set up the Apache part. Our Apache builds come preconfigured to serve files from Apache's "htdocs" folder via (http://localhost) if you follow the directions exactly.

You will need to forward port 80 through your router.
You will need to know your IP address

One you get http://ipaddress working you can follow those other instructions adding the need folders to your Apache's htdocs folder.

/htdocs
/htdocs/gamename/
/htdocs/gamename/maps
/htdocs/gamename/sound

hen your sv_downloadurl would be http://ipaddress/gamename




Title: Re: Using Apache as "sv_downloadurl"
Post by: Black Caesar on January 10, 2016, 09:27:20 AM
Thank you, I'll give this a try.

Sorry for a rather late response, been busy lately.

In case I still got issues, I'll just post here.
Title: Re: Using Apache as "sv_downloadurl"
Post by: Black Caesar on May 11, 2016, 09:44:31 PM
Finally, I have some time now.

Okay so, I tried going with the config and all, but I'm missing one thing; setting up an ipaddress.

How do I do that with ApacheHaus? I have the IP, but I'm not sure how to set that up with ApacheHaus.
Title: Re: Using Apache as "sv_downloadurl"
Post by: Gregg on May 11, 2016, 10:09:47 PM
You have an IP already, more than one, we all do. Go to http://www.whatsmyip.com and it will tell your WAN IP that goes outside to the world. You also have an LAN IP that connects you to the router (usually 192.169.1.xxx).

Out of the box Apache is setup to listen to all IPs on the computer, if you're behind a router you need to tell the router to forward port 80 to the server's LAN IP. How you do that depends on the router so you will have to read the router's manual.

Once  that is done, you should be able to go to http://yourWANip and Apache should answer.