Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I find this approach is complex enough to address the needs of most applications and at the same simple enough to implement for the intermediate level user.For more advanced security and shared hosting you should implement ACLs.

To segregate users Iv'e tried ACLs for a long time but it's not workable. Instead with the modern technologies, I'm looking a using Linux Containers or Docker.

Virtual Hosting

Note

There is another approach to this (provided most virtual hosts have the same requirements) where virtual hosts are created through mod rewrite, convention and customization is achieved using .htaccess or <Directory>.

...

Note
titleApache 2.2 and older

In Apache 2.2 and older

Require all granted
is changed to 
Order Allow,Deny
Allow from all

 


Some notes on not so obvious entries in the virtual host file,

...

Note

Somebody drop in here command line to do this quickly with sed.

 


Enable Virtual Host

Just because you created the virtual host does not mean it is enabled. To enable the virtual hosting,

...