logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Virtual hosting was running (need assistance)
Author
mortman20



Joined: 27 Jun 2006
Posts: 2

PostPosted: Tue 27 Jun '06 4:42    Post subject: Virtual hosting was running (need assistance) Reply with quote

I was running Apache ver 2.0.35 for a year no problem. Upgraded my MOBO and CPU reinstalled win XP/w SP2 copied my httpd file to the appropriate directory and only get the first virtual host (under Localhost) but cant get there by using the URL. I am using directupdate to update zoneedit for DNS, made no changes to my router during reloading the os and don’t use windows fire wall.

The only changes I made where hardware. Any clues, I need to get this back up and running but am at a loss for this install

Not sure if this is the right thing to do but here is the httph file, mostly default and edited out the redundent stuff thats default to make shorter

httpd.comf file

ServerRoot "C:/Program Files/Apache Group/Apache2"
#Alias /private "d:\www\mysite\1"
<Directory "d:\www\mysite\1">
Order allow,deny
Allow from all

Options Indexes
AuthType Basic
AuthName "Private Access"
AuthUserFile "d:\www\mysite\1\.htpasswd"
Require user ?????
</Directory>

ServerAdmin mortman20@hotmail.com
ServerName www.mysite.com:80
ServerName www.mysite1.com:80

UseCanonicalName Off

DocumentRoot "d:/www"

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

<directory "d:/www">

Options Indexes FollowSymLinks

Order allow,deny
Allow from all

</Directory>

UserDir "My Documents/My Website"
#
DirectoryIndex index.html index.php index.html.var
AccessFileName .htaccess
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

TypesConfig conf/mime.types

DefaultType conf/mime.types



IndexOptions FancyIndexing VersionSort


<VirtualHost *>
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
DocumentRoot "d:/www/mysite"
</VirtualHost>


<VirtualHost *>
ServerName www.mysite1.com
ServerAlias mysite1.com *.mysite1.com
DocumentRoot "D:/www/mysite1"
</VirtualHost>





Thanks
Mod: removed unneeded things from the long long httpd.cong posting Confused
Back to top


Reply to topic   Topic: Virtual hosting was running (need assistance) View previous topic :: View next topic
Post new topic   Forum Index -> Apache