My Apache cheat sheet

The VirtualHost configuration is located here

Defining a VirtualHost

I am using Vagrant on Windows, so I have to add this domain to my Windows hosts file:

The Apache Service and its commands

Possible commands:

  • start
  • stop
  • graceful-stop
  • restart
  • reload
  • force-reload
  • start-htcacheclean
  • stop-htcacheclean

Apache2 modules

Enabling a module:

Disabling a module:

List all enabled modules:

Available modules (on my maschine):

 

Vagrant LAMP Stack setup

I liked WAMP very much, but after discovering Vagrant I never will go back to WAMP.

What is Vagrant used for?

Create and configure lightweight, reproducible, and portable development environments.

In my words: Vagrant is used to simulate a real server environment to interact with.

In this article I want to share my basic setup.

Continue reading Vagrant LAMP Stack setup