Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Aruba htaccess error 500

    Sto da poco usando FUEL CMS. Ho caricato tutti i file sul server Aruba linux in una sottodirectory, ma quando provo ad accedetvi mi da l'errore 500. Tutto credo che nasca dal file .htaccess.

    Codice PHP:
        Options +FollowSymLinks 
    <IfModule mod_rewrite.c
        
    RewriteEngine On 
        RewriteBase 
    /subdir
        <
    Files .*> 
            
    Order Deny,Allow 
            Deny From All 
        
    </Files
        
    # Allow asset folders through 
        
    RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L
        
    # Protect application and system files from being viewed 
        
    RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L
        
    RewriteCond %{REQUEST_FILENAME} !-
        RewriteCond 
    %{REQUEST_FILENAME} !-
        RewriteRule 
    .* index.php/$[L
        
    # Prevents access to dot files (.git, .htaccess) - security. 
        
    RewriteCond %{SCRIPT_FILENAME} -
        RewriteCond 
    %{SCRIPT_FILENAME} -
        RewriteRule 
    "(^|/)\." - [F
    </
    IfModule
    Options -Indexes 


    Se alla riga RewriteBase non inserisco i nome della sottodirectory mi restituisce la index principale del dominio.

    Aiuto per favore
    Aiuto

  2. #2
    Utente di HTML.it
    Registrato dal
    Jan 2016
    Messaggi
    337
    dal sito ufficiale

    Do I need .htaccess enabled?
    No. However, we use .htaccess to prevent access to certain folders and enable mod_rewrite. You can move the fuel folder above the web root.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.