495642 help - .htaccess modification need

Tamamlanmış İlan edilme: May 2, 2011 Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

I have a site that I tranfered to a new server. The site used the coding below in .htaccess to allow php includes inside of html files. (crazy i know)

AddType text/html .shtml

AddHandler server-parsed .shtml .html

AddOutputFilter INCLUDES .shtml .html .htm

RemoveHandler .html .htm

AddType application/x-httpd-php .php .htm .[url removed, login to view] file

In the html pages of the site I used the following

<?php include("includes/[url removed, login to view]"); ?>

A page example with the includes not working is [url removed, login to view]

Now I have changed servers and have a whole new site. With this nolonger working the old pages that have brought traffic are declining due to the navigation missing in the side panels. If you can fix this without screwing up my current tube site please bid.

Apache Odd Jobs PHP Web Sitesi Yönetimi

Proje NO: #2241557

Proje hakkında

1 teklif Uzak proje Aktif Jul 11, 2012

Seçilen:

reefyone

This is a 30-second fix. Just add "AddType application/x-httpd-php .html" to your .htaccess file in the directory you want your .html files to interpreted by PHP. Best of luck with it! If you need help I'm happy to be Daha Fazla

%selectedBids___i_period_sub_7% gün içinde 15%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(19 Değerlendirme)
2.9