GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 24-Apr-2008, 19:15
rpmkreations rpmkreations is offline
New Member
 
Join Date: Apr 2008
Posts: 1
rpmkreations is on a distinguished road
Unhappy

Please Help... http 403 Forbidden error


I installed apache 2.2 in Windows XP. I uncommented the httpd to include virtual hosts. My first site would load up just fine but my second site gets the http 403 forbidden error. I have just done about everything and it still is giving me problems. Heres a copy of my httpd-vhosts:


#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin admin@hotmail.com
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/site1"
ServerName www.site1.com
ServerAlias www.site1.com
ErrorLog "www.site1-error.log"
CustomLog "www.site1-access.log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@hotmail.com
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/site2"
ServerName www.site2.com
ErrorLog "www.site2.com-error.log"
CustomLog "www.site2.com-access.log" common
</VirtualHost>
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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
Two-Tier data dissemination code installation problem nidhibansal1984 Computer Software Forum - Linux 6 16-Sep-2007 10:13
Linked Lists advice request promsan C Programming Language 74 23-May-2007 08:29
Major newbie problem cynack MS Visual C++ / MFC Forum 1 08-Apr-2007 11:25
Winsock error when compiling FLTK 2.0 Projects mauriciorossi FLTK Forum 3 16-Aug-2005 10:18
Help with syntax errors PeteGallo C Programming Language 7 08-Aug-2005 20:30

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 22:01.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.