Changes

Jump to navigation Jump to search
Line 79: Line 79:  
you have to set a db value anyway so you may as well add it to the ocs fragment
 
you have to set a db value anyway so you may as well add it to the ocs fragment
   −
=glpi=
+
=aliases=
a minor change, don't release an rpm just for this
+
Future RPM will allow to add aliases using 'URL' value to ocs and glpi
 
  −
/glpi is hard to remember
  −
 
  −
can we add a duplicate alias, eg /reports
  −
 
  −
or make a URL db setting so it is configurable
  −
http://wiki.contribs.org/Web_Application_RPM#Webserver_templates
  −
   
  {
 
  {
 
   if (exists $foo{'URL'})
 
   if (exists $foo{'URL'})
 
   { $OUT .= "Alias  /$foo{'URL'}  /opt/foo\n"; }
 
   { $OUT .= "Alias  /$foo{'URL'}  /opt/foo\n"; }
 
  }
 
  }
  −
Stefen
  −
----
  −
NP, I'll add this improvement in the next release. Do you want this for OCS too?
  −
  −
=> Is there a way to improve your code to test before using the alias that it will not override an existing one?
  −
  −
I will also set'' 'ocsinventory' ''and'' 'ocsinterface' ''as'' 'url' ''types to avoid using these virtual locations ;-) (forgot these ones!)
  −
  −
By the way, it's not so hard to remember: GLPI means Gestion Libre de Parc Informatique :-D
  −
  −
Very easy to remember... For a French guy!
  −
  −
Cool34000
  −
----
  −
  −
ocs is ok, but maybe give it a URL db for completness,
  −
  −
as the fragment is last in httpd overwriting another value isn't a problem,
  −
the point is valid but the only thing that will happen in one of the local sites won't be visible
  −
  −
stephen
  −
----
 
498

edits

Navigation menu