Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Yes Jonas I have read the links you gave me. I have finally been able to solve the problem with your and help of people on this forum. Here is a link http://ubuntuforums.org/showthread.php?t=1530746 some one had said to post it on Ubuntu forum since apache2 packages which are shipped by these OS v

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 17:41, Tapas Mishra wrote: > how is localhost hooked up Usually the hostname "localhost" is resolved through the "hosts" file (/etc/hosts on unix-like systems), and then resolves to 127.0.0.1. > because when I am requesting > http://localhost I am not requesting any particular vho

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 17:41, Tapas Mishra wrote: >> The filename affects the order the system returns results for an >> Include directive with a wildcard. > Can you give a link to what you just mentioned. Did you actually try to read any of the documentation I gave you links to? This is documented in t

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 6:36 PM, Eric Covener wrote: > The filename affects the order the system returns results for an > Include directive with a wildcard. Can you give a link to what you just mentioned. > > It's really only significant for "the very first one" vs. "all > others", in the case w

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 8:34 AM, Tapas Mishra wrote: > On Wed, Jul 14, 2010 at 5:41 PM, Eric Covener wrote: > >> If you want a default that's not the same as any other current >> virtualhost, add a virtualhost to act as the default.  If you're using >> a debian-like configuration, prefix your vho

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 5:41 PM, Eric Covener wrote: > If you want a default that's not the same as any other current > virtualhost, add a virtualhost to act as the default.  If you're using > a debian-like configuration, prefix your vhost filenames with numbers > to control the order. I am usin

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 8:39 AM, Tapas Mishra wrote: > Thanks a lot Eric it did worked the way you said. > But please do answer my query which I just before posted. Specifically? -- Eric Covener cove...@gmail.com - The officia

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Thanks a lot Eric it did worked the way you said. But please do answer my query which I just before posted. -- Tapas - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersl

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
> does that mean I need to have following line >  ServerName default No, it's just the default because it's the first one listed (for a given set of NameVirtualHosts. If you want a default that's not the same as any other current virtualhost, add a virtualhost to act as the default. If you're us

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I forgot to mention in previous message why is it taking atutor as default. http://httpd.apache.org/docs/2.2/vhosts/details.html is the document I am trying to understand but a default virtualhost thing is not clear to me. Following lines " the request is served from the _default_ vhost if there i

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:12 PM, Eric Covener wrote: > And what does your error log say when you get this 404, exactly? The error logs are blank. >> When I type http://192.168.1.5/ >> I expect to get a directory listing of different websites which are >> present in my /var/www > > Include apache

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 5:23 AM, Tapas Mishra wrote: > http://192.168.1.5/dokeos or http://192.168.1.5/docebolms > > I am getting a 404 not found page. And what does your error log say when you get this 404, exactly? > When I type http://192.168.1.5/ > I expect to get a directory listing of diff

[us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I am having different websites in a folder /var/www/ as /var/www/atutor /var/www/dokeos /var/www/docebolms . . . /var/www/efront When I am on lan trying to access these sites as http://192.168.1.5/dokeos or http://192.168.1.5/docebolms I am getting a 404 not found page. The requested URL /dokeos