...

.htaccess forcing files to be parsed as php

Thejavaman1
06-28-2002, 07:07 PM
well I ate my .htaccess file on acident :mad: and can't remeber how to force a file to be parsed as php.

Feyd
06-28-2002, 09:38 PM
easiest way:

<Files page.javaman>
ForceType application/x-httpd-php
</Files>

Also an easy way to make pages look like directories:

file : fakedir (no extension)
<Files fakedir>
ForceType application/x-httpd-php
</Files>

Or get a few pages with your own custom extension:

AddType application/x-httpd-php .tjm

Thejavaman1
06-28-2002, 11:05 PM
Thanks, I found out abou thr forcetype by some random guessing...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum