httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Irvine <bryan.irv...@kingcountyjournal.com>
Subject Re: [users@httpd] oops i busted apache
Date Mon, 22 Dec 2003 18:06:48 GMT
Ok I managed to get it all working again.  There was a few required
modules that were commented out. Then the html file was malformed,
apache just didn't notice until after the upgrade.

Thanks for your help!

--Bryan

On Mon, 2003-12-22 at 09:43, Bryan Irvine wrote:
> ok I managed to get it started.  It's still busted pretty good though.
> 
> I think my httpd2.conf file is whacked (no backup :-/ damn).
> 
> now I can actually browse to my site, but it just displays the contents
> of the index.html file
> 
> ###
> <meta HTTP-EQUIV=refresh content="0; URL=http://munged.url.com/nagios">
> ###
> 
> That one line is all that's in my index.html, why would it jsut display
> instead of execute?
> 
> --Bryan (aka "vigorously reading every line of httpd2.conf") 
> 
> 
> On Mon, 2003-12-22 at 09:25, Luis Fernando Gallegos Valencia wrote:
> > Try writing scriptalias with quotes
> > Example:	
> > ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
> > 	
> > 	Luis
> > 
> > 
> > On Mon, 2003-12-22 at 11:45, Bryan Irvine wrote:
> > > I busted my apache.
> > > 
> > > I tried to do an upgrade and now I get this error when I start apache:
> > > #####
> > > Starting httpd2: Syntax error on line 1018 of
> > > /etc/httpd/2.0/conf/commonhttpd.conf: 
> > > Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a
> > > module not included in the server configuration
> > >                                                                 [FAILED]
> > > #####
> > > 
> > > The offending part of that file is this:
> > > #####
> > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
> > > <Directory /usr/local/nagios/sbin/>
> > >         Authtype Basic
> > >         Authname "Nagios Console"
> > >         AuthuserFile /usr/lib/apache/passwords/.nagiospasswd
> > >         Require user admin
> > >         AllowOverride None
> > >         Options ExecCGI
> > >         order allow,deny
> > >         allow from all
> > > </Directory>
> > > 
> > > <Directory /var/www/html/acid/>
> > >         Authtype Basic
> > >         Authname "ACID Console"
> > >         AuthUserFile /usr/lib/apache/passwords/.acidpasswd
> > >         Require user admin
> > >         AllowOverride None
> > > </Directory>
> > > #####
> > > 
> > > Ideas?  The module seems to be running an in place, but I'll try
> > > anything.
> > > 
> > > --Bryan
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > > 
> > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message