There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen blue screen of death boot computer connection crash css dell display driver drivers email error excel firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking outlook outlook 2003 outlook express partition password printer problem ram router slow software sound startup trojan usb virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Apache 2.2.2 configuration problems


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
dovegun's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jul 2006
Experience: Intermediate
26-Jul-2006, 09:45 PM #1
Apache 2.2.2 configuration problems
I have Apache installed on my computer, http://localhost gave me a page saying it worked. I edited httpd.conf, and changed 'DocumentRoot' and '<Directory' to C:/Temp_Serv (Where my Index.html page is located) and when go to http://localhost/ I get a 403 error:
------------------------------
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.
------------------------------

During the install I made sure that all firewalls were off, and closed all programs (as the tutorial said to) and upon starting the Apache service I get no error messages.

My operating system is Windows XP SP2, and I used the .msi (Windows Installer, not binary). If you need any more information let me know.

If anyone could help me out I would greatly appreciate it. If you have AIM, my screen name is Dovegun.

Thanks,
Chase
dovegun's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jul 2006
Experience: Intermediate
27-Jul-2006, 12:18 AM #2
[bump]

I really need some help. Even a link to a tutorial would be helpful..
please.
covert215's Avatar
Account Disabled with 2,651 posts.
 
Join Date: Apr 2006
Experience: Web Designer
27-Jul-2006, 09:25 AM #3
Show exactly what your DocumentRoot and <Directory lines look like. Is the syntax proper?
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
27-Jul-2006, 09:25 PM #4
Not to mention what are the permissions on the folder you changed it too. Why did feel the need to change the document root. Check the error.log file and tell us what it says.
dovegun's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jul 2006
Experience: Intermediate
08-Aug-2006, 07:59 PM #5
Configuration file:
#DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
DocumentRoot "C:/Temp_Serv"
/\/\/\/\/\/\
#<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
<Directory "C:/Test_Serv">

The Error log:
[Tue Aug 08 07:09:39 2006] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 08 07:09:41 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Tue Aug 08 07:09:41 2006] [notice] Server built: Apr 29 2006 18:32:31
[Tue Aug 08 07:09:41 2006] [notice] Parent: Created child process 124
[Tue Aug 08 07:09:41 2006] [notice] Child 124: Child process is running
[Tue Aug 08 07:09:41 2006] [notice] Child 124: Acquired the start mutex.
[Tue Aug 08 07:09:41 2006] [notice] Child 124: Starting 250 worker threads.
[Tue Aug 08 07:09:41 2006] [notice] Child 124: Starting thread to listen on port 80.
[Tue Aug 08 18:49:56 2006] [error] [client 127.0.0.1] client denied by server configuration: C:/Temp_Serv/

I apologise for the late reply, I haven't had internet for a while.
I changed the document Root because this tutorial I was reading said to.
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
08-Aug-2006, 09:36 PM #6
What are the permissions on the htdocs folder and what are the permissions on your new document root.

Is that a Typo Temp_Serv or Test_Serv
covert215's Avatar
Account Disabled with 2,651 posts.
 
Join Date: Apr 2006
Experience: Web Designer
08-Aug-2006, 10:58 PM #7
Quote:
Originally Posted by Squashman
What are the permissions on the htdocs folder and what are the permissions on your new document root.

Is that a Typo Temp_Serv or Test_Serv
yeah...your doc root and directory must point to the same location
dovegun's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jul 2006
Experience: Intermediate
09-Aug-2006, 02:15 PM #8
Oh my gosh..I just realised I had a typo in there..

I feel like an idiot >_<

Thank you for all the help, I wouldn't of ever noticed the typo without you guys haha
-chase
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
09-Aug-2006, 07:37 PM #9
Did the same thing a couple of months ago. Coudn't figure out why this program wouldn't run and then I finally realized the typo in the path
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:47 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.