For example, with the above configuration, theĬan be changed by modifying the sources in the directory /var/Machines may have multiple IP addresses).īlock that specifies the URL for the web site and directory in the file system The directive "NameVirtualHost*" instructs the web server to use all IP addresses in the machine (some AĬonfiguration file named default in the directory "/etc/apache2/sites-available"Ĭontains the necessary directives for the configuration:ġ. PHP provides a mechanism to automatically defend against SQL injection attacks. The method is called magic quote, and more details will be introduced in Task 3. Let us turn off this protection first (this protection method is deprecated after PHP version 5.3.0). Change it to this: magic_quotes_gpc = Off.Restart the Apache server by running sudo service apache2 restart.Lab Tasks Submission You will work in groups of two and turn in one lab report The quotes) and store your work in that directory. Testout lab 3.2.5 file server password#.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |