Have you tried creating a htaccess file?

I use htaccess files on cedar and they seem to work ad you would expect....

Regards

Marty
On Mar 2, 2012 5:03 AM, "Eric Laberge" <e.labe...@gmail.com> wrote:

> 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 heroku@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to