The Mozilla web browser added support for favicons in a way that conformed to web standards through the use of rel="icon" and letting web designers add favicons in any supported graphics format, e.g. <link rel="icon" type="image/png" href="/path/image.png">. Most web browsers have since added support for this feature, and it is generally used for all new content.
So just add this in your CGI output AFTER the <HEAD> opening tag and BEFORE the </HEAD> closing tag.
So in PerlCGI, you would so something like this:
Last edited by otheus; 12-15-2008 at 01:08 PM..
Reason: removed whitespace
my box is FreeBSD4.3 and I use Perl 5.0005_03.
Here is the CGI script.
test.cgi
......
if ($query->action eq 'detail') {
......
print $query->hidden('action', 'modify');
......
}
I found that the result of
test.cgi?action=detail
is not what I expected.
the script does not... (4 Replies)
I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible?
I have the following statement in my scripts
use myUtil;
I want to change it to
use myUtil777;
Regards,
Rahul (2 Replies)
Hi,
I have the following simple CGI script, just containg header:
#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;
I also have included this directive in ~/public_html/.htaccess :
SetEnv PERL5LIB... (0 Replies)
All,
Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program.
Thanks,... (5 Replies)
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Hi,
Am unfamiliar with using CGI modules in Perl.
Though i checked in few sites about CGI , i dint get a clear idea.
Can anyone please explain me the purpose of these statements, it ll be very helpful to me
#!/usr/bin/perl
use CGI qw/:standard/;
use Storable;
use Data::Dumper;
my... (1 Reply)
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Hi Team,
I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
I am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts.
Having a problem. I can start Apache Web Server with no problems.
Why do I put the static and dynamic scripts? I which directory?
I have looked at this article:... (3 Replies)
Discussion started by: djehresmann
3 Replies
LEARN ABOUT CENTOS
git-web--browse
GIT-WEB--BROWSE(1) Git Manual GIT-WEB--BROWSE(1)NAME
git-web--browse - Git helper script to launch a web browser
SYNOPSIS
git web--browse [OPTIONS] URL/FILE ...
DESCRIPTION
This script tries, as much as possible, to display the URLs and FILEs that are passed as arguments, as HTML pages in new tabs on an already
opened web browser.
The following browsers (or commands) are currently supported:
o firefox (this is the default under X Window when not using KDE)
o iceweasel
o seamonkey
o iceape
o chromium (also supported as chromium-browser)
o google-chrome (also supported as chrome)
o konqueror (this is the default under KDE, see Note about konqueror below)
o opera
o w3m (this is the default outside graphical environments)
o elinks
o links
o lynx
o dillo
o open (this is the default under Mac OS X GUI)
o start (this is the default under MinGW)
Custom commands may also be specified.
OPTIONS -b <browser>, --browser=<browser>
Use the specified browser. It must be in the list of supported browsers.
-t <browser>, --tool=<browser>
Same as above.
-c <conf.var>, --config=<conf.var>
CONF.VAR is looked up in the Git config files. If it's set, then its value specifies the browser that should be used.
CONFIGURATION VARIABLES
CONF.VAR (from -c option) and web.browser
The web browser can be specified using a configuration variable passed with the -c (or --config) command line option, or the web.browser
configuration variable if the former is not used.
browser.<tool>.path
You can explicitly provide a full path to your preferred browser by setting the configuration variable browser.<tool>.path. For example,
you can configure the absolute path to firefox by setting browser.firefox.path. Otherwise, git web--browse assumes the tool is available in
PATH.
browser.<tool>.cmd
When the browser, specified by options or configuration variables, is not among the supported ones, then the corresponding
browser.<tool>.cmd configuration variable will be looked up. If this variable exists then git web--browse will treat the specified tool as
a custom command and will use a shell eval to run the command with the URLs passed as arguments.
NOTE ABOUT KONQUEROR
When konqueror is specified by a command line option or a configuration variable, we launch kfmclient to try to open the HTML man page on
an already opened konqueror in a new tab if possible.
For consistency, we also try such a trick if browser.konqueror.path is set to something like A_PATH_TO/konqueror. That means we will try to
launch A_PATH_TO/kfmclient instead.
If you really want to use konqueror, then you can use something like the following:
[web]
browser = konq
[browser "konq"]
cmd = A_PATH_TO/konqueror
Note about git-config --global
Note that these configuration variables should probably be set using the --global flag, for example like this:
$ git config --global web.browser firefox
as they are probably more user specific than repository specific. See git-config(1) for more information about this.
GIT
Part of the git(1) suite
Git 1.8.3.1 06/10/2014 GIT-WEB--BROWSE(1)