GithubHelp home page GithubHelp logo

rlugojr / server-configs-apache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h5bp/server-configs-apache

0.0 1.0 0.0 825 KB

Apache HTTP server boilerplate configs

License: MIT License

Shell 9.64% JavaScript 30.63% ApacheConf 59.73%

server-configs-apache's Introduction

Apache Server Configs

Build Status devDependency Status

Apache Server Configs is a collection of boilerplate configurations that can help your server improve the web site's performance and security, while also ensuring that resources are served with the correct content-type and are accessible, if needed, even cross-domain.

Getting Started

There are a few options for getting the Apache server configs:

  • Download the zip archive
  • Install them via:
    • npm: npm install --save-dev apache-server-configs
    • Bower: bower install --save-dev apache-server-configs

Usage

If you have access to the main server configuration file (usually called httpd.conf), you should add the logic from the .htaccess file in, for example, a <Directory> section in the main configuration file. This is usually the recommended way, as using .htaccess files slows down Apache!

If you don't have access, which is quite common with hosting services, just copy the .htaccess file in the root of the website.

Also note that some configurations won't have any effect if the appropriate modules aren't enabled. So, in order for everything to work as intended, you need to ensure the you have the following Apache modules enabled:

For more detailed information on configuration files and how to use them, please check the appropriate Apache documentation:

Support

  • Apache v2.2.0+

  • Browsers:

    • Chrome
    • Firefox 4+
    • Internet Explorer 8+
    • Opera 12+
    • Safari 5+

Contributing

Anyone and everyone is welcome to contribute, but before you do, please take a moment to review the guidelines.

Acknowledgements

Apache Server Configs is only possible thanks to all the awesome contributors!

License

The code is available under the MIT license.

server-configs-apache's People

Contributors

ad7six avatar adeelejaz avatar alexdunae avatar alrra avatar bentruyman avatar christianbundy avatar clarkni5 avatar codler avatar disusered avatar drublic avatar dustinwhittle avatar ffxsam avatar fhemberger avatar h5bp-bot avatar hatzopoulos avatar hkdobrev avatar hnarayanan avatar ismay avatar jingman avatar kikito avatar laukstein avatar mathiasbynens avatar mattbrundage avatar mikealmond avatar mikewest avatar necolas avatar paulirish avatar phize avatar shichuan avatar wraithkenny avatar

Watchers

 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.