Hype.it said:Help.. does anyone know how i edit this file? What command i use in terminal and erm... how i get above root (as in webserver) access?
michaelsanford said:Do you mean you want to set up things like subdomain.hype.it ?
That will be in a VirtualHost (Section 3) directive near line 1029, just set the DocumentRoot directive to whatever folder you want.
<?php
// This is an example configuration file in PHP
// by Michael Sanford for www.macosx.com
$config['username'] = 'michael';
$config['password'] = 'michael1';
$config['host'] = 'michaelsanford.com';
?>
<?php
// This is an example configuration file in PHP
// by Michael Sanford for www.macosx.com
// call the configuration script
include("./config_example.php");
echo "Username: " . $config['username'] . "<br />";
echo "Password: " . $config['password'] . "<br />";
echo "Host: " . $config['host'] . "<br />";
?>