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

Re: [cobalt-users] Add Extensions for execution



Thanks for all of your help and here was the temporary fix - I think that there
should be a more permanent solution somewhere.

First, the httpd restart was not the problem.  The php3 needed to be added in
the Virtual site section in httpd.conf as an additional AddType application
line.  The section had the .php4 and the .php line but not the .php3 line.  We
added the last line as shown below and then did a restart and now it works.
But, is there a default area to add this extension so I do not have to add this
line to each client that needs php?


HERE ARE THE LINES:
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3   # added this line


John D. Gorena





islam el-azazy wrote:

> 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
> >
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users

--
John D. Gorena
PC and Internet Marketing Consultant
http://www.JMG-Enterprises.com
Office: 972-315-0496
Fax: 972-315-3104

HERE ARE SOME REALLY GREAT DEALS:
1) Basic Hosting with 30 MB of web space and 5 POP USER accounts for
$18.75/Month with MANY OPTIONS INCLUDED - when paid annually (see details on our
site).  Or $25.00 paid monthly.
2) Domain Hosting with E-commerce for as low as $39/month.
3) Create your own professional web pages and save a lot of money.  Buy
FrontPage 2002 from our site at http://www.JMG-Enterprises.com