Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[42bccd]: .htaccess Maximize Restore History

Download this file

.htaccess    27 lines (21 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AddDefaultCharset UTF-8
# protect yourself
<Files .htaccess>
order allow,deny
deny from all
</Files>
# avoid direct calls to header and footer
RedirectMatch 404 footer.php$
RedirectMatch 404 header.php$
# redirect for no longer existing temporary place of the new site
RedirectMatch 301 (.*)/enblend_new/(.*)$ http://enblend.sourceforge.net/$1
# old pages that have moved/evolved
Redirect 301 /enblend.htm http://enblend.sourceforge.net/enblend.doc/enblend_3.2.xhtml/index.html
Redirect 301 /enfuse.htm http://enblend.sourceforge.net/enblend_new/enfuse.doc/enfuse_3.2.xhtml/index.html
# header and footer to be prepended and appended to all PHP files
php_value auto_prepend_file /home/groups/e/en/enblend/htdocs/header.php
php_value auto_append_file /home/groups/e/en/enblend/htdocs/footer.php
<FilesMatch "\.(htm|html|xhtml)$">
# use this if you want to parse with PHP also .yuv or .htm or .html files (and thus add header and footer to them)
SetHandler application/x-httpd-php
</FilesMatch>