![]() |
|
#1
|
|||
|
|||
Please Help... http 403 Forbidden errorI 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 GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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