+ Responder ao Tópico



  1. #1
    tarcio
    Visitante

    Padrão [ barra no final do endereço - como retirar esta opção ]

    Olá Galera,
    Tenho a seguinte situação:

    O APACHE está funcionando perfeitamente porém isso está ocorrendo:

    FUNCIONA - exibe a pagina index.html e index.php normalmente
    http://www.endereco.no-ip.org/~aluno/ (COM BARRA NO FINAL)

    ERRO - não exibe a página index.html e index.php
    http://www.endereco.no-ip.org/~aluno (SEM BARRA NO FINAL)


    Minha configuração do APACHE está assim:

    <Directory /home/alunos/*/site>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    DirectoryIndex index.html index.php
    <Limit GET POST OPTIONS PROPFIND>
    Order allow,deny
    Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
    Order deny,allow
    Deny from all
    </LimitExcept>
    </Directory>

    VALEU GALERA.

  2. #2

    Padrão [ barra no final do endereço - como retirar esta opção ]

    lucifer# cat /usr/local/etc/apache2/httpd.conf |grep Canonical
    # redirections will not work. See also the UseCanonicalName directive.
    # UseCanonicalName: Determines how Apache constructs self-referencing
    UseCanonicalName Off
    lucifer#



    se nao me falha a memoria isso resolve.....

    UseCanonicalName Off

    verifica se o teu nao ta On, se tiver esse deve ser o seu problema

  3. #3
    tarcio
    Visitante

    Padrão MTO obrigado

    VALEU MESMO funcionou perfeitamente