Lighttpd - Acesso com senha
-
Boa tarde pessoal.
Preciso colocar senha na pasta dos relatorios do Sarg para acesso somente de pessoas com senha. Como eu faço isso no pfsense. Se eu digito o http://10.10.10.10/sarg/ qualquer pessoa ve os relatórios. Instalei o Sarg usando o pkd_add.
Valeu ??? ??? -
Instale o sarg via gerenciador de pacotes do pfsense, a interface gráfica já tem recurso para proteger os relatórios.
-
Ja fiz isso, mas se fizer assim ele fica em inglês e o cliente quer em Portugues, também não consigo mudar o logo pro da empresa cliente. Sabem se existe jeito pra isso pelo package do Pfsense??
-
Eu fiz o pacote. Que função você configurou na mão que não tem disponível no pacote?
-
language Portuguese
e preciso colocar o logo da empresa, to tentando alterar o sarg.png na pasta images
pode me ajudar?
Valeu -
o logo consegui mudar
só falta a tradução.
é possivel usar em português? -
é possivel usar em português?
O changelog do sarg diz que o idioma do report é escolhido de acordo com o locale da máquina.
Estou fazendo um teste incluindo a opção de linguagem no arquivo de configuração.
-
Aparentemente a versão 2.3 ignora a opção language.
da uma olhada no Readme do sarg
http://sarg.sourceforge.net/sarg.README.txt
Translations
–----------As of March 14th, 2010 (sarg 2.3), the translations have been ported to gettext. This makes it easier
to translate all the messages (the number of translated messages went from 144 to 448). Therefore, the
old language files are obsolete. The old translated message have been converted automatically to
gettext but due to the changes made to the strings in the program after the automatic conversion,
it is likely that the old messages are, at best, meaningless.Translations are handled at http://translationproject.org/domain/sarg.html. If your language is
not yet supported or the current translation is obsolete, please check with the team working
on your language at the Translation Project to be sure nobody is assigned to sarg. If necessary,
contact the coordinator of that team to join the team and be assigned to sarg.If no po file exists for you language, download the latest sarg.pot on this page
http://translationproject.org/domain/sarg.html and rename it as YourLanguageCode.po. See
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes for the list of the
valid languages codes.Translate YourLanguageCode.po (see http://www.gnu.org/software/gettext/manual/gettext.html for more informations).
Submit the translated po file to robot@translationproject.org. You must be a member of the team
working on the language for which you are submitting the po file or the robot will reject
your file. It is not necessary to fill the disclaimer to translate sarg.Vou tentar fazer um teste mudando os locales na mão.
-
Obrigado pela ajuda.
Pelo locale da máquina então é por isso que ele nao aceita e se usar o pkg_add dá certo. -
Obrigado pela ajuda.
Pelo locale da máquina então é por isso que ele nao aceita e se usar o pkg_add dá certo.Qual versão do sarg você está instalando?
-
3.2.5 pelo pkg_add
e a 2.3.2 pkg v.0.6.1 pelo menu packages do Pfsense -
3.2.5 pelo pkg_add
provavelmente 2.3.5 então ;)
vou fazer o teste com a versão compilada e se for o caso, solicito ao core team atualizar a versão do pacote no repositório oficial.
-
isso 2.3.5
obrigado