Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
DreamHost and .txp file extensions
When I setup the Textpattern Themes site, rather than zip up the themes, I just linked to them on the corresponding theme page. I felt it would be informative for users to see the theme source on their screen, if they liked it then cut and paste to the backend, and it was working fine 3 years ago.
What’s happening now is that the front end is rendering the .txp file, as opposed to viewing it as a text file, of which it is.
Business Frontpage, there is a link to business-frontpage.txp in the footer, click on it, whoa right.
DreamHost upgraded my VPS from Ubuntu to Debian 10, would this be the issue? Mime types, etc.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: DreamHost and .txp file extensions
I would rather blame themes/.htaccess
:
# Inhibit direct file downloads.
RewriteRule .*\.txp$ - [R=403,L]
We don’t want site visitors to access pages et forms, they can contain private details.
Offline
Re: DreamHost and .txp file extensions
Was on a support chat with Stef from DreamHost this morning.
Mime Types was the issue, added the text/plain txp to .htaccess:
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddType text/plain txp
AddEncoding gzip svgz
</IfModule>
Oleg, yes I agree, for normal situations you want to block snooping, but I is encouraging it.
Textpattern Themes is running fine now, time to add more themes from Start Bootstrap.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: DreamHost and .txp file extensions
hcgtv wrote #326793:
Textpattern Themes is running fine now, time to add more themes from Start Bootstrap.
many thanks for your themes. I am using one here
…. texted postive
Offline
Re: DreamHost and .txp file extensions
bici wrote #326797:
many thanks for your themes. I am using one here
My very first Bootstrap theme, Business Frontpage, Breaking Bad themed. Once I did that one, it was super easy to do the rest, helps that the Themes all came from one coder. Need to update all the Themes to use the latest Bootstrap CDN.
How was the installation and customization of the theme, may I ask?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: DreamHost and .txp file extensions
hcgtv wrote #326798:
How was the installation and customization of the theme, may I ask?
it was rather straightforward. I installed in the default page. and used one form… i used a very minimal amount of the Texpattern cos…. i am planning on using the pageless sections features.
…. texted postive
Offline