It’s better to backup your nf before doing any modification. For CentOS, it usually placed at /etc/httpd/conf/nf. We have to modify httpd configuration to setting up Smart HTTP. To check installed modules on your apache/httpd (Apache and Httpd is actually the same, Apache is the name used in Ubuntu and Httpd used in CentOS), you can simply run command httpd -M. To make the Smart HTTP works, make sure you have these following requirements on the server: So, you may need to create sub domain first. The final git repository url is something like. The target from this configuration is, to use for the repositories. This page will describe how to configure the Git Smart HTTP Protocol. The benefit using the HTTP/HTTPS is of course we can use Secure Sockets Layer certificate to secure the connection. So, using the HTTP/HTTPS protocol or it can be named as “Smart HTTP Protocol” is great way to replace SSH. SSH is actually great way if there are only few trusted developers who work on the project, but sometimes it has an issue like firewall blocked by some Internet Service Provider and of course, we don’t want to give all the developers access to the server. When working with git repositories, there are some protocol that can be used to manage the repository.
0 Comments
Leave a Reply. |