{"id":16954800,"url":"https://github.com/tarkhov/a2site","last_synced_at":"2026-05-02T06:42:13.075Z","repository":{"id":110150113,"uuid":"56911835","full_name":"tarkhov/a2site","owner":"tarkhov","description":"Apache 2 site creation and removing tools.","archived":false,"fork":false,"pushed_at":"2025-11-08T03:23:18.000Z","size":46,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-08T04:18:53.442Z","etag":null,"topics":["apache","bash","shell","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarkhov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-23T09:39:27.000Z","updated_at":"2025-11-08T03:23:21.000Z","dependencies_parsed_at":"2023-04-28T04:24:22.062Z","dependency_job_id":null,"html_url":"https://github.com/tarkhov/a2site","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tarkhov/a2site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarkhov%2Fa2site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarkhov%2Fa2site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarkhov%2Fa2site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarkhov%2Fa2site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarkhov","download_url":"https://codeload.github.com/tarkhov/a2site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarkhov%2Fa2site/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32525896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","bash","shell","ubuntu"],"created_at":"2024-10-13T22:10:35.953Z","updated_at":"2026-05-02T06:42:13.070Z","avatar_url":"https://github.com/tarkhov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache 2 site\n\nApache 2 HTTP Server site creation and removing tools using command line.\n\n### Contents\n\n1. [Compatibility](#compatibility)\n2. [Installation](#installation)\n   1. [Ubuntu](#ubuntu)\n3. [Usage](#usage)\n   1. [Site creation](#site-creation)\n   2. [Site removing](#site-removing)\n   3. [Aliases](#aliases)\n4. [Removing](#removing)\n5. [Author](#author)\n6. [License](#license)\n\n## Compatibility\n\nName | Version\n------- | -------\nUbuntu | \u003e= 16.04\nApache | \u003e= 2\n\n## Installation\n\n### Ubuntu\n\nFrom PPA:\n\n```bash\nsudo add-apt-repository ppa:tarkhov/ppa\nsudo apt update\nsudo apt install a2site\n```\n\n## Usage\n\n### Site creation\n\n```bash\nsudo a2mksite mydomain mysite.conf ~/myfolder 127.0.0.1\n```\n\nThis command will create:\n\n* Virtual host `/etc/apache2/sites-available/mysite.conf` with url http://mydomain.\n* Folder `~/myfolder`.\n* Record in `/etc/hosts` - mydomain   127.0.0.1.\n\n#### Short command\n\n```bash\nsudo a2mksite mydomain\n```\n\nThis command will create:\n\n* Virtual host `/etc/apache2/sites-available/mydomain.conf` with url http://mydomain.\n* Folder in current directory with name mydomain.\n* Record in `/etc/hosts` - mydomain   127.0.0.1.\n* Restart web server.\n\n### Site removing\n\n```bash\nsudo a2rmsite mydomain mysite.conf ~/myfolder 127.0.0.1\n```\n\n#### Short command\n\n```bash\nsudo a2rmsite mydomain\n```\n\n### Aliases\n\nAlias | Command\n------- | -------\n`a2d` | `a2disable`\n`a2dc` | `a2disconf`\n`a2dm` | `a2dismod`\n`a2ds` | `a2dissite`\n`a2e` | `a2enable`\n`a2ec` | `a2enconf`\n`a2em` | `a2enmod`\n`a2es` | `a2ensite`\n`a2l` | `a2list`\n`a2mk` | `a2mksite`\n`a2rl` | `a2reload`\n`a2rm` | `a2rmsite`\n`a2rs` | `a2restart`\n`a2s` | `a2start`\n`a2sp` | `a2stop`\n`a2st` | `a2status`\n\n## Removing\n\nTo completely remove the package run the command:\n\n```bash\nsudo apt remove --purge a2site\n```\n\n## Author\n\n**Alexander Tarkhov**\n\n* [Facebook](https://www.facebook.com/alex.tarkhov)\n* [Twitter](https://twitter.com/alextarkhov)\n* [Medium](https://medium.com/@tarkhov)\n* [LinkedIn](https://www.linkedin.com/in/tarkhov/)\n\n## License\n\nThis project is licensed under the **MIT License** - see the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarkhov%2Fa2site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarkhov%2Fa2site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarkhov%2Fa2site/lists"}