When it comes to Firefox, these are my top 5 favorite extensions that aid in development:
When it comes to Firefox, these are my top 5 favorite extensions that aid in development:
Let’s say you have the following files in your root directory:
/public_html/
- FileA.txt
- FileB.jpg
- FileC.doc
By default, Apache will look for an index.htm or index.php to serve the the user if they navigated to:
http://www.example.com/
If those default files do not exist, Apache will end up showing the contents of the directory. If you want to stop Apache from doing that, you can add an .htaccess file in the directory. The .htaccess file should contain the following line:
Options -Indexes
This will stop users from being able to view contents of directories. This will work for all subdirectories as well.
This is the directory in which your websites will be stored.
C:/websites”)C:/websites/example”)C:/websites/example/online”)C:\Program Files\Apache Software Foundation\ApacheX.X\C:\Program Files\Apache Software Foundation\Apache2.2\conf\C:\Program Files\Apache Software Foundation\Apache2.2\confDocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"DocumentRoot "C:/websites/example/online"<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"><Directory " C:/websites/example/online">DirectoryIndex index.htmlDirectoryIndex index.html index.phpAddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps# AllowOverride controls what directives may be placed in .htaccess files.AllowOverride NoneAllowOverride All/*
* First server
*/
$i++;
$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ‘example’; // Your MySQL Password
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = ‘config’;
/* Server parameters */
$cfg['Servers'][$i]['host'] = ‘localhost’;
$cfg['Servers'][$i]['connect_type'] = ‘tcp’;
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = ‘mysql’;
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = ‘root’;
$cfg['Servers'][$i]['controlpass'] = ‘example’; // Your MySQL Password
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = ‘phpmyadmin’;
$cfg['Servers'][$i]['bookmarktable'] = ‘pma_bookmark’;
$cfg['Servers'][$i]['relation'] = ‘pma_relation’;
$cfg['Servers'][$i]['table_info'] = ‘pma_table_info’;
$cfg['Servers'][$i]['table_coords'] = ‘pma_table_coords’;
$cfg['Servers'][$i]['pdf_pages'] = ‘pma_pdf_pages’;
$cfg['Servers'][$i]['column_info'] = ‘pma_column_info’;
$cfg['Servers'][$i]['history'] = ‘pma_history’;
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = ”;
$cfg['SaveDir'] = ”;
?>