Add support for php files on the www.private_club.com

Assignment Help Operating System
Reference no: EM13944728

Step 1: Create a Virtual Host

1. Create a new directory "private_club" within the DocumentRoot directory

2. Create a new virtual host on your server with the name "www.private_club.com" that uses the directory you created in (1) as the DocumentRoot for the virtual host

Step 2: Add support for PHP

1. Add support for php files on the www.private_club.com virtual host. (This can be done in more than one way, but you only have to do it one way.) PHP files are a kind of CGI application, so you will have to configure the directory appropriately and add the necessary handlers.)

Step 3: .htaccess

1. Require anyone accessing the directory to login using the login "member" and password "secret"

Step 4: Testing

You can not test the virtual host portion of the project, but you can test the PHP and .htaccess portions. For PHP, you will have to install PHP from https://www.php.net/downloads.php. You will also need a PHP file to test.

PHP files are HTML pages with code embedded in the page itself, similar to a server side include. To create a php file, open a text editor and enter the following:

<html>
<head><title>This is a test!</title></head>
<body>
<h1>
<?php
print "Hello, world!n";
?>
</h1>
</body>
</html>

Save the file as hello.php into the proper directory on your server. When you open the file with a browser, you should get a page that says "Hello world!"

Attachment:- backup-httpd.zip

Reference no: EM13944728

Questions Cloud

Statistical distribution of the test statistic : If the null hypothesis is true, state the statistical distribution of the test statistic. Use α=0.05 and perform all 5 steps of hypotheses testing for complete credit.
How might prototyping be used as part of the system : How might prototyping be used as part of the System Development life cycle (SDLC)? Use your own words. A 100 MIN no less.
Regression model to test the null hypothesis : Use a simple regression model to test the null hypothesis against the alternative
How are organizational information systems : How are organizational information systems related to company strategy? How does strategy affect the information systems a company develops and uses?
Add support for php files on the www.private_club.com : Require anyone accessing the directory to login using the login "member" and password "secret"
Explain technologies you could use to present information : Explain two technologies you could use to present the information contained in this presentation in a more effective manner to this audience.
Corporate governance guidelines for the company : Your assignment is to prepare a report for the Chairman recommending best practice corporate governance guidelines for the company to adopt so that it can manage and prevent any future issues of alleged corporate malpractice or other actions that ..
Prepare a retained earnings statement for the year : These financial statement items are for Emjay Company at year-end, July 31, 2014. Prepare a Retained Earnings statement for the year
What distinct fallacies commonly perpetuated media instance : What are two distinct fallacies we see commonly perpetuated in the media- for instance, in commercials? What do the individuals presenting these arguments assume about the logical skills of their viewers? Is this a good or bad assumption for them ..

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd