View previous topic :: View next topic |
Author |
Message |
lateralus01 Tux's lil' helper
Joined: 24 Jan 2008 Posts: 86
|
Posted: Thu Jan 24, 2008 10:03 pm Post subject: How do you give read/write permissions? |
|
|
I'm trying to create a proxy server. I'm using Glype, which is a script that Apache can host written in php that will perform all the functions of a proxy. Now when I connect to the proxy from a browser I am presented with a form to put in the URL. When I type in the URL it loads a blank page. I just found out how to display errors and well I think my problem is here:
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /mnt/fatx/f/glype/glype-0.5.1/upload/browse.php on line 333
This is just one of the errors but they all have to do with opening or writing to a file and I have checked and all the files exist.
The requirements for the proxy are listed:
Glype Proxy requires PHP5 with cURL enabled.
The optional caching feature also requires read/write file permissions to the cache folder.
I have PHP5, cURL is enabled but I don't know if the caching feature has read/write file permissions and that's what (I'm guessing) is causing my problem.
Anyone know how give these permissions?
Thanks,
Lateralus |
|
Back to top |
|
|
octanez Tux's lil' helper
Joined: 18 Apr 2004 Posts: 149 Location: Washington DC Metro, USA, Earth
|
Posted: Thu Jan 24, 2008 11:01 pm Post subject: |
|
|
Having never used this application I would have to say that you need to chown the files that it is trying to edit so that the apache owns them. Setting 777 on the files is dangerous. You could also create a group with you and the apache user in it, and chmod the files 775/664 depending on what you need. _________________ Adopt an orphan |
|
Back to top |
|
|
|