htzone Posted October 30, 2008 Share Posted October 30, 2008 So, here's the typical first post asking for help. I promise to be back! If it helps any, my question is not coding-related. My script runs great locally, but when I put it on the production server to test it out, I found I wasn't able to read a text file stored in /cgi-bin (Apache server). This seems to be a security thing and I'm wondering if there's any way around this (I adjusted permissions to no avail). I'm trying to grab a bunch of data from the flatfile DB used by a Perl-based CMS for use as form options. I'm not sure what can be done here, but this has stonewalled the project. I believe the client is on a shared server so I doubt the hosting company will be cooperative with any requests to change their security policy. Suggestions? Link to comment https://forums.phpfreaks.com/topic/130688-solved-problem-reading-a-text-file-stored-in-cgi-bin-with-fgets/ Share on other sites More sharing options...
htzone Posted October 30, 2008 Author Share Posted October 30, 2008 Wild speculation welcome... Link to comment https://forums.phpfreaks.com/topic/130688-solved-problem-reading-a-text-file-stored-in-cgi-bin-with-fgets/#findComment-678692 Share on other sites More sharing options...
htzone Posted October 30, 2008 Author Share Posted October 30, 2008 The Perl CMS had a config file that allowed me to change the data directory, so I moved it out of /cgi-bin and got my script to work. Hardly an ideal solution, but the roadblock has been lifted... Link to comment https://forums.phpfreaks.com/topic/130688-solved-problem-reading-a-text-file-stored-in-cgi-bin-with-fgets/#findComment-678763 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.