Jump to content

Recommended Posts

Posted

Hi there

i'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.cgi

right?

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 work

http://www.personal.psu.edu/users/a/z/azh1...eMaC/winAMP.msi

i change the folder permissions but they get reverted back to its original **** value!

Thanks


Posted (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 error

i only have this in htaccess

AddType text/x-server-parsed-html .html

AddType cgi-script cgi

my files are under users/a/z/azh113/MSFN/XtremeMaC

cgi dir

users/a/z/azh113/MSFN/XtremeMaC/cgi-bin/

Edited by XtremeMaC
Posted

i added that and got this

Internal Server Error

The 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.

Posted
i added that and got this
Internal Server Error

The 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! :)

Posted

i did here's how it looks like

AddHandler cgi-script .cgi

Options ExecCGI

that's it i've nothing else in there

same error

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...