Skip to content

Instantly share code, notes, and snippets.

@airicbear
Created January 24, 2020 21:07
Show Gist options
  • Save airicbear/32f1724464593d5bd4cd9b384b2d50d9 to your computer and use it in GitHub Desktop.
Save airicbear/32f1724464593d5bd4cd9b384b2d50d9 to your computer and use it in GitHub Desktop.
How I set up an http server at work

How I set up an http server at work

The basic gist of it is I modified some stuff in conf/httpd.conf.

Download Apache Haus

If you don’t care about where it is installed, just move the Apache24 folder to your root directory (e.g. C:/Apache24) However, I install it at %USERPROFILE%/AppData/Local/ so it’s a bit more complicated!

Configuration

Basically, you just need to edit the SRVROOT variable to wherever Apache24 is installed if it isn’t installed at your root directory.

If you need to use a different port, just type netstat -an and look for a LISTENING port with a local address starting with 127.0.0.1.

That’s pretty much it. It’s a lot simpler than I thought it was as I was encountering a bunch of error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment