Remove ZM alias

Forum for questions and support relating to the 1.26.x releases only.
Locked
Yamanipanuchi

Remove ZM alias

Post by Yamanipanuchi »

I did it several years ago and now it escapes me.

I have a server dedicated to Zoneminder so I want to remove the need to use the /ZM when accessing the server.

Right now I need to type in mydomain.com/zm. I want to type in mydomain.com and zoneminder just pops up.
chippy99
Posts: 66
Joined: Wed Aug 30, 2006 5:38 pm
Location: Barnet, Herts. UK

Re: Remove ZM alias

Post by chippy99 »

Thats nothing to do with ZoneMinder, its your webserver setup.
Presumably you are using Apache, read docs on webroot and alias.
Think you want to set DocumentRoot /usr/local/apache/htdocs/zm in http. conf. But it all depends on what distro you are using, they all use different configs.
Yamanipanuchi

Re: Remove ZM alias

Post by Yamanipanuchi »

Ya, it isnt directly related to Zoneminder. I analogize for that. I only asked here because it was zoneminder that taught me where that feature was.

I found it with the information you gave me. It was located in /etc/apache2/sites-enabled/000-default, Needed to change the documentroot like you said.

This was an Ubuntu 12.04 system with apache2.

Thanks again!
Locked