XtremeMaC Posted April 3, 2004 Share Posted April 3, 2004 Hi therei'm trying to put a simple cgi script on to my webserver.I've modified the attributes of the cgi's to 755. now normally it should be working right?in this case this should be working http://www.personal.psu.edu/users/a/z/azh1...gi-bin/load.cgiright?but i'm getting 403 forbidden errors even when i give full permission??when i change the file extension from cgi to txt or something i can access it.what's wrong here???i just want to put a simple download counter!in this case this is supposed to workhttp://www.personal.psu.edu/users/a/z/azh1...eMaC/winAMP.msii change the folder permissions but they get reverted back to its original **** value! Thanks Link to comment Share on other sites More sharing options...
gamehead200 Posted April 3, 2004 Share Posted April 3, 2004 Did you setup the .htaccess file correctly? Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 3, 2004 Author Share Posted April 3, 2004 aa no what kind of changes should i be putting? Link to comment Share on other sites More sharing options...
gamehead200 Posted April 3, 2004 Share Posted April 3, 2004 Do a search on Google for CGI .htaccess permissions. That should save you the trouble. Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 3, 2004 Author Share Posted April 3, 2004 (edited) too confusing can anyone tell me exactly what to add to htaccess?i'm trying a few things over here but keep getting the same errori only have this in htaccessAddType text/x-server-parsed-html .htmlAddType cgi-script cgimy files are under users/a/z/azh113/MSFN/XtremeMaCcgi dirusers/a/z/azh113/MSFN/XtremeMaC/cgi-bin/ Edited April 3, 2004 by XtremeMaC Link to comment Share on other sites More sharing options...
gamehead200 Posted April 3, 2004 Share Posted April 3, 2004 AddHandler cgi-script .cgiOptions ExecCGI Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 3, 2004 Author Share Posted April 3, 2004 i added that and got thisInternal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@psu.edu and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. Link to comment Share on other sites More sharing options...
gamehead200 Posted April 3, 2004 Share Posted April 3, 2004 i added that and got thisInternal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@psu.edu and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. Try getting rid of the other stuff... Just put in the stuff I posted! Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 3, 2004 Author Share Posted April 3, 2004 i did here's how it looks likeAddHandler cgi-script .cgiOptions ExecCGIthat's it i've nothing else in theresame error Link to comment Share on other sites More sharing options...
zivan56 Posted April 3, 2004 Share Posted April 3, 2004 Are you sure the user the webserver runs on has permission to execute the file at the beginning of the cgi script? Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 3, 2004 Author Share Posted April 3, 2004 i'm not sure but i've seen cgi scripts launched from the same domain Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now