Installing Mugatiya

Installing mugatiya is very easy. First you have to download the latest source code from google's project hosting.
Once you unzip the file you find a directory structure given below.
  • mugatiya
    • super
    • .htaccess
    • README.txt
The super directory contains all the php scripts. Copy the 'super' directory and the .htaccess file to your Apache root directory. If you are using a VPS/VDS the this usually looks like "/var/www/html" in an standard Apache installation on linux.
Now you have to enter the super directory and edit the file called host.php
  • super
    • host.php
In line 24 of this file you will find the line below (see file).
$myhost = "http://127.0.0.1:8080/super";
Now change "http://127.0.0.1:8080/super" to whatever you have on your server. If it's shared hosting and your domain name is www.mydom.com, then this should read
$myhost = "http://www.mydom.com/super";

Then your proxy ip will be www.mydomain.com and your port will be 80

For VPS/VDS you have to make sure that the httpd.conf file allows "Override All" in the DocumenRoot directory for the .htaccess file to work. Alternatively, you can copy the lines in the .htaccess file and insert them under your DocumentRoot in the httpd.conf file. This latter solution is probably the better solution.
Don't forget to restart your Apache Server if you make changes to the httpd.conf file.

No comments: