MIMEMagic
This file enables Apache to assign types and encoding schemes to files based on its content. Basically MIME embeds headers to files when served to the web browser. Do some research about your specific requirements. You may not even need to mess with this file.
Rule *Load everything in to the web server; assuming that everything is functional, test the server by accessing from a remote system. If you see something wrong, analyze the problem. Again, Do some research and troubleshoot the problem.
CGI
The cgi (the common Gateway interface) it is very common and it is used for forms processing. These files are located in the root directory:
/var/www/cgi-bin
At this stage I am sure that your server is up and running. Congratulations…
The next step is, virtual hosting; but before we jump to virtual hosting, we need to set up a DNS server or our experiment will not work.
If you don't have the need for virtual hosting, you do not need to set up a DNS server simply because at this point your web server is being resolved by your ISP's DNS.
Using PHP and MySQL
If you need php and mysql you have to install them using the package manager in chapter 4.
|