Coder Social home page Coder Social logo

apache_commands's Introduction

apache_commands

Apache base commands like ubuntu in another unix system

Installation

To perform the installation you must follow the following steps.

  1. Download the repository
  2. Have Apache2 installed
  3. run install.sh
  4. Add Include conf/sites-enabled/ inside /etc/httpd/conf/httpd.conf file

DESCRIPTION

This page documents the a2ensite and a2dissite commands.

It is not an error to enable a site which is already enabled, or to disable one which is already disabled.

Apache treats the very first virtual host enabled specially as every request not matching any actual directive is being redirected there.

Therefore, it is recommended to name the vhost with the following format "[numeric_order]-[name].conf"

a2ensite

This is a script that enables the specified site (which contains a block) within the apache2 configuration.

It is done by creating symlinks within "/etc/httpd/sites/sites-enabled" obtained from "/etc/httpd/sites/sites-available"

Examples

    a2ensite vhost.conf

a2dissite

This is a script that disable the specified site within the apache2 configuration.

It is done by removing created symlinks in "/etc/httpd/sites-enabled"

Examples

    a2dissite vhost.conf

License

© 2019 Alejandro de Tovar

Licensed under the MIT License.

Please see License File for more information.


Flag Counter

apache_commands's People

Contributors

venespana avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.