[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] make.pm files not show
- Subject: Re: [cobalt-users] make.pm files not show
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Sat Sep 16 20:33:40 2000
> Hello. We have some .pm files which show the contents when you go to them
> in a web browser like a text file, does anyone know how to stop the
browsing
> of these files?
> Mike
Mike,
You need to edit /etc/httpd/conf/access.conf
Go down to about line 50 and you will see a section that looks like
# ignore .ht*
<Files ".ht*">
deny from all
</Files>
Right Below it make a section that looks like
# ignore *.pm
<Files "*.pm">
deny from all
</Files>
Then Restart apache
/etc/rc.d/init.d/httpd.init restart
For more about this go to
http://www.apache.org/docs/mod/core.html#files
Zeffie