PDA

View Full Version : version 1.8 - Change url path


Wouaf
27-01-2010, 08:39
Hello,

I want to change the url of zabbix:

http://monitor.mydomain.com/zabbix/ by http://monitor.mydomain.com.

and i've this message:

Not Found

The requested URL /zabbix/maps.php was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch Server at 192.168.201.22 Port 80

my apache configuration:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/zabbix
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/zabbix>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

i suppose there is an variable to change, but don't find...

Thanks for help.

Aly
27-01-2010, 09:46
There are no variables related to path (only if some distro)

Wouaf
27-01-2010, 14:02
There are no variables related to path (only if some distro)

Thanks for your reply,

So We can't use an url like http://monitor.mydmomain.com

We must use http://monitor.mydomain.com/zabbix/

Aly
28-01-2010, 12:22
I meant that zabbix frontend could be placed to any folder by default. Problem could rise due to configuration of http server or some distro have made changes to zabbix frontend.

Wouaf
28-01-2010, 19:47
Ok.

Thanks