Jump to content

Sub domínio não funciona


Recommended Posts

Fala pessoal....

Estou tendo um problema com meus sub-domínios. Eles simplesmente não funcionam! Se eu acesso um sob-domínio, é como se eu acessace o domínio principal.

Exemplo: http://demo.likanhost.com.br/

Exemplo: http://demo.likanhost.com.br/lojavirtual/

Não sei o que esté acontecendo, se alguem souber, vai ajudar bastante!

No aguardo...

Link to comment
Share on other sites


RewriteEngine On

RewriteCond %{SCRIPT_FILENAME} !-f

RewriteCond %{SCRIPT_FILENAME} !-d

RewriteRule ^(.*)$ index.php?url=$1



# BEGIN Better WP Security

Options All -Indexes


<files .htaccess>

Order allow,deny

Deny from all

</files>


<files readme.html>

Order allow,deny

Deny from all

</files>


<files install.php>

Order allow,deny

Deny from all

</files>


<files wp-config.php>

Order allow,deny

Deny from all

</files>


<IfModule mod_rewrite.c>

RewriteBase /


RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]

RewriteRule ^(.*)$ - [F,L]

RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]

RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]

RewriteCond %{QUERY_STRING} tag\= [NC,OR]

RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]

RewriteCond %{QUERY_STRING} http\:  [NC,OR]

RewriteCond %{QUERY_STRING} https\:  [NC,OR]

RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]

RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]

RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]

RewriteCond %{QUERY_STRING} ^.*("|'|<|>|\|{||).* [NC,OR]

RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]

RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]

RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]

RewriteCond %{QUERY_STRING} ^.*(request|select|insert|union|declare).* [NC]

RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$

RewriteRule ^(.*)$ - [F,L]

</IfModule>


# END Better WP Security


Esse é o conteudo do meu .htaccess

Link to comment
Share on other sites

Aqui não abriu nenhum destes dois subdominios, mas entre em seu cpanel, exclua os subdominios e crie novamente. Quando você criar o subdominio vai criar a pasta referente a ele, envie um index para dentro desta pasta e faça novamente o teste.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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

Important Information

Do you agree with our terms?