[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Add Extensions for execution
- Subject: Re: [cobalt-users] Add Extensions for execution
- From: "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx>
- Date: Wed Jul 11 04:23:05 2001
- Organization: http://www.JMG-Enterprises.com
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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