Converting a partition into a webserver

Greetings from the newb,

Rather than having a folder with Apache on my C:\ drive, I would like to use a whole partition, say my M:\ drive, as my web server, (i.e. M:\index.htm = http://localhost/index.htm in a web browser.)

I have a separate, empty, formatted partition with 10GB of space, I have Apache, but now I just need to know how to turn this partition into the web server, can anyone lend me a hand on this one?

EDIT: I know how to do this with Ubuntu server, but I’d rather accomplish the above task on Windows Vista if at all possible, as I don’t have another computer, and dual booting is a pain.

hi I think what you need is apache friends - xampp for windows when installing give M:\ as the destination.

Now anything you put in the htdocs folder, you can access using http://localhost/whatever

thats unless you running ISS server?

Nope, no ISS, is Xampp the only option? Or could I use a windows Apache binary or Wamp server and simply specify M:\ as the install directory and get the same result?

unless you want to mess around installing php/apache etc xamp is the best option.

Yeah, you can’t exactly drop to a shell in Vista and apt-get all the dependencies, can you? :x: On the same token, keep in mind that you’ll have to periodically download the latest version of XAMPP for security fixes rather than relying on a good old package manager to do it for you.

If I was you, I’d be running Apache in a Linux OS, installed in a virtual machine. That way you could have the benefits of a Linux OS without dual booting. On the other hand, you still have the security, stability and performance limitations of Vista, which will be a limiting factor for your webserver. I suppose you could always run Linux as your primary OS, then run Vista in a virtual machine… :slight_smile: This is coming from a guy who runs Debian on his primary desktop though, and I have a dedicated webserver running CentOS, so my bias is obvious. :stuck_out_tongue: