Jump to content

index.cgi as /cgi-bin/ index ;-)


sircamel

Recommended Posts

hi there,

 

i put

 

DirectoryIndex index.cgi index.htm index.html
AddHandler cgi-script .cgi
Options Indexes FollowSymLinks +ExecCGI

 

in the .htaccess file in my cgi-bin directory but still i am not able to request /cgi-bin/ and get index.cgi automatically executed ... i get a 403 forbidden ... requesting the index.cgi script via full path works like a charm

 

any input?

 

thanks for your time

 

ok i moved the index.cgi to a non cgi-bin dir ... working as expected ... seems there is a bug in the main apache2 cfg

Link to comment
Share on other sites

I think it's for security. Keeps somebody from indexng the cgi-bin if it doesn't have an index file.

 

btw, you don't need to specify the filenames for an index file unless you just want to change the order and all directory's will execute cgi without this:

 

AddHandler cgi-script .cgi
Options +ExecCGI

 

 

Link to comment
Share on other sites

yeah, must be security related ... or a trailing slash where no slash should be ;-)

 

anyway ... i am using heliohost to develop my first facebook app - i hope thats ok? app shows who de-friended you on facebook ... wanted to figure out how the fb-api works to do way more complex stuff later on ;-))

 

i put a heliohost banner at the bottom of the page ;-)

 

http://apps.facebook.com/omfgwdm/

 

kamel

Link to comment
Share on other sites

It shouldn't be a problem as long as you don't break the TOS and draw too many resources.

 

Our owner/administrator (djbob) has written an app or two for Facebook. I believe I saw something about it on his wall a few weeks ago. Do a search for Ashoat Tevosyan at facebook.

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