13,420
edits
Changes
→Controlling Access to Pages
# Create a new directory inside your '''DocumentRoot''' and move index.php inside it.
# Have your partner view both files again.<br><br>You will now modify the settings on the web-server to prevent machines outside our network from accessing the private directory.<br><br>
# Add the following directory statement to your apache configuration file. The default pathname for the apache configuration file is: '''/etc/httpd/conf/httpd.conf''' (making sure to NOTE: replace the X with your own network octet):<source>
<Directory "/var/www/html/private">
AllowOverride None
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
== INVESTIGATION 2: SETTING UP AN ONLINE DATABASE==