Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre web-apps/fastcgi-gallery/_modules/config.pm medzi verziami 1.2 a 1.3

verzia 1.2, 2005/10/18 13:42:50 verzia 1.3, 2006/01/04 16:15:35
Riadok 41  BEGIN
Riadok 41  BEGIN
         $hostname = `hostname -f`;          $hostname = `hostname -f`;
         $hostname =~ s/\s//g;          $hostname =~ s/\s//g;
   
         # get name of FastCGI script          #
           # Get name of FastCGI script
           #
           # I don't like '.fcgi' extension in URL (as you can see on demo page
           # http://fastcgi-gallery.platon.sk/index?gallery=%2F&lang=en ), so we
           # keep only filename withouth extension.
           #
           # You ***NEED*** to enable "Multiviews" option in your Apache configuration.
           # See doc/httpd-example.conf
           #
           # And here is the reason, why I don't use script extension:
           # http://rajo.platon.sk/index/en/show:gallery
           #                            ^^^^-- language is here
           # http://rajo.platon.sk/index/sk/show:gallery
           #                            ^^^^-- language is here
         my ($name, $path, $suffix) = fileparse($0, '.fcgi', '.cgi');          my ($name, $path, $suffix) = fileparse($0, '.fcgi', '.cgi');
         $fastcgi_name = $name eq '' ? 'index' : $name; # default index          $fastcgi_name = $name eq '' ? 'index' : $name; # default index
   

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok