Apache Server configuration support - Re: newbie problem...

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > May 2006 > Re: newbie problem...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: newbie problem...
MikeDawg

2006-05-31, 1:19 pm


Bluesofa wrote:
> Sorry to be a newbie coming along and asking for help - your probably
> fed up of this kind of request, but any help would be appreciated!
>
> I've got apache2triad running seemingly well on my local machine. with
> virtualhosts accessiable from the local machine, and setup in HOSTS on
> XP. As soon as I try to access any of the virtualhosts from anywhere
> on my network, I get a listing of the htdocs folder, for all virtual
> hosts - this folder isn't even listed as a virtual host document root.
>
> I'm also getting this error in the log:
>
> [Mon May 29 22:23:30 2006] [warn] [client 192.168.1.101] mod_include:
> Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter
> remove
>
> [Mon May 29 22:22:39 2006] [warn] NameVirtualHost *:80 has no
> VirtualHosts
>
> My Virtual Host setting is:
>
> NameVirtualHost *:80
>
> <VirtualHost localtest>
> ServerName localtest
> DocumentRoot "c:\apache2triad\htdocs\test"
> ErrorLog "logs/test-error_log"
> </VirtualHost>
>
>
> As I said, works perfectly on my local machine.
>
> Thanks for any help you can give...


Well. . . I can tell you that your VirtualHost setup is incorrect. If
you have:

NameVirtualHost *:80

Then, the VirtualHost directive should look the same:

<VirtualHost *:80>
ServerName localtest
DocumentRoot "c:\apache2triad\htdocs\test"
ErrorLog "logs/test-error_log"
</VirtualHost>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com