Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for web-apps/fastcgi-gallery/_modules/config.pm between version 1.2 and 1.3

version 1.2, 2005/10/18 13:42:50 version 1.3, 2006/01/04 16:15:35
Line 41  BEGIN
Line 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:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top