Cgi-bin error 403 Forbidden You do not have permission to access this document.
Hello,
I am getting this error Quote:
Quote:
Quote:
Thanks |
The first error is because cgi-bin is not browsable by default. This is normal.
The second error is due to a misconfigured script, or the script not having correct permissions, try Code:
chmod 755 online.cgi If you are trying to run a script called ubr_upload.pl why are you trying to access everything but ubr_upload.pl ? |
Hello,
Yes all these files that i am trying to browse to exist in cgi-bin folder and i do have the correct file permissions of the cgi-bin folder and all the files that resided in it. i did try browsing sitename.com/cgi-bin/ubr_upload.pl and it gives me the same error [quote]error 404 file not found[quote]. What else can be done? Thanks |
Hello,
Yes all these files that i am trying to browse to exist in cgi-bin folder and i do have the correct file permissions of the cgi-bin folder and all the files that resided in it. i did try browsing sitename.com/cgi-bin/ubr_upload.pl and it gives me the same error Quote:
Thanks |
Firstly, you can edit your posts if you make a mistake, don't make a new post.
Secondly, please provide a directory listing of the cgi-bin concerned. Post it in code tags please. |
I am sorry i couldnt understand what you meant by "Post it in code tags please." I tried "Tags" it was something else anyways here is my cgi-bin dir structure
/httpdocs/cgi-bin/online.cgi /httpdocs/cgi-bin/ubr_upload.pl Hope i answered your question properly. And the file permission is set correctly to the folder and the files 755 Also the video script i am using uses ubr_upload.pl when i upload the videos it gives me the following error ERROR: Failed to find flength file and gives me the referenced site http://uber-uploader.sourceforge.net/?section=flength i have tried that but no use and still trying to find the solution on net. If the name of script will help somehow then its called clipshare |
I suggest that the script is not configured correctly, and that you should post on a more suitable forum, ie. the uber upload help forum.
http://sourceforge.net/projects/uber...s/forum/497768 |
The script is fine it works great for other people. Ok i will explain things in more details now, I am using plesk control panel and Fastcgi for the php support. The only problem is that i am not able to read the file that resides in cgi-bin via the browser. I guess there could be something messed up in my apache server files? I am guessing it could be the permission error, not the Chmod permission but the system owner permission perhaps. I dont know much about linux. When i browse to sitename.com/cgi-bin/cgi-bin/online.cgi it gives me " 500 Internal Server Error " and when i browse to sitename.com/cgi-bin/ubr_upload.pl it gives me error " 400 Not Found ". I know for a fact that these files are perfect and working fine on my other shared hosting server but not just on this dedicated server.
Thanks |
The script is not configured correctly. You can't just move a script from one machine to another and expect it to work. The path to perl may be different, the local settings for other variables may be different and many other possibilities.
Have you actually read the scripts concerned ? They usually tell you what to do to install it. php is irrelevant. You also say the script is called clipshare but you have shown that there is no file called clipshare in your cgi-bin. Try reading your apache error logs. ( /var/log/httpd/error_log ) |
samguy also BE ADVISED that all support for fedora 11 will end in about 20 days
after that there will NEVER be any updates to it ever. none . if you are going to use fedora on a server then you WILL NEED to reinstall a NEW version EVERY 6 months -- on ifs ands or butts -- you MUST stay up to date . or use a long life distro that has a 5 to 7 year life span . |
Found all my solutions we can close this thread now thanks a lot everyone for co-operating
|
Click on "Thread Tools" and mark as SOLVED
|
Quote:
Each version comes to end of life around a month after the release of version x + 2 So F11 is coming to the end of life but F12 will still be supported until a month after F14 is released - about 13 months. In my experience, it is never a good idea to jump straight on the upgrade bandwagon, because you essentially become a beta tester for the rest of us. Fine on a play machine but not on a server. So skip a generation, or wait until the current generation has been around a few months. As for the OPs problems all being solved, it would be nice to know what the problems were and how they were fixed. |
Quote:
Thus I'd say stick to RHEL or CentOS for servers ;) |
All times are GMT -5. The time now is 02:21 PM. |