Skip to main content Help Control Panel

 

English «   Need Help «  

Collections Questions [Solved]

Gross Matthew -- on Jan. 29 2008
Technical Trainer VOD

Having some setup issues with collections

WorkflowSupport request
StatusImmediate solution has been provided
  • Submission on Jan. 29 2008 by Bernard
  • Qualification on Feb. 3 2008
OwnerGross Matthew
Progress100%
Greetings,

I downloaded and setup YACS last night running on a Windows box and have an issue with Collections. I have set up 2 collections, one being mpg movies and the second being pictures. I have both of these setup to use different drives on the PC, not the root drive. In other words I have the mpegs on drive H and the pictures on drive I. I am able to stream the mpegs to my local machine correctly, but other users on my network recieve an error 'unable to open file'.

The pictures display correctly in the browser on all machines but when attempting to click on them you get a DNS Error 'DNS error: http://www.i.com/Bermuda%20Tri...06/P1180267.JPG'.

Any ideas what I am doing wrong?

TIA

Comments

NickR

on Jan. 29 2008


Hi,

Could you get the path (in your browser) of a sample image.

I suspect that your image folders need to be configured to be accessed through your webserver, or the folders network shared.


Nick

My Website: NGR78
Gross Matthew
3 posts

on Jan. 29 2008


Greetings,

Thanks for the reply, I also thought it might be permission issues. The content is on an external USB drive, it is also set up as a shared drive. Here is the link from my browser, 'http://www.i.com/Bermuda%20Trip%202006/P1180267.JPG'. I was wondering about the path as it doesn't look right to me either...

Thanks for the assistance....
NickR

on Jan. 30 2008


Hi,

I wonder if its a permissions issue. Try checking what permissions apache has/uses for your website folder and then try adding the same permissions to your media folders.


Nick

My Website: NGR78
Gross Matthew
3 posts

on Jan. 31 2008


Nick,

Thanks for the reply, I am still looking for why this doesn't work. But in the meantime I have just moved my videos and pictures to a new folder under the YACS directories. I am still toying around with running this under linux as it is more stable and configurable. As a side question are you familiar with virtual machines, as i was wondering if it is possible to run this on a Linux virtual machine inside of Windows.

Thanks Again

Bernard Paquesfrom nearby-an-airport
Associate, 8408 posts

on Feb. 3 2008


The virtual Linux machine under windows should be ok, while not tested to my knowledge.

For the proper setup of collections, you have to put files in a web space anyway. It is ok to have files on a USB key, providing the web server (e.g., Apache) knows how to access this space on specific URL. If you know how to manage .htaccess files, this is quite easy. If not, the best way to go is to place all files below the directory used by the web server.

For example, if this web directory is mapped at /var/httpd/htdocs/, this is the place that the server will look at for web references like http://server_name/. Create a sub-directory videos below htdocs and upload your files there. Then configure a collection with path /var/httpd/htdocs/videos and web prefix http://server_name/videos. The first parameter is used by YACS to handle content of the collection. The second parameter is used to allow web access to individual files of the collection.