Changes

Jump to navigation Jump to search
790 bytes added ,  07:14, 10 February 2014
no edit summary
Line 147: Line 147:  
  config setprop phpvirtualbox Group "Group1 Group2 Group3"
 
  config setprop phpvirtualbox Group "Group1 Group2 Group3"
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 +
 +
=== Access The Web Interface Remotely ===
 +
Create the following folder if it doesn't exist.
 +
 +
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
 +
Copy the file 92phpvirtualhost to the newly created folder.
 +
 +
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/92phpvirtualhost /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
 +
Edit the file and add your public IP address.
 +
 +
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92phpvirtualhost
 +
 +
Change the line:
 +
 +
$OUT .= "    allow from $localAccess\n";
 +
 +
to the one below (eg. 123.456.789.012 is your public IP address) then save the file.
 +
 +
$OUT .= "    allow from $localAccess 123.456.789.012\n";
 +
 +
expand-template /etc/httpd/conf/httpd.conf
 +
svc -t /service/httpd-e-smith/
 +
svc -t /service/httpd-admin/
    
=== Uninstall ===
 
=== Uninstall ===
75

edits

Navigation menu