Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Regarding your PHP 'tip', that kinda makes the whole point of using a static generator in the first place a bit useless. And when you decide to do it anyway, configure your apache (or whatever you like) to parse .html as php.


It doesn't make it useless as all of my site is static except the contact form. To utilize another option just for a few lines of code in a contact form didn't seem practical to me.

I'm sure open to suggestions though.

Thanks for the tip on configuring Apache... I may look into that next time. I've got my .htaccess set to rewrite the urls to extensionless, so it didn't make too much of a difference.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: