Hi Mates,
I am newbie, trying to install Mysql 4.0 on FreeBSD 4.7 platform. I downloaded the standard version went through the instructions for no avail.
scripts/mysql_install_db
chown –R root .
chown –R mysql data
chgrp –R mysql .
bin/mysqld_safe –user=mysql &
But still mysql is not up...
Of course,
The solution is that “Content-type:” line should be printed before printing any image something like this:
print "Content-type: image/gif\n\n";
print `cat digits/0.gif`` ;
in the first line there is declaration of the content-type, while on the second line you print the image.
In...
here is a link directly to the scrip which work
http://www.embassyofisrael.org/cgi-bin/print-date.pl
and here is a link to the html page which it does not work
http://www.embassyofisrael.org/print-date.htm
thanks sorry about it.
Thank you for your answer.
but I still not solved the problem.
I noticed that when I approach the script directly as http://www.server.com/cgi-bin/script.pl it does work
But it does not work if it is embedded in html page as
<img scr=”http://www.server.com/cgi-bin/script.pl”>
I wonder...
Thank you siberian,
But it seems that this is not the case.
The script is located in the CGI directory. other scripts are working well. I start to think that I should add a line to the scripts as follow:
print "Content-type: image/x-xbitmap\n\n";
this might solve the problem.
Thank you...
Hi mate,
I am trying to install a hit counter on the bottom of one of my html pages
Surfing the Internet I found many free perl scripts, but none of them seems to work
All of these perl scripts suggest that in order to run the script I need to use the following line in the html page.
<img...
Hi Mates,
I need help with defining preliminary password to new users. I would like that the user would be forced to change his password on the first time he logon to the system.
Could someone help me with this issue?
Thanks.
Hi Mates,
I need help with defining preliminary password to new users. I would like that the user would be forced to change his password on the first time he logon to the system.
Could someone help me with this issue?
Thanks.
Here is the whole script
the variables $to, $from, filename, @comments I get from the client.
#!/usr/bin/perl -w
use strict;
use CGI qw(:all);
use CGI::Carp qw(fatalsToBrowser);
sub send_mail {
my($to, $from, $subject, $filename, @comments)=@_;
my $sendmail="/usr/sbin/sendmail...
Hi Mates,
Recently I migrated to a new server running FreeBSD 4.9 and apache 2.0.47. Unfortunately one of my cgi scripts does not work. The error log indicates on “malformed header”, while on the browser I get an Internal Server Error message, this suppresses me since the cgi ran correctly on...
Hi guys,
Thanks for answering quickly.
The httpd.conf definitions are as flow:
The first two are the default hosts and the others are the new host.
I have been told that I need to define two VHOST for every virtual host one with www and one without.
I have one IP address, which is being...
Hi,
Recently I have purchased a new Domain name, which I would like to dedicate to directory in my main website. I thought the best idea was to define a virtual host in the apache (I use apache 2).
To my surprise, when I defined one virtual host (the main website with the first domain name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.