Jump to content

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


Recommended Posts

Posted

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

Posted

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

 

 

Posted

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

Posted

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.

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
×
×
  • Create New...