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

  Advantages and disadvantages of the use of mainframes

What are the advantages and disadvantages of the use of mainframes? In what type of organizations would they be most likely to be implemented

  Provide reasons for a slow lan

Provide possible reasons for a slow LAN, fill in why each reason causes a slow LAN and provide your solution. Each reason will take a minimum of 150 words to address thoroughly.

  Explain the concept of locality of reference

1. Explain the concept of locality of reference and state its importance to memory systems.

  Discuss a profitable business function

Risk Evaluation Record relates to the decided on information system. A good information system is actually a small grouping of calculating in addition to circle components that will discuss a profitable business function, under frequent control in..

  Vulnerabilities in voip

Discuss at least ten Vulnerabilities in VoIP. Briefly explain each of the listed vulnerability, along with a possible recommendation for a countermeasure.

  Categorize the programs as system software

Categorize the programs as system software or application software, and explain your categorization: ? Java Virtual Machine ? Excel

  Perspective of provisions of ebusiness services

Discuss and explain the different roles you might think be fulfilled through Web Services and Web Portals. What do you see as main distinctions between two from the perspective of provisions of eBusiness services?

  What is the main advantage of multiprogramming

What is the main advantage of multiprogramming How does the distinction between the monitor mode and user mode function as a rudimentary form of protection (security) system What is the difference between a trap and an interrupt? What is the u..

  What speedup could be expected in the steady state

What speedup could be expected in the steady state by using a merging write buffer instead of a nonmerging buffer when zeroing memory by the execution of 64 bit stores if all other instructions could be issued in parallel with the stores and the b..

  Individual operating systems

Discuss and explain the statement: "Global communication has developed to such a degree that the true operating system is the net itself, where the individual operating systems are just its nodes".

  Question about it planning

Some companies think that IT planning is a waste of time because the competitive environment and technologies change too rapidly.

  Dns security measurements

Having a Domain Name Server available to the public can be a tool in the hand for attackers. If anyone is able to use your Domain Name Server, they can use it to send a huge amount of traffic to their victim.

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