This is what I've got:

- All our project files area stored on a shared file server (Windows Server 
2003)
- We have multiple clients
- Clients have one or more projects
- Clients could have multiple locations
- Projects could have one or more subprojects
- Each client/location/project/subproject has a folder
- Each project or subproject will have a Fossil repository on the server
- Each repository will be kept in the appropriate project or subproject folder

Here is an example directory structure on the file server:

\Projects
\Client1 (This client has multiple locations)
\Location1
\Project1 (This project has subprojects)
\Subproject1
\Subproject2
\Subproject3
\Project2 (This project has no subprojects)
\Project3 (This project has no subprojects)
...
\Location2
...
\Location3
...
\Client2 (This client has only one location)
\Project1
\Project2
\Project3
...
\Client3
...

Clearly, all the Fossil repositories will not be stored in the same folder. I'm 
testing a Perl script that'll sort it all out and invoke Fossil using CGI as 
required.  Almost there. One last hurdle:

The script generates a Fossil.cgi file dynamically, as needed, per repository, 
then invokes Fossil. The initial CGI file looks like this:

#!\Program Files\Fossil\Fossil
repository: \Projects\Client\Location\Project\repository.fossil

Subsequently, the browser comes back asking for resources referenced in the 
resulting HTML:

<img src="/cgi-bin/Fossil.pl/logo" alt="logo" />

It's obviously asking for the logo within the repository it just accessed.

Q: How should the CGI script invoke Fossil to request these internal resources?

I tried:

#!\Program Files\Fossil\Fossil
repository: \Projects\Client\Location\Project\repository.fossil/logo

without success.

Please advise.

[cid:[email protected]]

TONY PEROVIC

[email protected]<mailto:[email protected]>
www.compumation.com

205 W. Grand Ave., Ste. 121
Bensenville, IL  60106
630-860-1921  Phone
630-860-1928  Fax


<<inline: image001.jpg>>

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to