Jump to content

cgi-bin Subdirectories?


RT60 Calculator

Recommended Posts

Hi there,

Is it possible to execute Python files in a subdirectory of the cgi-bin folder in the same way as it will execute in the actual cgi-bin folder?

For example: let's say I have the following Python file: /public_html/cgi-bin/my_page.py

This page has been 755'ed, outputs a content header and displays a webpage as it should. However, would it work if placed in a subdirectory of cgi-bin, like this:

/public_html/cgi-bin/my_subdir/my_page.py (assuming that it was the same file, i.e. has the correct permissions, etc).

 

According to some brief searching, this is an option that can only be enabled within Apache - I'm just wondering if it has been.

Thanks,

RT60 Calculator Guy.

Link to comment
Share on other sites

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.   Paste as plain text instead

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