ASP Forum
I know this is an ASP forum but...
bbcompent1 | Posted 8:56pm 5. January 2009 Server Time |

I'm trying to wrack my brain to figure out what's wrong with my apache config.  I need this server temporarily while I move to a windows 2003 server.  I can't seem to get the paths right or something.  So here goes.

    <VirtualHost 192.168.1.111:80>
    ServerName www.ermassage.org
    DocumentRoot /www/ermassage
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/ermassage">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>

    <VirtualHost 192.168.1.111:80>
    ServerName www.shari-lmt.com
    DocumentRoot /www/shari-lmt
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/shari-lmt">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>

    <VirtualHost 192.168.1.111:80>
    ServerName www.bgtracker.com
    DocumentRoot /www/bgtracker
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bgtracker">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>

    <VirtualHost 192.168.1.111:80>
    ServerName www.cermt.org
    DocumentRoot /www/cermt
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/cermt">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>

    <VirtualHost 192.168.1.111:80>
    ServerName subsites.ermassage.org
    DocumentRoot /www/ermassage
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/ermassage">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>

    <VirtualHost 192.168.1.111:80>
    ServerName members.ermassage.org
    DocumentRoot /www/ermassage
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/ermassage">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
    </VirtualHost>
bbcompent1 | Posted 8:57pm 5. January 2009 Server Time |

What I get is 404 not found or 403 access denied.
thorpe | Posted 2:14pm 9. February 2009 Server Time |

Windows paths use backslashes \ not forward slashes /

Also, /www/ermassage 9and the like) are Linux paths.
bbcompent1 | Posted 12:20am 17. March 2009 Server Time |

When using apache, you have to format as though it is linux because that is how the apache core functions. It kind of works like Linux on top of windows :)  I did figure it out, it was in the permission settings.


Reply to Post I know this is an ASP forum but...



Back to Forum Page