{ "info": { "author": "david reid", "author_email": "zathrasorama@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: System Administrators", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: HTTP Servers" ], "description": "# apache-ensite\nApache 2 configuration file management a la debian\n\n## Why?\nHaving recently started movign away from Ubuntu I found that their way of managing apache configuration\nfiles still made sense, so I wrote this small bit of python to allow me to have a2ensite and a2dissite\navailable on a FreeBSD system.\n\n## Huh?\nThe basic theory is to have a sites-available directory where you create the configuration files. When you\nwant to actually use the configurations you enable them by creating a symlink from the sites-available\ndirectory to the sites-enabled directory. When you have finished using the configuration file, you simply\nremove the symlink. It makes things a lot easier and using these 2 small scripts make things even simpler.\n\n## How?\nWhen you first install Apache on FreeBSD there are no sites-available or sites-enabled directories and the default configuration lacks the required directive, so either create the directories manually and then edit the httpd.conf file, or run\n```\n$ sudo a2ensite --setup\n```\n\nAfter creating a configuration file, e.g. blah.conf, you can enable it by\n```\n$ sudo a2ensite blah\n```\nWhen finished with the configuration file, e.g. blah.conf, simply run\n```\n$ sudo a2dissite blah\n```\n\nIf you can't remember the filename simply run with no name (or use the --list command) and a list will be displayed.\n```\n$ a2ensite --list\n\n*** You are not running with root privileges, so changes may not be possible.\n\n\napache24 installation in /usr/local/etc/apache24\n\n Configuration File Enabled?\n ======================================== ==========\n 000-default.conf True\n svn.conf False\n```\n\n## Notes\n- More than one file can specified at once.\n- Matches are done using fnmatch so standard wildcards are available.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/zathras777/apache-ensite/archive/0.2.1.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zathras777/apache-ensite", "keywords": "apache unix configuration", "license": "Unlicense", "maintainer": null, "maintainer_email": null, "name": "apache-ensite", "package_url": "https://pypi.org/project/apache-ensite/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apache-ensite/", "project_urls": { "Download": "https://github.com/zathras777/apache-ensite/archive/0.2.1.zip", "Homepage": "https://github.com/zathras777/apache-ensite" }, "release_url": "https://pypi.org/project/apache-ensite/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Apache 2 Configuration file management utilities", "version": "0.2.1" }, "last_serial": 2252737, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "f3ca95e04b5de89e90bd24015dd41fc4", "sha256": "6c1cc63beafe2331bdd70627203a73387b745ec5e398473837e1cd4e6043bde3" }, "downloads": -1, "filename": "apache-ensite-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f3ca95e04b5de89e90bd24015dd41fc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4791, "upload_time": "2016-07-30T14:38:51", "url": "https://files.pythonhosted.org/packages/85/ae/21d7e80d6dd82bfc0bf840cdd335f45a4f4ef084f6b58dae6b0a6c0fc2bf/apache-ensite-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3ca95e04b5de89e90bd24015dd41fc4", "sha256": "6c1cc63beafe2331bdd70627203a73387b745ec5e398473837e1cd4e6043bde3" }, "downloads": -1, "filename": "apache-ensite-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f3ca95e04b5de89e90bd24015dd41fc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4791, "upload_time": "2016-07-30T14:38:51", "url": "https://files.pythonhosted.org/packages/85/ae/21d7e80d6dd82bfc0bf840cdd335f45a4f4ef084f6b58dae6b0a6c0fc2bf/apache-ensite-0.2.1.tar.gz" } ] }