httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James S Bear <>
Subject Re: virtual hosting
Date Thu, 30 May 2002 01:51:33 GMT
Been there.  I realize my question was quite general.  When I joined this 
list, I did it as a last resort.  When I was looking at the list, it said that 
we must remember many of the people are just starting with apache.  And 
condescension might not be appreciated.  Sometimes, when we have looked at 
things over and over again and we don't feel like the specifics are doing what 
we need, it is beneficial to step back and get a different perspective.  What 
I was looking for was somebody else's idea of the basics.  I've read 
practically everything at  I've managed to get almost everything 
working that way.  I've got my .htaccess working great.  I've got my entire 
server working great, until it comes time for virtualhosting. At this point, 
even having read the documentation, it doesn't work.  I have set things set up 
just like the documentation (which is where I guessed first as well) tells me 
to, but it just doesn't seem to work.  What I wanted, hopefully, was for 
somebody that would be able to tell me an error that they had had and was 
hoping it would work for me.  I don't know that people trying to make people 
feel stupid helps anyone, unless of course it is an ego boost for the person 
making the comments.  Just a stab in the dark.  I know it probably wasn't 
helpful for me to be as general as I was, but at the time, that's all my 
frustration would allow me to do.  Now, things are slightly different.  I feel 
a little more like I can elaborate better.  I am running apache 1.323.  I used 
webmin to set it up initially, but I have manually changed things in the 
httpd.conf file.  I, in fact, totally scrapped the httpd.conf file that was 
generated by apache and replaced it with my own, but then my password stuff 
didn't work.  I should've figured that.  But then, I put the basic idea of a 
virtual host into the file, like this:
     <VirtualHost *>
    DocumentRoot /var/www/directoryname
It doesn't work.  When I restart apache, it doesn't come up with an error.  
But the damned thing just doesn't work.  
Why?  I don't know and I am starting to feel that frustration creep in again.  
Thoughts?  Hopefully without criticism?


Quoting David Jackson <>:

> Jame and Ron ---
> A good place to start might just be :
> Now this is a wild guess but maybe click on links for under "Documents"
> I going to make one more "stab in the dark" and say your using
> let met see "Redhat" or "Windows"?
> David 
> > Hello James,
> > 
> > I'm new to this "forum" (only signed-up within the hour); therefore, I
> > hope this is the  SOP for responding to questions.  Apparently, the
> > return address is . If not, please let me know.
> > 
> > What version of Apache are you using?
> > 
> > I, too, am struggling with v2.0.28's Name-Based Virtual Host(ing).  I
> > cannot get the VirtualHost's containerized DocumentRoot directive's
> > path to be recognized.  Both of my web-servers (i.e., sites) serve
> > documents from the default DocumentRoot. 
> > 
> > I'm going to "short" this reply, and go back to composing my related
> > question.  I will cc  the document to you.
> > 
> > OTTF,
> > Ron W.
> > 
> > 
> > 
> > ----- Original Message ----- 
> >  From: James S Bear 
> >  To: 
> >  Sent: Wednesday, May 29, 2002 1:36 PM
> >  Subject: virtual hosting
> > 
> > 
> >  I am fairly new to apache, but I have managed to get my web server up
> >  and  running.  
> > 
> >  Now, though, I would like to add a couple of different virtual hosts. 
> >  What I  mean is, I have my server, named (it's a pretend name)
> >  I want to  have my other website, come to my
> >  server as well.  I have been  unsuccessful.  The domain name is
> >  pointing to my server.  How to do it?
> > 
> > 
> > 
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail:
> >  For additional commands, e-mail:
> -- 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message