[prev] [thread] [next] [lurker] [Date index for 2003/11/24]
On Mon, 24 Nov 2003, Shlomi Fish wrote: > > The problem turned out to be this: the CGI script file refused to serve > files out of the $YAPCOM/files sub-dir. I temporarily resolved it by > adding the following Apache Directive before the ScriptAliasMatch: > > <<< > # Configuration for Yapcom > Alias /yapcom/files /home/shlomi/progs/perl/yapcom/site/files/ > strange as I think it does not need with my Apache bt I might have missed something I already configured. > > Now: we can resolve it permenantly in several ways. One would be to add a > note in the README to add this directive to Apache. The other is to tweak > the CGI script to read and serve files out of this directory if their > prefix is right. > > The first method is faster as far as HTTP serving is concerned. The second > one is more user friendly. We can also do the second and recommend to add > the first, so we can make the best of both worlds. > > Let me know what path would you like to follow, and I'll send you a patch. patch the readme first. fixing the cgi script is actually already in the TODO list but what we'll do is use PATH_INFO and let the user configure the html pages under this script I think like this: ..../yapcom/yapc.pl/login.html ..../yapcom/img/ of course then the user can put rename yapc.pl to be yapc and the she will have nicer paths: ..../yapcom/yapc/login.html ..../yapcom/img/ GaborThere's stuff above here
Generated at 20:06 on 24 Nov 2003 by mariachi 0.51