(*can't use AddType application/x-httpd-php .xyz) >> Need RewriteEngine Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Julia Briggs

    (*can't use AddType application/x-httpd-php .xyz) >> Need RewriteEngine Help

    My server host is configured not to allow,

    AddType application/x-httpd-php .xyz

    I understand the RewriteEngine can be used to pass requests the same
    way like:

    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*)\.php$ $1.xyz [R=permanent]

    (xyz or anything....)

    I don't know how to implement this, or all what goes into it (am I
    missing anything besides those three lines?). Assistance greatly
    appreciated putting this together, where it goes, etc...

    Sincerely, Matt

Working...