Jump to content


Photo

Me Ajudem


  • Faça o login para participar
3 replies to this topic

#1 stari

stari

    Novato no fórum

  • Usuários
  • 8 posts
  • Sexo:Não informado

Posted 17/10/2003, 09:08

MEUS AMIGOS ME AJUDEM, TEM UM LINHA DE COMANDO QUE ESTÁ ME DEIXANDO CONFUSO

$basedir = "/path/to/wwwboard";

EU NÃO SEI CONFIGURAR ESSA LINHA, SÓ FALTA ELA, OLHA VOU MANDAR UM LINK DO MEU SUPORTE TECNICO FALANDO SOBRE AS INFORMAÇÃO DO MEU PATH DO CGI/PERL

http://www.netfirms....?a=faq&nf_id=81


"""""""SE NÃO ABRIR O LINK AS IFORMAÇÕES DO MEU SUPORTE E ESTE"""""

What are the common settings/paths for my CGI scripts?
This document has been viewed: 16054 times.

Most CGI scripts written in Perl will work on Netfirms servers. For your scripts to work properly, you may need to change some paths or settings within the script to the following:

Perl 5 Location
#!/usr/bin/perl

Sendmail Location
/usr/lib/sendmail

CGI Url
http://domain.netfir...gi-bin/file.cgi

Full or Absolute root path:

We recommend using the DOCUMENT ROOT environment variable to automatically insert the path in your Perl script:

$ENV{'DOCUMENT_ROOT'}

You may have to use "double quotes" around the path.

For example the full path to your www directory would be:
"$ENV{'DOCUMENT_ROOT'}/www"

The full path to your cgi-bin directory would be:
"$ENV{'DOCUMENT_ROOT'}/cgi-bin"

Alternatively, to find your document root use the printenv program: Type domain.netfirms.com/cgi/printenv on any web browser.

It will display the absolute path and other variables needed for CGI scripts.

CGI File Permissions
Make sure all files and directories are set to chmod 755. The cgi-bin directory itself should be chmod 755.

#2 GuVersa

GuVersa

    Novato no fórum

  • Usuários
  • 10 posts
  • Sexo:Não informado
  • Localidade:BH

Posted 17/10/2003, 15:36

Kra, pelo que vi o patch deve ser este: tenta ai,,,

$basedir = "$ENV{'DOCUMENT_ROOT'}/cgi-bin/wwwboard"
Gustavo Versiani

#3 stari

stari

    Novato no fórum

  • Usuários
  • 8 posts
  • Sexo:Não informado

Posted 17/10/2003, 17:38

OLHA AMIGO CONSIGUI PEGAR ESTAS IFORMAÇÃO NO MEU SITE

Web Server Info

Informações do Servidor
Sistema Operaciona: freebsd
Versão do Kernel: 4.5-RELEASE-p19
Tipo de Maquina: i386
Tipo do Processador: i386
Nome do Usuário:
Nome do Host: cgi1.netfirms.com
Endereço: www.dfb.netfirms.com
IP Primário:

Programas disponíveis no Servidor
Caminho para o SendMail:
Caminho para o Tar: /usr/bin/tar
Caminho para o Gzip: /usr/bin/gzip
Caminho para o Whois: /usr/bin/whois

Informações do Perl
Localizaçã do Perl: /usr/local/bin/perl
Versão do Perl: 5.006001

Web server info
Endereço HTTP: www.dfb.netfirms.com
Path da sua conta: /mnt/web_g/d44/s26/b01c5aaa


SERA QUE ISSO RESOLVE O MEU PROBLEMA????
OBRIGADO POR ME AJUDAR ;)

#4 GuVersa

GuVersa

    Novato no fórum

  • Usuários
  • 10 posts
  • Sexo:Não informado
  • Localidade:BH

Posted 17/10/2003, 21:06

Tenta ai entao:

/mnt/web_g/d44/s26/b01c5aaa/cgi-bin/wwwboard
Gustavo Versiani




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq