Question Giúp về cái link

Thảo luận trong 'Troubleshoot & Other Questions' bắt đầu bởi Long Phạm, 7/11/12.

1votes
5/5, 1 vote

  1. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
    Đang tải...
  2. Logi

    Logi Well-Known Member

    Bài viết:
    1,087
    Likes :
    456
    ACP>>Option>>Basic Board Information >> tick vào Use Full Friendly URLs
     
  3. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
    Ko được. Demo: http://long.freeserver.me
     
  4. nhoveai

    nhoveai Member

    Bài viết:
    674
    Likes :
    142
  5. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
    Đây là nội dung file .htaccess
    # Mod_security can interfere with uploading of content such as attachments. If you# cannot attach files, remove the "#" from the lines below.#<IfModule mod_security.c># SecFilterEngine Off# SecFilterScanPOST Off#</IfModule> ErrorDocument 401 defaultErrorDocument 403 defaultErrorDocument 404 defaultErrorDocument 500 default <IfModule mod_rewrite.c> RewriteEngine On # If you are having problems with the rewrite rules, remove the "#" from the # line that begins "RewriteBase" below. You will also have to change the path # of the rewrite to reflect the path to your XenForo installation. #RewriteBase /xenforo # This line may be needed to enable WebDAV editing with PHP as a CGI. #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^(data/|js/|styles/|install/|favicon.ico|crossdomain.xml|robots.txt) - [NC,L] RewriteRule ^.*$ /index.php [NC,L]# thay cái domain này nhéRedirect 303 /forum http://long.freeserver.com
     
  6. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
    Done, đã thành công.
    Đây là nội dung file .htaccess của mình. Bạn nào gặp lỗi tương tự thì thêm vào nhé, mình bỏ mấy dấu # cần thiết tùi đó. :D
    PHP:
    #    Mod_security can interfere with uploading of content such as attachments. If you
    #    cannot attach files, remove the "#" from the lines below.
    <IfModule mod_security.c>
      
    SecFilterEngine Off
      SecFilterScanPOST Off
    </IfModule>
     
    ErrorDocument 401 default
    ErrorDocument 403 default
    ErrorDocument 404 default
    ErrorDocument 500 default
     
    <
    IfModule mod_rewrite.c>
        
    RewriteEngine On
     
        
    #    If you are having problems with the rewrite rules, remove the "#" from the
        #    line that begins "RewriteBase" below. You will also have to change the path
        #    of the rewrite to reflect the path to your XenForo installation.
        
    RewriteBase /xenforo
     
        
    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
        
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
     
        
    RewriteCond %{REQUEST_FILENAME} -[OR]
        
    RewriteCond %{REQUEST_FILENAME} -[OR]
        
    RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule 
    ^.*$ - [NC,L]
        
    RewriteRule ^(data/|js/|styles/|install/|favicon.ico|crossdomain.xml|robots.txt) - [NC,L]
        
    RewriteRule ^.*$ /index.php [NC,L]
    # thay cái domain này nhé
    Redirect 303 /forum http://long.freeserver.com
     
  7. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
  8. Long Phạm

    Long Phạm New Member

    Bài viết:
    25
    Likes :
    5
  9. xubisp

    xubisp New Member

    Bài viết:
    15
    Likes :
    1
    ACP>>Option>>Basic Board Information >> tick vào Use Full Friendly URLs

    Long phạm đã trả lời rồi mà
     
  10. Hamelio Musica

    Hamelio Musica New Member

    Bài viết:
    2
    Likes :
    0
    mình chưa làm đc cho yh để chỉ mình nhé
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...