{"id":26188096,"url":"https://github.com/quartyn/apache-server","last_synced_at":"2026-04-22T01:33:14.033Z","repository":{"id":281401176,"uuid":"945163845","full_name":"Quartyn/apache-server","owner":"Quartyn","description":"Run Apache Server from current working directory","archived":false,"fork":false,"pushed_at":"2025-03-08T20:10:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T10:59:56.956Z","etag":null,"topics":["apache","apache-server","current-directory"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Quartyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-08T20:00:12.000Z","updated_at":"2025-03-08T20:10:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"733f4840-2b1a-4bf9-af94-afc270775589","html_url":"https://github.com/Quartyn/apache-server","commit_stats":null,"previous_names":["quartyn/apache-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quartyn/apache-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quartyn%2Fapache-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quartyn%2Fapache-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quartyn%2Fapache-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quartyn%2Fapache-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quartyn","download_url":"https://codeload.github.com/Quartyn/apache-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quartyn%2Fapache-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32117360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"ssl_error","status_checked_at":"2026-04-22T00:30:22.894Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","apache-server","current-directory"],"created_at":"2025-03-11T23:56:31.449Z","updated_at":"2026-04-22T01:33:14.029Z","avatar_url":"https://github.com/Quartyn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache Server from current directory\nMoving all files you want to host locally to `/var/www/html` can be really annoying.\n\nThis script will allow you to run the apache server from the current working directory.\n\n## How to run a server\nEnter the directory you want to host the apache server from.\n\nAnd then run the command bellow:\n```zsh\napache-server\n```\n## How does it work\nWhen you run the command, new temporary configuration will be created and copied to the apache server configuration.\n\nAs soon as you stop the server (Ctrl+C), configuration will be removed, and if there is no other apache host running, the apache service will be automatically stopped. - So you are not always hosting the default directory at `localhost`.\n\n## How to install\nClone this repo to your system.\n```zsh\ngit clone https://github.com/Quartyn/apache-server\n```\nEnter cloned directory\n```zsh\ncd apache-server\n```\nMove the `apacheServerConfig` directory into the `/usr/local/bin` or `/usr/bin` directory (Your choice. I recommend `/usr/local/bin`).\n```zsh\nsudo mv apacheServerConfig /usr/local/bin\n```\nAfter it's done, you will create a new symbolic link to the `apacheServerConfig/run-server` file.\n```zsh\nsudo ln -s /usr/local/bin/apacheServerConfig/run-server /usr/local/bin/apache-server\n```\nOptional:   \nHere, you can also rename the symbolic link `apache-server` with your preferred command name. Then, you will be able to start this command with your \"own name\".\n\nFor example, if you decide your symbolic link to be `run-server`, you will then start the server with command\n```zsh\nrun-server\n```\n\nAnd that's all! Enjoy. Now you can [run a server](#how-to-run-a-server).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartyn%2Fapache-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquartyn%2Fapache-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartyn%2Fapache-server/lists"}