Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

uuf6429/git-php-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-php-backend

This repository source code is obsolete and not maintained anymore. It is provided as a courtesy in case someone finds it useful.

This is a quick test of how a PHP script can be used as the glue between apache and git-http-backend (Git Smart HTTP).

The .htaccess is required for routing 404 (fake) requests like, eg; /repos/HEAD to index.php, for processing.

For this to work, you need to have a repos/ folder inside this projet, with your test repositories inside it.

Also note that the setup is a bit fragile. It expects git to be installed and git-http-backend available in the system PATH variable. As it is, this is not the default behavior for git on windows - either modify the variable yourself, or change the code to fake it ($_SERVER['PATH'].';C:\\path\\to\\git'). Finally, it is expected that this system is run from a folder named git inside your document root.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages