top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

htaccess to make html act as php suffixed files

0 votes
383 views

To get html pages to use php scripts, I've used:

RewriteEngine on
# handler for phpsuexec. -- this makes these prefixes considered for php

SetHandler application/x-httpd-php

In a .htaccess file.
However, it works on one site, but not on another -- any ideas as to why?

posted Jun 11, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

At a rough guess there's an AllowOverride line in the main Apache config that's restricting what you can do in the .htaccess file.

answer Jun 11, 2013 by anonymous
...