httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hurst <jhu...@designforge.com>
Subject Re: [users@httpd] Why isn't 'ScriptAlias' recognized within httpd.conf ?
Date Wed, 18 Sep 2002 04:31:43 GMT
Thine wisdom is great. Thank you!
That was indeed it.


Robert Andersson wrote:

> A bit late perhaps; just catching up with the list. See comments below...
>
> James Hurst wrote:
> > Hi all you Apache-dudes!
> > I've installed Apache 2.0.40 onto a Win2K box and verified that it
> > serves up webpages, and now need to configure it to process PHP markup.
> > I just downloaded PHP 4.2.3 installer, installed it into C:\PHP, and
> > per the instructions am trying to configure it with Apache as either a CGI
> > binary
> > OR a module (I don't care which).
> >
> > Please afford me your supreme wisdom and advise why Apache 2.0.40 doesn't
> like
> > this...
> >
> > ScriptAlias /php/ "c:/php/"
> > AddType application/x-httpd-php .php
> > Action application/x-httpd-php "/php/php.exe"
> >
> > Upon restarting Apache after entering these lines,  it says:
> > "Syntax error on line 24 of C:/Apache/conf/httpd.conf:
> > Invalid command: 'ScriptAlias', perhaps mis-spelled or defined by a
> > module not included in the server configuration."
>
> I reacted on the "line 24" thing here. You mustn't use such directive before
> the loadModule list (which I assume you do here). ScriptAlias belongs to
> mod_alias, thus the error. Move all php related somewhere further down.
>
> Regards,
> Robert Andersson


---------------------------------------------------------------------
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