Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Did Apache change everything? (Setting up virtual hosts)
- Date: Thu, 21 Jan 2010 10:47:12 +0900
- From: Ian Barwick <barwick@example.com>
- Subject: Re: [tlug] Did Apache change everything? (Setting up virtual hosts)
- References: <4B566ABC.5000504@example.com> <877hrdgi38.fsf@example.com>
2010/1/20 Stephen J. Turnbull <stephen@example.com>: > Dave M G writes: (...) > > ServerName www.local_site.com > > ServerAlias local_site.com > > ServerAdmin webmaster@example.com > > > > DocumentRoot /var/www/local_site.com > > <Directory /var/www/local_site.com/> > > Options Indexes FollowSymLinks MultiViews > > # pcw AllowOverride None > > AllowOverride All > > Order allow,deny > > allow from all > > # This directive allows us to have apache2's default > > start page > > # in /apache2-default/, but still have / go to the right > > place > > # Commented out for Ubuntu > > #RedirectMatch ^/$ /apache2-default/ > > </Directory> > > > > ErrorLog /var/log/apache2/local_site.com/error.log > > > > # Possible values include: debug, info, notice, warn, error, crit, > > # alert, emerg. > > LogLevel warn > > > > CustomLog /var/log/apache2/local_site.com/access.log combined > > ServerSignature On > > I don't understand the CustomLog ... combined. I thought that would > combine the access log with the error log, but you've specified a > separate ErrorLog. I don't see what that would cause the problems > you've noticed, though. "combined" is one of the logfile formats defined in the standard httpd.conf, maybe because it combines the common (in the sense of standard) request logging with additional data provided by the client, i.e. referer (sic) and user agent. > > Then I reloaded and restarted Apache, and it said: > > > > [fail] > > > > No error output, no nothing. Just [fail]. > > That kind of thing is why I haven't even tried Ubuntu yet. :-) That sounds like Apache is not finding (or being able to write to) at least one log directory, which causes Apache to fail silently. I've been caught out by that on one or two occasions. It's not the distribution's problem. Ian Barwick
- References:
- [tlug] Did Apache change everything? (Setting up virtual hosts)
- From: Dave M G
- [tlug] Did Apache change everything? (Setting up virtual hosts)
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] IBus for Japanese input
- Next by Date: Re: [tlug] Did Apache change everything? (Setting up virtual hosts)
- Previous by thread: [tlug] Did Apache change everything? (Setting up virtual hosts)
- Next by thread: Re: [tlug] Did Apache change everything? (Setting up virtual hosts)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links