{"id":18939309,"url":"https://github.com/gentics/proxy-php","last_synced_at":"2025-04-15T19:30:45.480Z","repository":{"id":4193753,"uuid":"5312559","full_name":"gentics/proxy-php","owner":"gentics","description":"A simple HTTP proxy to work around CORS limitations","archived":false,"fork":false,"pushed_at":"2015-03-19T10:04:21.000Z","size":159,"stargazers_count":21,"open_issues_count":1,"forks_count":4,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-29T01:13:14.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/gentics.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}},"created_at":"2012-08-06T10:00:01.000Z","updated_at":"2021-09-13T06:17:55.000Z","dependencies_parsed_at":"2022-08-02T18:00:42.865Z","dependency_job_id":null,"html_url":"https://github.com/gentics/proxy-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fproxy-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fproxy-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fproxy-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentics%2Fproxy-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gentics","download_url":"https://codeload.github.com/gentics/proxy-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249138602,"owners_count":21218914,"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","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":[],"created_at":"2024-11-08T12:17:06.984Z","updated_at":"2025-04-15T19:30:45.217Z","avatar_url":"https://github.com/gentics.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proxy-php\n\nA simple PHP proxy that makes it possible to work around CORS limitations between a frontend and a backend server.\n\n## Overview\n\nThe request cycle is as follows\n* the browser makes a request to \"/$PROXYNAME/xx\" on the frontend server\n* the proxy script takes everything after \"/$PROXYNAME/\" and appends it to $CMS_SERVERHOST\n* the proxy script makes a request to the resulting URL $CMS_SERVERHOST/xx on the backend server\n* the response is directed back to the browser\n\n## Requirements\n\n* PHP\n* Apache mod_rewrite module\n* Apache mod_setenvif module\n\n## Usage\n\nCopy this folder to the document root of your frontend server and preferrably call the folder 'proxy'.\n\nAdapt the settings.conf.php file and customize the following variables\n```php\n// The URL of the backend server that browser requests should be proxied to\n$CMS_SERVERHOST = 'http://example.com/';\n\n// The path to the proxy script on the frontend server\n$PROXYNAME = '/proxy/';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentics%2Fproxy-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentics%2Fproxy-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentics%2Fproxy-php/lists"}