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

Re: [cobalt-users] how do I change httpd.conf (NEWBIE ALERT)



----- Original Message -----
From: "scott" <scott@xxxxxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 10, 2002 9:53 PM
Subject: [cobalt-users] how do I change httpd.conf (NEWBIE ALERT)


>
> Hi gang
> How would I go about changing my httpd.conf file
> I tried to replace it by logging in as admin via ftp and replacing the
> file but I get a permission denied from ws-ftp. I am trying to change
> the php line that lets php parse .html files as well as .php files Best
> regards And
> Thanks in advance
> Scott
>
ssh into your RAQ
su -
cp /etc/httpd/conf/srm.conf /etc/httpd/conf/srm.conf.bak
pico -w /etc/httpd/conf/srm.conf
find the following lines and make the additions as required.
   # DirectoryIndex: Name of the file or files to use as a pre-written HTML
   # directory index.  Separate multiple entries with spaces.
   DirectoryIndex index.php index.php3 index.html index.htm index.shtml
home.html home.htm

Stop the server
/etc/rc.d/init.d/httpd stop

Start the server
 /etc/rc.d/init.d/httpd start


Bassi