install does not set up apache site

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

install does not set up apache site

Post by bhomass »

I have apache2 2.0.55 on Debian Sarge. kernel 2.6.8.

I tried installation of zm-1.21.3 serveral times, with
./configure --with-mysql=/usr --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin

but the zm virtual host is not set up in apache. /etc/apache2/sites-available only has default site set up.

I did this before on Suse, I remember the zm virtual host should have been setup automatically???
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

As far as I am aware, only the packaged versions of zm setup the virtual host as me and Oskin made the file for it.
You should be able to access the using http://<yourhost>/zm assuming that you still have your html directory as your default web root.

Regards,
Cordel
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

I am sure if you mean something else by "packaged versions". I am using zm-1.21.3. that is packaged, isn't it?

I am not able to access by http://host/zm, because the virtual host for zm is not even setup after zm installation, and there is do DocumentRoot specified for it.

could you tell if I did any thing wrong that caused the virtual host to be not installed from my zm installation?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

By packaged I mean compiled package as in an RPM. I package for Fedora (which is simular to Suse and may have been used) so if some has packaged for Debian I wouldn't be able to say for sure what has been done. You would have to contact the packaging authority for Debian whom ever that might be.
The ZM source does nothing to configure apache as this may break something that some one may have configured. For the most part it is assumed that you know how to properly configure them.
I have to currently work on packaging the new version and I am working on creating a x86_64 distro. Once I finnish these if you are still having issues I'll try and help out.
Regards,
Cordel
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

ic. I may have used rpm while working on Suse. Now that I am on Debian, it is like starting a new life. so, I will go ahead and configure apache manually.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Oh boy, I know since I've been meaning to play a bit more with Deb. Just aint got the time to learn the diff :lol: I feel the pain.
Locked