Jump to content

[CGI-BIN] getting a script to work from a subdir of cgi-bin


Recommended Posts

I am having problems executing a script from a subdirectory of cgi-bin. The funny thing is. Other scripts seem to work from the subdir.

 

the cgi-script is chmod 755.

 

I'm not sure what information to give other than this, since other files work from the location which is

 

/var/www/cgi-bin/subdir

 

does anyone have a suggestion?

the apache error log says this:

 

[Tue Jul 13 10:00:09 2010] [error] [client 192.168.1.108] (2)No such file or directory: exec of '/var/www/cgi-bin/xupload/upload_status.cgi' failed

 

but i assure you the file is there. the sub directory is chmod 755 as well as the cgi file.

 

Thanks for any help.

C

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.