{"id":42319492,"url":"https://github.com/hrdtbs/vscode-apacheconf-snippets","last_synced_at":"2026-01-27T12:35:48.009Z","repository":{"id":98207479,"uuid":"104270128","full_name":"hrdtbs/vscode-apacheconf-snippets","owner":"hrdtbs","description":"Thanks for over 160,000 installs 🎉 Apache Conf Snippets for VS Code. Install →","archived":false,"fork":false,"pushed_at":"2024-07-21T08:46:06.000Z","size":2028,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-22T08:57:52.962Z","etag":null,"topics":["apache","htaccess","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=eiminsasete.apacheconf-snippets","language":null,"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/hrdtbs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-20T21:37:15.000Z","updated_at":"2024-07-21T09:22:34.000Z","dependencies_parsed_at":"2023-05-18T15:19:41.973Z","dependency_job_id":null,"html_url":"https://github.com/hrdtbs/vscode-apacheconf-snippets","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hrdtbs/vscode-apacheconf-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrdtbs%2Fvscode-apacheconf-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrdtbs%2Fvscode-apacheconf-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrdtbs%2Fvscode-apacheconf-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrdtbs%2Fvscode-apacheconf-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrdtbs","download_url":"https://codeload.github.com/hrdtbs/vscode-apacheconf-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrdtbs%2Fvscode-apacheconf-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28813215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","htaccess","vscode-extension"],"created_at":"2026-01-27T12:35:47.921Z","updated_at":"2026-01-27T12:35:48.001Z","avatar_url":"https://github.com/hrdtbs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Thanks for over 64000 installs🎉\n\n# Apache Conf Snippets for VS Code\n\nThis extension for Visual Studio Code adds snippets for Apache Conf (.htaccess file).\n\n![Use Extension](./img/use-extension-1.gif)\n\n## Requirement\n\n[mrmlnc.vscode-apache](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-apache)\n\n## Usage\n\nType part of a snippet, press `enter`, and the snippet unfolds.\n\n### Apache Conf Snippets\n\n- Rewrite and Redirection\n\n| Snippet                              | Purpose                          |\n| ------------------------------------ | -------------------------------- |\n| `a-force-www`                        | Force www                        |\n| `a-force-www-in-a-generic-way`       | Force www in a Generic Way       |\n| `a-force-non-www`                    | Force non-www                    |\n| `a-force-non-www-in-a-generic-way`   | Force non-www in a Generic Way   |\n| `a-force-https`                      | Force HTTPS                      |\n| `a-force-https-behind-a-proxy`       | Force HTTPS Behind a Proxy       |\n| `a-force-trailing-slash`             | Remove Trailing Slash            |\n| `a-redirect-a-single-page`           | Redirect a Single Page           |\n| `a-redirect-using-redirectmatch`     | Redirect Using RedirectMatch     |\n| `a-alias-a-single-directory`         | Alias a Single Directory         |\n| `a-alias-paths-to-script`            | Alias Paths To Script            |\n| `a-redirect-an-entire-site`          | Redirect an Entire Site          |\n| `a-alias-clean-urls`                 | Alias “Clean” URLs               |\n| `a-exclude-url-from-redirection`     | Exclude URL from Redirection     |\n| `a-allow-to-refresh-in-react-router` | Allow to refresh in react-router |\n\n- Security\n\n| Snippet                                           | Purpose                                       |\n| ------------------------------------------------- | --------------------------------------------- |\n| `a-deny-all-access`                               | Deny All Access                               |\n| `a-deny-all-access-except-yours`                  | Deny All Access Except Yours                  |\n| `a-allow-all-access-except-spammers'`             | Allow All Access Except Spammers'             |\n| `a-deny-access-to-hidden-files-and-directories`   | Deny Access to Hidden Files and Directories   |\n| `a-deny-access-to-backup-and-source-files`        | Deny Access to Backup and Source Files        |\n| `a-disable-directory-browsing`                    | Disable Directory Browsing                    |\n| `a-disable-image-hotlinking`                      | Disable Image Hotlinking                      |\n| `a-disable-image-hotlinking-for-specific-domains` | Disable Image Hotlinking for Specific Domains |\n| `a-password-protect-a-directory`                  | Password Protect a Directory                  |\n| `a-password-protect-a-file-or-several-files`      | Password Protect a File or Several Files      |\n| `a-block-visitors-by-referrer`                    | Block Visitors by Referrer                    |\n| `a-prevent-framing-the-site`                      | Prevent Framing the Site                      |\n\n- Performance\n\n| Snippet                 | Purpose             |\n| ----------------------- | ------------------- |\n| `a-compress-text-files` | Compress Text Files |\n| `a-set-expires-headers` | Set Expires Headers |\n| `a-turn-etags-off`      | Turn eTags Off      |\n\n- Miscellaneous\n\n| Snippet                                          | Purpose                                      |\n| ------------------------------------------------ | -------------------------------------------- |\n| `a-compress-text-files`                          | Compress Text Files                          |\n| `a-set-expires-headers`                          | Set Expires Headers                          |\n| `a-turn-etags-off`                               | Turn eTags Off                               |\n| `a-set-php-variables`                            | Set PHP Variables                            |\n| `a-custom-error-pages`                           | Custom Error Pages                           |\n| `a-force-downloading`                            | Force Downloading                            |\n| `a-prevent-downloading`                          | Prevent Downloading                          |\n| `a-allow-cross-domain-fonts`                     | Allow Cross-Domain Fonts                     |\n| `a-auto-utf-8-encode`                            | Auto UTF-8 Encode                            |\n| `a-switch-to-another-php-version`                | Switch to Another PHP Version                |\n| `a-disable-internet-explorer-compatibility-view` | Disable Internet Explorer Compatibility View |\n| `a-serve-webp-images`                            | Serve WebP Images                            |\n\n## Installation\n\n1. Install Visual Studio Code 1.10.0 or higher\n1. Launch Code\n1. From the command palette `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (OSX)\n1. Select `Install Extension`\n1. Choose the extension\n1. Reload Visual Studio Code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrdtbs%2Fvscode-apacheconf-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrdtbs%2Fvscode-apacheconf-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrdtbs%2Fvscode-apacheconf-snippets/lists"}