Lỗi 404 khi bật Use Full Friendly URLs

Thảo luận trong 'Installation & Upgrade Questions' bắt đầu bởi star.nyu, 10/9/13.

1votes
5/5, 1 vote

  1. star.nyu

    star.nyu New Member

    Bài viết:
    83
    Likes :
    24
    Đang tải...
  2. playvn

    playvn Member

    Bài viết:
    140
    Likes :
    40
    Không dính gì tới @forum bạn thử xem lại flie .has của bạn có thiếu gì k :3
    mà mình vào forum bạn có làm sao đâu
     
    star.nyu thích bài này.
  3. minhlaobao

    minhlaobao Member

    Bài viết:
    83
    Likes :
    33
    star.nyu thích bài này.
  4. star.nyu

    star.nyu New Member

    Bài viết:
    83
    Likes :
    24
    Kiểm tra thế nào bạn.
     
  5. dragondark9999

    dragondark9999 Member

    Bài viết:
    223
    Likes :
    38
    star.nyu thích bài này.
  6. Luan2395tn

    Luan2395tn New Member

    Bài viết:
    11
    Likes :
    2
    Xoá hết nội dung trong .htaccess đi
    song coppy hết nội dung trong htaccess.txt page vào .htaccess
     
    star.nyu thích bài này.
  7. star.nyu

    star.nyu New Member

    Bài viết:
    83
    Likes :
    24
    Vẫn không dudwojc các bác ơi... Dự là có gì đó sai sót rồi. Vì em đã suawr .htacess rồi mà vẫn ko đc
     
  8. minhlaobao

    minhlaobao Member

    Bài viết:
    83
    Likes :
    33
    Link bác đưa mình vào bt nhé
     
    star.nyu thích bài này.
  9. star.nyu

    star.nyu New Member

    Bài viết:
    83
    Likes :
    24
    Đã khắc phục bằng cách thêm
    RewriteRule ^.*$ @forum/index.php [NC,L] Và .htacess
    :v hú hú. Cảm ơn các bác đã quan tama
    Em muốn bỏ thằng index.php ayas mà :v
     
  10. Lightness

    Lightness Imma Superman

    Bài viết:
    1,021
    Likes :
    772
    Bạn quăng nội dung file .htaccess lên đây nhé
     
    star.nyu thích bài này.
  11. dragondark9999

    dragondark9999 Member

    Bài viết:
    223
    Likes :
    38
    thế đã làm dc chưa?
     
  12. dangquang

    dangquang Member

    Bài viết:
    271
    Likes :
    165
    HTML:
    #    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} -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]
    </IfModule>
    bật url frien lên là lỗi 404 . cài xen 1.2 ai biết k
     
    ChungKk thích bài này.
  13. dragondark9999

    dragondark9999 Member

    Bài viết:
    223
    Likes :
    38
    sửa đoạn này
    Mã:
    #RewriteBase /xenforo
    thành
    Mã:
    #RewriteBase /
     
    nobita8x thích bài này.
  14. dangquang

    dangquang Member

    Bài viết:
    271
    Likes :
    165
    HTML:
    #    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 /
    
        #    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]
    </IfModule>
    Not Found
    The requested URL /forums/main-forum.2/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.0-fips DAV/2 mod_bwlimited/1.4 Server at gameprivate.net Port 80

    vẫn bị @@
     
    ChungKk thích bài này.
  15. hjhj

    hjhj New Member

    Bài viết:
    41
    Likes :
    18
    nếu bật url friend hình như bỏ dấu # trước RewriteBase /xenforo (sửa thành thư mục chứa web của bạn)
     
  16. dangquang

    dangquang Member

    Bài viết:
    271
    Likes :
    165
    cũng như vậy ? ai giúp được k ? @@
     
    ChungKk thích bài này.
  17. hjhj

    hjhj New Member

    Bài viết:
    41
    Likes :
    18
    bạn coi cái chữ Xenforo sau RewriteBase / có đúng với thu mục chứa web bạn ko
     
  18. dangquang

    dangquang Member

    Bài viết:
    271
    Likes :
    165
    minh inbox roi giup minh voi
     
    ChungKk thích bài này.
  19. dangquang

    dangquang Member

    Bài viết:
    271
    Likes :
    165
    da duoc
     
    ChungKk thích bài này.
  20. hacobi1102

    hacobi1102 Member

    Bài viết:
    145
    Likes :
    76
    Sửa làm gì nó # rồi mà :D
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...