[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Add Extensions for execution



you must restart apache after modifing its conf. files


restart apache by this command

/etc/rc.d/init.d/httpd restart

thats all


byyy

----- Original Message -----
From: "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>; "Jay Summers" <jay@xxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, July 11, 2001 10:06 PM
Subject: Re: [cobalt-users] Add Extensions for execution


> Jay,
> I have done this but when I try to execute the file, my browser wants to
download it
> instead of running it.  I tried different php files directly and it does
the same -
> want to download the file.
>
> John
>
> Jay Summers wrote:
>
> > > I cannot seem to find where we add extensions to run.  For example, I
need to
> > > run an index.php3 file but in order to do it I need to add the .php3
extension
> > > to the list.  Where is this file (list)?
> >
> > It's in the srm.conf file in /etc/httpd/conf. It's pretty close to the
top
> > and should look similar to this (all one line):
> >
> > # DirectoryIndex: Name of the file or files to use as a pre-written HTML
> > # directory index.  Separate multiple entries with spaces.
> >
> > DirectoryIndex index.html index.htm index.shtml home.html home.htm
index.php
> > index.php3
> >
> > > What File or files do I need to change and then I assume that I need
to
> > > restart apache????
> >
> > Just add the index.php and index.php3 like above and then restart
Apache.
> >
> > /etc/rc.d/init.d/httpd restart
> >
> > cya,
> > j
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>