Web Hosting Talk







View Full Version : Need Help Configuring Apache


ClusterMania
03-25-2002, 02:04 PM
"Please config your Apache to parse HTM and HTML files as well. Not only SHTML. As now SSI is working only within SHTML files."

How do I do this????

allan
03-25-2002, 05:03 PM
I don't recommend this, because of the potential load increase to your server, and the added security risk.

Look for the following line in your httpd.conf file:

AddHandler server-parsed .shtml

Change it to:

AddHandler server-parsed .html .htm .shtml

Jedito
03-25-2002, 05:25 PM
If you don't want to do it server wide you can add an .htaccess with the same line than uuallan said
AddHandler server-parsed .html .htm .shtml

allan
03-25-2002, 06:27 PM
Duh, good suggestion Jorge...I should have mentioned that.

MotleyFool
03-26-2002, 12:33 AM
Cluster,

As uuallan said it is certainly not advisable for Apache to parse all html and htm files. If I were you I would ask the customer to rename all files with SSI to .shtml

But it's upto you I guess

Cheers
Balaji

cperciva
03-26-2002, 02:23 AM
I think this PR gets filed as resolution: NOTABUG. ;)

MotleyFool
03-26-2002, 02:29 AM
:confused: :confused: :confused:

cperciva
03-26-2002, 02:32 AM
Originally posted by MotleyFool
:confused: :confused: :confused:

Don't you use Bugzilla for problem tracking?

MotleyFool
03-26-2002, 02:50 AM
Nope!

We use our own inhouse tool called D-Bug - developed in ASP on SQL Server on an intranet , it is simply great and blends nicely with our Quality program rated at SEI CMM Level 5!

But the terminology NotaBug is common and I understand that.. the context was cryptic and so I got confused. [it's not for nothing i got a nic like mine you see ;) ]

Cheers
B

ClusterMania
03-27-2002, 12:04 AM
What kind of security risk do I have? What can a freehost client do? I got already got apache to parse htm and html files cause I need headers and footers inserted in all htm files into my freehost. I want all pages to have code replaced in a second if I decide to change sponsors.