Hi! I think this should be basic stuff, but I failed to find an answer through the documentation or the mailing list archive.
I have a PHP script that use data from another file: File1.php <?php printf( file_get_contents( './File2.inc' ) ); ?> File2.inc Hello World! I want my script to run successfully through Heroku ( http://example.herokuapp.com/File1.php ), but I don't want the data file to be reachable ( http://example.herokuapp.com/File2.inc ). This would be trivial with Apache htaccess or nginx location, but I can't figure it out on Heroku. Regards! -- Eric Laberge -- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/0IpvJZ-oHxwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
