LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache not running using name-based vhosts

[ILUG] Apache not running using name-based vhosts

AJ McKee aj at nevermindthebollox.com
Wed Jun 26 19:57:52 IST 2002


Hi,

I come across something similar at times on diffecnt distros usually though.
But it has not happened for a while now but here is what I would usually
have (Forgive bad spelling and typos still sedated after the dentist :-)

Listen I normally do not specify

BindAddress *


<VirtualHost *:80> (Why I added the port 80 is sometimes apache would
complain)
     ServerAdmin root at irelands-web.ie
     DocumentRoot /var/www/html
     ServerName irelands-web.ie
     ServerAlias irelands-web.ie *.irelands-web.ie (why have server ALIAS
set to irelands-web.ie when thats its name. I usually just have *.blah.com.
ALSO Make sure the DNS is configured to do wildstar and point at your box)

     ErrorLog /var/log/http/error_log
         <Location />
         AllowOverride none
  Options Indexes
       Order allow,deny
        Allow from all
        </Location>
</VirtualHost>

tail -f /var/log/error_log when restarting, very helpful. Also have you
added any new DSO's etc tec, that may be the cause. Usually the best way I
find to debug apache is make it as simple as possible and then start adding
onto it. Also make sure all files and directories exist.
What version of apache you using and what distro?
Later
Aj







More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell