home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!biosci!uwm.edu!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!pitt.edu!vms.cis.pitt.edu!valentin
- From: valentin@vms.cis.pitt.edu
- Newsgroups: comp.infosystems.gopher
- Subject: Using .cap files and the "Path" line
- Message-ID: <9738@blue.cis.pitt.edu.UUCP>
- Date: 16 Nov 92 20:19:01 GMT
- Sender: news+@pitt.edu
- Organization: University of Pittsburgh
- Lines: 41
-
- Hi,
-
- I'm trying to build a gopher server, and I'm having some trouble with
- .cap directories, specifically using the "Path" line.
-
- We have a directory /afs/pitt.edu/public/info/pittdoc which contains
- a number of documents that are of general interest to the Pitt community.
-
- My gopher data directory is /usr/gopher/data. In there I have a directory
- called "University of Pittsburgh Documentation". I want to reference the documents in
- the information directory with the .cap functionality. So, I have
-
- /usr/gopher/data/University of Pittsburgh Documentation/somefile
-
- and
-
- /usr/gopher/data/University of Pittsburgh Documentation/.cap/somefile
-
- The .../cap/somefile looks like this:
-
- Name=Getting Started with Blah Blah Blah
- Type=0
- Path=0/afs/pitt.edu/public/info/pittdoc/blah-blah.doc
-
-
- This works insofar as the name appears in the gopher client. However,
- when I try to actually retrieve the document, it responds with
-
- OServer error: /afs/pitt.edu/public/info/pittdocblah-blah.doc' does
- not exist!! error.host 1
-
- The file exists just fine. I've tried a whole lotta combinations with
- this. The file is world readable, and it behaves just the same whether
- or not it is in afs.
-
- If you'd care to look at it, the gopher server is gopher.pitt.edu port 70.
-
- Any help you can give me is greatly appreciated. Thanks is advance.
-
- Shawn Hernan
- valentin+@pitt.edu
-