• 21-01-2023, 01:02:57
    #1
    Merhaba arkadaşlar xenforo ile kurduğum forumun sonunda index.php bir türlü kalkmadı. Arama dostu url aktif ettiğim zaman kalkıyor fakat bu seferde 404 veriyor forum içi. Ne yapmam lazım sizce ? Her yolu denedim bir türlü olmadı. Rota filtre kısmından kalkarmı acaba ? Kalkıyorsa nereden nereye yönlendirme yapmalıyım bu konu hk yardımcı olabilecek biriler var mı ?
  • 21-01-2023, 01:04:19
    #2
    Kurumsal Üye
    Merhaba,

    Size bir pm gönderdim
  • 21-01-2023, 01:06:16
    #3
    Merhaba, .htaccess dosyanız eksik.
  • 21-01-2023, 01:07:29
    #4
    kaantemiz adlı üyeden alıntı: mesajı görüntüle
    Merhaba, .htaccess dosyanız eksik.
    Hayır hocam dosyalar tam şu anda. Hem .htaccess hem de htaccess.txt mevcut. Araştırma yaptım içinde oynamalar da yaptım durum halen aynı..
  • 21-01-2023, 01:10:50
    #5
    SerdR adlı üyeden alıntı: mesajı görüntüle
    Hayır hocam dosyalar tam şu anda. Hem .htaccess hem de htaccess.txt mevcut. Araştırma yaptım içinde oynamalar da yaptım durum halen aynı..
    # 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>
    Bu şekilde mi dosyanız?
  • 21-01-2023, 01:14:22
    #6
    muhtemelen sunucu nginxtir,
    admin panelde ortam raporunda bu şekilde baktığınızda ne yazıyor: https://prnt.sc/FmCg-vRP6HB0
  • 21-01-2023, 01:14:50
    #7
    Üyeliği durduruldu
    https://xenforo.gen.tr/xenforo-kayna...uzeltici.1057/
  • 21-01-2023, 01:26:39
    #8
    kaantemiz adlı üyeden alıntı: mesajı görüntüle
    # 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>
    Bu şekilde mi dosyanız?
    Bu şekilde olması gerek hocam yarın bakacağım buna da

    @Kodespa; Microsoft-IIS/10.0 hocam

    @Garfield; teşekkürler hocam yarın kuracağım
  • 21-01-2023, 01:56:19
    #9
    Merhaba,
    IIS üzerinde .htaccess kuralları çalıştıramazsınız.
    Web.config e dönüştürüp deneyin.