Visualizzazione dei risultati da 1 a 2 su 2

Discussione: spiegazione .htaccess

  1. #1

    spiegazione .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On

    # Installation directory
    RewriteBase /gis

    # Protect application and system files from being viewed
    RewriteRule ^(application|modules|system|tests) - [F,L]

    # Prevent schedulers from being accessed remotely
    RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
    RewriteRule ^.*/scheduler/.*$ - [F,L]

    # Allow any files or directories that exist to be displayed directly
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Rewrite all other URLs to index.php/URL
    RewriteRule .* index.php/$0 [PT,L]
    </IfModule>


    Salve a tutti qualcuno mi potrebbe spiegare cortesemente a grandi linee questo .htaccess???

  2. #2
    Utente di HTML.it
    Registrato dal
    Jan 2012
    Messaggi
    60
    Quella direttiva viene utilizzata per chiamare la funzione mod_rewrite di Apache:

    http://httpd.apache.org/docs/current...d_rewrite.html

    -

    http://www.sitepoint.com/guide-url-rewriting/

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 © 2026 vBulletin Solutions, Inc. All rights reserved.