Solved

Apache Service

Posted on 2009-04-12
2
277 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 count occurrences of each item in an array.

615 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