Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2008, 08:15 AM
Leslie C Leslie C is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

Error setting up Apache Http Server Virtual Server?


I set up a virtual server at the following address with Apache:
http://dev.local/dev_test.php

and yet when I try to access it, I get the following error:
Forbidden

You don't have permission to access /dev_test.php on this server.

Yet I can access the same file in htdocs without any difficulty. Why is this?
Arug! now I only get it for php files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-12-2008, 08:16 AM
Eric V Eric V is offline
Junior Member
 
Join Date: May 2008
Posts: 8
Default

if you can access the SAME file using a different locater, it means your DocumentRoot isn't properly set up.

edit your httpd.conf file, and find the DocumentRoot section, and change it to whatever folder 'dev_test.php' is in. Then simply restart apache, and it should work. (assuming permissions are okay: if it's on windows, they should be fine. on linux, chmod them to 755)

Let me know if you need more help.
-Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to resolve HTTP status 500 while using an apache tomcat 5.5.9 and JBOSS server.? push v Apache 4 06-19-2008 07:35 PM
i need help setting up a apache web server with a router installed on the network? Steve C Apache 2 05-30-2008 07:23 PM
How to install services on apache http server? malik461 Apache 2 05-06-2008 12:31 PM
APACHE http server installation help? sonny trujillo Apache 1 05-06-2008 12:31 PM
How to install services on apache http server? malik461 Apache 1 05-06-2008 10:12 AM

Your Ad Here

All times are GMT. The time now is 10:35 PM.