bubbac
4-29-04, 12:50 PM
i probably shouldnt be asking this, powweb being a host themselves....but im having problems with apache virtual hosts, which i need to use to host several domain's on the same server.
my config file can be found here: http://www.geocities.com/lyrics_lexicon_com/apache_config.txt
the problem is with the virtual host container below:
<VirtualHost 66.55.195.29>
ServerName www.lyrics-lexicon.com
DocumentRoot /lyricslexicon
ServerAdmin llexicon@gwi.net
ErrorLog logs/error.log
</VirtualHost>
basically, i have a folder called "accounts" and within that folder one for every site i host....so i have the document root set to:
DocumentRoot "C:\Program Files\Apache Server\Apache\htdocs\accounts"
and the virtual host document root set to: /lyricslexicon wishing it bring broswers of that domain to directory:
DocumentRoot "C:\Program Files\Apache Server\Apache\htdocs\accounts\lyricslexicon"
however, it isnt doing so....infact i have tried putting in a totaly invalid path in the virtual host's document root and it still brings the viewer to the "main", i guess you can call it, document root:
"C:\Program Files\Apache Server\Apache\htdocs\accounts"
this leads me to assume that their is perhaps some OFF and ON line for the virtual hosts that im missing, but im not seeing it.
any help with this would be nice, i've attempted other forums that are built for apache but i've gotten zero responses, and im aware of how bright the help is here, and they actaully take the time to answer rather than just view the thread.
running:
Windows XP Home
248 MB RAM
Intel P4 2.4 GHZ
thanks, :)
my config file can be found here: http://www.geocities.com/lyrics_lexicon_com/apache_config.txt
the problem is with the virtual host container below:
<VirtualHost 66.55.195.29>
ServerName www.lyrics-lexicon.com
DocumentRoot /lyricslexicon
ServerAdmin llexicon@gwi.net
ErrorLog logs/error.log
</VirtualHost>
basically, i have a folder called "accounts" and within that folder one for every site i host....so i have the document root set to:
DocumentRoot "C:\Program Files\Apache Server\Apache\htdocs\accounts"
and the virtual host document root set to: /lyricslexicon wishing it bring broswers of that domain to directory:
DocumentRoot "C:\Program Files\Apache Server\Apache\htdocs\accounts\lyricslexicon"
however, it isnt doing so....infact i have tried putting in a totaly invalid path in the virtual host's document root and it still brings the viewer to the "main", i guess you can call it, document root:
"C:\Program Files\Apache Server\Apache\htdocs\accounts"
this leads me to assume that their is perhaps some OFF and ON line for the virtual hosts that im missing, but im not seeing it.
any help with this would be nice, i've attempted other forums that are built for apache but i've gotten zero responses, and im aware of how bright the help is here, and they actaully take the time to answer rather than just view the thread.
running:
Windows XP Home
248 MB RAM
Intel P4 2.4 GHZ
thanks, :)