- Display www directories
- Display virtual host
- Custom thumbnails
- Example for create a new virtual host
- Alias with favicon stored in cache
- Toolbox with favicon stored in cache
You can configure and customize the script with this variables:
<?php
$path_to_display = './';
$wamp_path = 'C:/wamp';
$dirs_to_ignore = array(
'.',
'..',
);
$vhost_to_ignore = array(
'localhost',
);
//$custom_vhost_path_config = '/etc/apache2/vhosts';
$toolbox = array(
'Name' => 'http://url.to.go',
);
// custom thumbnails to search
$preview_inside_dir = array(
'screenshot',
'preview',
);
You have 2 ways to customize the thumbnail:
- Put the image in /www with the same name of the directory
- Put the image inside the directory, with a name like in
$preview_inside_dir
You have 2 ways to customize the thumbnail:
- Put the image next to the virtual host conf, with the same name
- Put the image inside the directory, with a name like in
$preview_inside_dir