Hello!
In basic cherokee admin i'm a newbee...
Now, in file: /etc/cherokee/cherokee.conf (extract part):
...
vserver!10!rule!400!document_root = /var/www/geneweb/HTML
vserver!10!rule!400!handler = file
vserver!10!rule!400!match = directory
vserver!10!rule!400!match!directory = /media/sdb1/Bilder/Dokumentbevaring
...
'Bilder' = Images
'Dokumentbevaring' = Document preservation
My basic coal is:
I hawe old scanned documents (and pictures) linked to static HTML-files
on a local HD (/media/sdb1/Bilder/Dokumentbevaring)
On my PC (Linux Ubuntu 9.10 and cherokee) I run a relatives web
application 'GeneWeb'. This application run It's local web server as
localhost:2317. (and 'localhost' has '/var/www' as root)
Inside this application (GeneWeb) I have fix it so I would be able to se
a link to a relatives scanned document, if there is any.
The call (path) to check if there is any folder is like:
http://localhost:80/geneweb/HTML/%surname;/%first_name;
If there is a folder, a link 'HTML-folder' will appear at the relatives
page.
This part is OK.
When I click at the link (like:
http://localhost/geneweb/HTML/Nordlundh/Gunnar/index.html) the HTML-page
appear in a new window (tab). Yust as I want.
In this 'index.html' I have a table with links to other HTML pages that
include links to pictures files and documents. Like This:
file:///media/sdb1/Bilder/Dokumentbevaring/HTML/Gunnar-Nordlundh-School.html
And it is this link that is not show up. In Firefox follow info appear
(translated from Swedish):
"Security Error: The conten in
http://localhost/geneweb/HTML/Nordlundh/Gunnar/index.html can not get
data from or link to
file:///media/sdb1/Bilder/Dokumentbevaring/HTML/Gunnar-Nordlundh-School.html."
Is the 'rule' (400) not applicable to subfolders? Or what.
I'm so sorry if this is like a mess and I'm feel little ashamed to desturb.
Regards
--
Nils-Gunnar 'Nisse' Nordlundh
__________________________________________________________
Kolla gärna min blogg: blogg.ngn.nu <http://blogg.ngn.nu>
och mina bilder på: bilder.ngn.nu <http://bilder.ngn.nu> (Håller på att
'flyttas' till galleriet.)
Studera gärna mina 'alster' på: galleri.ngn.nu <http://galleri.ngn.nu>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee