{"id":22296183,"url":"https://github.com/kakwa/htpasswd-editor","last_synced_at":"2025-10-05T15:38:00.976Z","repository":{"id":9764946,"uuid":"11733516","full_name":"kakwa/htpasswd-editor","owner":"kakwa","description":"htpasswd-editor is a simple Perl CGI to manage htpasswd files","archived":false,"fork":false,"pushed_at":"2014-01-14T19:08:18.000Z","size":360,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T05:51:10.956Z","etag":null,"topics":["cgi","htpasswd","htpasswd-editor","perl","perl-cgi"],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/kakwa.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}},"created_at":"2013-07-29T07:16:37.000Z","updated_at":"2023-08-18T13:07:51.000Z","dependencies_parsed_at":"2022-09-24T06:00:19.475Z","dependency_job_id":null,"html_url":"https://github.com/kakwa/htpasswd-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kakwa/htpasswd-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fhtpasswd-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fhtpasswd-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fhtpasswd-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fhtpasswd-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakwa","download_url":"https://codeload.github.com/kakwa/htpasswd-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fhtpasswd-editor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267616577,"owners_count":24116154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["cgi","htpasswd","htpasswd-editor","perl","perl-cgi"],"created_at":"2024-12-03T17:44:30.742Z","updated_at":"2025-10-05T15:37:55.955Z","avatar_url":"https://github.com/kakwa.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"htpasswd-editor\n===============\n\nhtpasswd-editor is a simple Perl CGI to manage htpasswd files.\n\nLicense\n=======\n\nMIT\n\nIt's an evolution of: http://www.perlmonks.org/?node_id=178482\n\nDescription\n===========\n\nhtpasswd-editor is a simple Perl CGI to manage htpasswd files. It permits to add, list or remove users, \nit also permits an authentificated user to change his password. It can be useful for adding basic access \ncontrol management to a static website (ex: documentation generated from Markdown, Rst, Rdoc...).\n\n\u003cimg height=\"400\" src=\"https://raw.github.com/kakwa/htpasswd-editor/master/images/htpasswd_pl.jpg\"/\u003e\n\nDeployment\n==========\n\n* Create an htpasswd file:\n```\n\u003e htpasswd -c \u003c/path/to/htpasswd\u003e \u003cinitial user\u003e\n```\n\n* Change the file's rights:\n```\n\u003e chown www-data|apache2|httpd \u003c/path/to/htpasswd\u003e\n\u003e chmod 600 \u003c/path/to/htpasswd\u003e\n```\n\n* deploy the htpasswd.pl\n```\ncp htpasswd.pl \u003c/path/to/cgi-dir\u003e\nchmod 755 \u003c/path/to/cgi-dir\u003e/htpasswd.pl\n```\n\n* edit the ```settings``` hash at the begin of htpasswd.pl and change the entries ```dir``` and ```htpasswd```.\n```\nvim \u003c/path/to/cgi-dir\u003e/htpasswd.pl\n```\n\n* add the following configuration inside your vhost (htpasswd.pl is protected by the htpasswd it manages):\n```\n  ScriptAlias /cgi-bin/ \u003c/path/to/cgi-dir\u003e\n  \u003cDirectory \"\u003c/path/to/cgi-dir\u003e\"\u003e\n        AllowOverride None\n        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch\n        Order allow,deny\n        Allow from all\n        AuthName \"restrict posting\"\n        AuthType Basic\n        AuthUserFile \u003c/path/to/htpasswd\u003e\n        require valid-user\n  \u003c/Directory\u003e\n```\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/kakwa/htpasswd-editor/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fhtpasswd-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakwa%2Fhtpasswd-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fhtpasswd-editor/lists"}