Jump to content

Recommended Posts

Posted

Boa tarde amigos fiz atualização para OLS no directadmin, mas não sei se é impressão minha parece que este não le o htaccess , acessei o painel do OLSP e vi que as configuraçãoes estão somente em modo leitura e não em escrita também, ao procurar documentação vi que existem arquivos do DA que precisam ser sobrescritos para usar tal função!

Pergunto existe alguma configuração que leia corretamente isto via cron .


Posted

Bom dia adicionei a seguinte linha :

echo '*/3 * * * * root if ! find /home/*/domains/*/*_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name ".htaccess" -exec false {} +; then /usr/local/lsws/bin/lswsctrl restart; fi' > /etc/cron.d/openlitespeed_htaccess_scan

depois no arquivo htacess para exibir corretamente comente linhas onde o broti e gzip estavam fazendo a chamada ao sistema.

Agora melhorou mais pois o directadmin junto com o OLS tem a opção de escrita e leitura pois aqui compilamos tudo junto com os arquivos originais do DA.

Obs. remover as funções "include" do arquivo httpd_config.conf

mais neste link:

https://openlitespeed.org/kb/directadmin-configuration-files/

  • Administration
Posted
Em 29/07/2024 em 18:28, cabn12 disse:

Resolvido !!!

😂

'Cause he's my best friend, he's my pal. He's my homeboy, my rotten soldier. He's my sweet cheese. My good-time boy.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?

-