Page 2 of 2

PostPosted: 02. August 2005 20:55
by Tom in AZ
I am having a issue here. I have made the following changes to my httpd.conf file, but when I go to a pull up a all of the sites the server asks me for a user name and password, why is that? I though that since it would not see the .htaccess file in the site1, site2, and site3 dirs it would not ask. I have to add ww2 in there because I re-routing my http to a non standard port of 10000, my my URLS actually come out to http://ww2.site1.com:10000

Thanks for the help guys, here is the end of my httpd.conf file.

Code: Select all
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot C:\apachefriends\xampp\htdocs
</VirtualHost>

<VirtualHost *:80>
    ServerName site1.com
    ServerAlias www.site1.com ww2.site1.com
    DocumentRoot C:\apachefriends\xampp\sites\site1
</VirtualHost>

<VirtualHost *:80>
    ServerName site2.com
    ServerAlias www.site2.com ww2.site2.com
    DocumentRoot C:\apachefriends\xampp\sites\site2
</VirtualHost>

<VirtualHost *:80>
    ServerName site3.com
    ServerAlias www.site3.com ww2.site3.com
    DocumentRoot C:\apachefriends\xampp\sites\site3
</VirtualHost>
#Win32DisableAcceptEx ON