relocating events & images directories

Forum for questions and support relating to the 1.24.x releases only.
Locked
themagicm
Posts: 47
Joined: Sat May 14, 2011 2:53 pm

relocating events & images directories

Post by themagicm »

on my server my events and images are stored in /srv/www/htdocs/zm/events and /srv/www/htdocs/zm/images.

I did the ln -s /usr/zm/events, ln -s /usr/zm/images... even a chmod on /usr/zm/events and images. For some reason, I get nothing. When an event records, I click on frames and no picture shows up. Any clues?
Mad Professor
Posts: 106
Joined: Wed Dec 15, 2010 11:20 am
Location: Isle Of Wight, UK

Re: relocating events & images directories

Post by Mad Professor »

I can't help you with your problem.

But it sounds like you are trying to do the same sort of thing as me.

Here is my post: Recording outside of working directory
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: relocating events & images directories

Post by Flasheart »

The subject is answered in the faw here; http://www.zoneminder.com/wiki/index.ph ... Hard_Drive

If apache isn't finding the images, you can generaly find out where it's looking by checking apache's error_log for the 404's.

From that, the easiest solution is to create softlinks to zm events directory that match what apache is looking for.

Or you can amend apache's dir so that the aliases are right.
Locked