Solved

Apache Service

Posted on 2009-04-12
2
273 Views
Last Modified: 2013-12-13
I am trying to set up a webserver on an XP pro machine to develop php / mysql technologies. I am going round in circles setting all this up and configuring so I am going to deal with this step by step. I have read many articles and books but still haveing troubles.
 I have apache installed on my laptop which appears to work fine (version 2.063) although the root directory is C:\webserver\Apache2\htdocs. Can I change this to C:\InetPub\wwwroot ? if so where do I need to make changes so that I will see my phpinfo test page displaying correctly once stored in C:\InetPub\wwwroot. My apache is running alongside IIS and so is listening on port 8080.
0
Comment
Question by:jezskill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
ncoo earned 250 total points
ID: 24125691
You need to open up the apache conf file, c:\webserver\apache2\conf\httpd.conf

At the very bottom you might have some VirtualHosts update the DocumentRoot to C:\InetPub\wwwroot and restart Apache.

If you don't have any virtualhosts paste this at the bottom of the file and restart apache.

<VirtualHost *:8080>
    DocumentRoot C:\InetPub\wwwroot
    ServerName localhost
    ServerAlias localhost
</VirtualHost>
0
 
LVL 1

Author Closing Comment

by:jezskill
ID: 31569312
thanks for the answer, feel free to comment  on my otheropen questions.
thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
What You Need to Know when Searching for a Webhost Provider
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question