Free Checking for Bloggers - Sign up in 5 Minutes! Verificar livre para Blogueiros - Inscreva-se em 5 Minutos!
Powered by MaxBlogPress Powered by MaxBlogPress

Como a correção. Htaccess arquivo para mod_rewrite e addhandler sobre GoDaddy subdomínio | JTPRATT's Blogar Mistakes
JTPratt's blogar erros





Home Início » How to fix .htaccess file for mod_rewrite and addhandler on godaddy subdomain »Como a correção. Htaccess arquivo para mod_rewrite e addhandler sobre GoDaddy subdomínio



Posted in: Publicado em:

blog-setup categoria imagemdrupal categoria imagemweb-hosting categoria imagemwordpress categoria imagem
5,500 views 5500 visualizações


Please note: This page was originally written in English. Atenção: Esta página foi originalmente escrito em Inglês.

The original post can be viewed O post original pode ser visualizada here aqui .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


I’m writing this article specifically for people hosted on godaddy that have had the following .htaccess, mod_rewrite or addhandler problems on shared or premium hosting accounts for various open source applications, such as (but not limited to) Wordpress, Drupal, BBPress, Moodle, Geeklog, PHPNuke, Postnuke, and more! Estou escrevendo este artigo especialmente para as pessoas hospedadas em GoDaddy que tiveram o seguinte. Htaccess, mod_rewrite ou addhandler problemas em contas de hospedagem compartilhada ou prêmio de fonte aberta para diversas aplicações, tais como (mas não se limitando a) Wordpress, Drupal, BBPress, Moodle, Geeklog, PHPNuke, postnuke, e muito mais!

Short list of potential issues: Curta lista de possíveis problemas:

  • problems with permalinks in Wordpress Problemas com permalinks no Wordpress
  • problems with clean URL’s in Drupal Problemas com URL's limpas em Drupal
  • problems with pretty url’s in BBPress Problemas com a bonita url's em BBPress
  • problems with Wordpress MU problemas com Wordpress MU
  • ANY mod_rewrite problems in a sub-directory, subdomain, sub-folder, mapped domain, ie, a domain you setup in goDaddy’s Domain Management -> Assign Domain to Hosting Site feature QUALQUER mod_rewrite problemas em um sub-diretório, subdomínio, sub-pasta, mapeados domínio, ou seja, um domínio em que você setup GoDaddy's Gerenciamento de domínio -> Hospedar Atribua Domínio de funcionalidade do site

I have struggled with two issues time and time again on a goDaddy shared or premium account. Tenho lutado com duas questões repetidas vezes em uma conta premium ou GoDaddy compartilhada. If I go into “Domain management -> Assign Domain” and “map” a domain to a folder of the root URL, I have problems with any site that needs to use an .htaccess file for “rewrite” the URL’s using a feature called “mod_rewrite” - especially Wordpress and Drupal. Se eu vá em "gestão de domínio -> Atribuir Domain" e "mapa" um domínio para uma pasta raiz do URL, não tenho problemas com qualquer site que precisa utilizar um. Htaccess arquivo para "reescrever" a URL's usando um recurso chamado "mod_rewrite" - especialmente Wordpress e Drupal.

I came across a fix today that made all those problems go away forever. Deparei com uma correção feita hoje que todos os problemas vão embora indefinidamente. To be able to do what I’m about to tell you, you must also be hosting your domain name with goDaddy . Para poder fazer o que estou prestes a dizer-lhe, também tem de estar hospedando o seu nome de domínio com GoDaddy.

In your godaddy control panel, go to “Settings -> Domain Management”. GoDaddy em seu painel de controle, vá em "Configurações -> Gerenciamento de domínio".

Click on “ Add New Record Clique em "Add New Record"
adicionar novo recorde na GoDaddy dns dns painel de controle

In the very first line note the IP address of your “@” host, as you’ll by typing this into the box that comes up when you click to add a new record. Na primeira linha da própria nota do endereço IP do seu "@" host, como você, escrevendo este na caixa que aparece quando você clica para adicionar um novo registro. In the first field type an asterik (*). No primeiro campo digite um asterik (*). In the second field type the IP address of your “@” host. No segundo campo digite o endereço IP do seu "@" host. Leave the drop down at one hour. Deixe o drop-down em uma hora. Click “ok” to save. Clique em "ok" para salvar.
adicionando um anfitrião recorde

That’s it - you’re done! That's it - pronto! There should be no fiddling with your .htaccess files at all. Não deveria haver tocar violino com o seu. Htaccess, a todos os arquivos.

Once I applied that simple fix - everything worked again. Eu apliquei uma vez que a correção simples - tudo funcionou novamente.

I’ve also had problems when I’ve attempted to get .html or .htm files to parse PHP code as if they were .php files on goDaddy, or with applications that had to use PHP5. Eu também tive problemas quando eu tentava entrar. Ou html. Htm para analisar código PHP como se eles estivessem. GoDaddy arquivos em php, ou com aplicações que tinham de utilizar o PHP5. That fix is also really, really easy. Essa correção também está muito, muito fácil. All you have to do is create an .htaccess file with the following 2 lines: Tudo que você tem a fazer é criar um. Htaccess arquivo com as seguintes 2 linhas:

AddHandler x-httpd-php5 .php AddHandler x-httpd-PHP5. Php
AddHandler x-httpd-php .php .htm html AddHandler x-httpd-php. Php. Htm html


12 Responses to “How to fix .htaccess file for mod_rewrite and addhandler on godaddy subdomain” 12 Responses to "Como a correção. Htaccess arquivo para mod_rewrite e addhandler sobre GoDaddy subdomínio"

  1. cscelza cscelza Has the following to say... Tem o seguinte a dizer ...

    Thanks for figuring this out. Obrigado por perceber isto.

    One suggestion, I believe you meant “Settings -> DNS Manager†instead of “Settings -> Domain Management†… Uma sugestão, penso que você significou à ¢ â, ¬ Å "Configurações -> DNS Managerà ¢ â, ¬  vez de à ¢ â, ¬ Å" Configurações -> Domínio Managementà ¢ â, ¬  ...

    Otherwise, excellent information. Caso contrário, excelentes informações.

    Please edit (or delete) this comment after you edit you instructions. Edite (ou eliminar) este comentário depois de editar você instruções.

    Thanks again. Obrigado novamente.

  2. Apache, mod_rewrite and SEO | Edmonds Commerce Blog Apache, mod_rewrite e SEO | Edmonds Commerce Blog Has the following to say... Tem o seguinte a dizer ...

    [...] Blogs [...] Blogs http://www.crazyleafdesign.com/blog/check-if-mod_rewrite-is-activated-on-your-server/ http://www.jtpratt.com/2008/01/22/how-to-fix-htaccess-file-for-mod_rewrite-and-addhandler-on-godaddy.. http://www.jtpratt.com/2008/01/22/how-to-fix-htaccess-file-for-mod_rewrite-and-addhandler-on-godaddy .. . http://pensae.com/2008/01/14/when-mod_rewrite-doesnt-work/ [...]

  3. Pink Munoz Pink Munoz Has the following to say... Tem o seguinte a dizer ...

    I was wondering, what about build a niche store type sites? Eu estava pensando, o que dizer de construir um nicho armazenar tipo sites? Is there any way to put them on a subdomain without problems? Existe alguma maneira de colocá-los em um subdomínio sem problemas?

    Pink Munoz’s last blog post.. Pink Munoz da última postagem no blog .. Depression Glass Patterns Depressão padrões de vidro

  4. erica Munoz Erica Munoz Has the following to say... Tem o seguinte a dizer ...

    is there a way to get bans sites to work like this? se houver uma maneira de fazer com que proíbe sites para trabalhar assim?

    erica Munoz’s last blog post.. Erica Munoz da última postagem no blog .. Depression Glass Patterns Depressão padrões de vidro

  5. admin admin Has the following to say... Tem o seguinte a dizer ...

    When I did this I was able to get my BANS site to work… Quando eu fiz isso eu era capaz de pegar minha BAN site para trabalhar ...

  6. Bjorn Has the following to say... Bjorn Terá o seguinte a dizer ...

    WOW! Thanks! Obrigado! This worked for me with Wordpress! Isto funcionou para mim com Wordpress!

  7. explorish Has the following to say... explorish Terá o seguinte a dizer ...

    hi, oi,
    i tried this too, but it said the subdomain is not valid! Tentei isso, também, mas ele disse que o subdomínio não é válido! :( : (
    any clue? alguma dica?

  8. Joe Chellman Joe Chellman Has the following to say... Tem o seguinte a dizer ...

    This was helpful to me. Isto foi útil para mim. Very strange that setting up a wildcard could fix the mod_rewrite issue, but i’ll take it! Muito estranho que a criação de um curinga poderia fixar o mod_rewrite problema, mas vou tomá-lo!

  9. ken ken Has the following to say... Tem o seguinte a dizer ...

    thanks. obrigado.

    this was so helpful, i’m putting a link back to you on my site. isso era tão útil, eu estou colocando um link de volta para você em meu site.

    ken

  10. admin admin Has the following to say... Tem o seguinte a dizer ...

    @Ken - thanks! @ Ken - muito obrigado! That’s why I posted it, it was the instructions that “I” was missing when I had the same problem! É por isso que ela postou, as instruções que lhe foi "I" estava em falta quando eu tive o mesmo problema! =)]

  11. Jian Zhan Zhan Jian Has the following to say... Tem o seguinte a dizer ...

    many thanks muito obrigado

    It works perfect. Ele funciona perfeito.

    It is very helpful for many people É muito útil para muitas pessoas

  12. Trader Vic Trader Vic Has the following to say... Tem o seguinte a dizer ...

    Thanks, this worked like a charm! Obrigado, isso funcionou como um encanto! Saved me a ton of time messing with .htaccess to no result, much appreciated. Salvou-me uma tonelada de brincar com o tempo. Htaccess para nenhum resultado, muito apreciada.

Question or Comment?? Pergunta ou comentário?? Spill it Now... Agora ele derrame ...

Pulando de alegria ao longo comentários!

We Reward Comments! Nós recompensa comentários!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Nós dofollow links, e pegar sua última postagem no blog como uma assinatura em cada nova observação do "CommentLuv" plugin! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! Commenters início de cada mês, são listadas em cada página deste site em um regressar às ligados sidebar widget seu URL! We would like to reward you for becoming part of our community! Gostaríamos de recompensar-te por fazer parte da nossa comunidade! Your comment is valuable not only to us, but also all the other readers of this blog! Seu comentário é válido não só para nós, mas também todos os outros leitores deste blog!


Click to add smilies to your post! Clique para adicionar ao seu post smilies! == []^ = (= ((= (|=) r= | 8= 0=) ~= 00= (=;;=)]=;;;