[nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess
Ajai Khattri
ajai at bitblit.net
Wed Oct 19 09:26:09 EDT 2011
I would check if AllowOverides is switched on for that vhost.
Sent from my iPad
On Oct 18, 2011, at 8:14 PM, "Peter Sawczynec" <ps at blu-studio.com> wrote:
> I am running a legacy website where all the .html files are being served as php by using some directives in an .htaccess file as follows:
>
>
>
> DirectoryIndex index.html
>
> AddType application/x-httpd-php .htm .html
>
> AddHandler x-httpd-php .htm .html
>
>
>
> This website has now been migrated to a newer Apache 2.2 and PHP 5.2 web server environment and the above directives fail.
>
>
>
> Does anyone know the directives that will work for me?
>
>
>
> Or do I still need to know more info about what type of Apache I've got?
>
>
>
> My legacy site is actually down till I get this resolved.
>
>
>
> Thanks in advance for any help.
>
>
>
> Warmest regards,
>
>
>
> Peter Sawczynec
>
> Technology Dir.
>
> blūstudio
>
> 941.893.0396
>
> ps at blu-studio.com
>
> www.blu-studio.com
>
>
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20111019/939266df/attachment-0001.html>
More information about the talk
mailing list