Re: [EMAIL PROTECTED] Getting actual filesystem location of request URI in a script

2008-04-19 Thread Emmanuel E
I figured one way to solve the problem. I have an index.cgi script in every directory like /somedir. This reads index.cgi from the main location and eval's it in the lexical context. That way whenever i change the index.cgi file in the main location I dont need to worry about copying it to eve

[EMAIL PROTECTED] Getting actual filesystem location of request URI in a script

2008-04-19 Thread Emmanuel E
Hi, I have the following configuration: Alias /abcd/ /somedir DirectoryIndex /cgi-bin/index.cgi ... When I access /abcd the script index.cgi gets executed. However it gets executed with the current working directory set to cgi-bin. Is there anyway to get it to execute with current directory