Alvaro Lopez Ortega wrote:
Is that warning the only issue or there is something more causing troubles?

DocumentRoot doesn't use relative pathnames. Why is important? Well, if you look at the twisted configuration below, I would like to use relative document root paths so that I can just change the higher level virtual domain document root and have everything else follow instead of having multiple copies of the same path.

by the way, what I'm trying to accomplish with the script is to hide the CGI location from the path. I would love to put my CGI and its data totally outside of document root but I know that might be a tad difficult.

---eric

##
## Virtual server for example.com
##
Server inguide.com, www.inguide.com {
          DocumentRoot /var/www/inguide.com

          Directory /aether {
                DocumentRoot /var/www/inguide.com/aether
                Handler cgi
          }

          ##
          ## Rest of the virtual host configuration..
          ## Add you parameter here..
          ##
          Directory / {
                DocumentRoot /var/www/inguide.com/html
                Handler redir {
                        Rewrite "^(http.+)/(.+)$" "$1/aether/ae/$2"
                
                }
          }
}

next problem, the rewrites don't work in a can't figure out how to debug them.

third and fourth problems:

don't know why there's a double slash between aether and ae. may be my problem but it hasn't shown up with apache.

the environment variable "script_name" really should be there for CGI.
http://hoohoo.ncsa.uiuc.edu/cgi/env.html

The script serving this site just crashed. Sorry.



Traceback (most recent call last):
  File "/var/www/inguide.com/aether//ae", line 2070, in ?
    main()
  File "/var/www/inguide.com/aether//ae", line 1974, in main
    name = os.environ['SCRIPT_NAME'].decode('utf-8') + \
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'SCRIPT_NAME'



--
http://www.wired.com/wired/archive/13.03/view.html?pg=5

The result of the duopoly that currently defines "competition" is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to