Using Apache as "sv_downloadurl"

Started by Black Caesar, December 26, 2015, 11:33:46 AM

Previous topic - Next topic

Black Caesar

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?

Gregg

Yes, you can use Apache for sv_downloadurl. I used to use it for my Quake III Arena server many years ago.

Black Caesar

Quake III is different from Source games, but that's nice anyway.

Is there a full guide on how to make it so though?

Gregg

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

Black Caesar

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?

Gregg

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





Black Caesar

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.

Black Caesar

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.

Gregg

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.