Changeset 744 for trunk/.htaccess


Ignore:
Timestamp:
Sep 6, 2015, 10:39:58 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: Config file name.
  • Fixed: Proper displaying of empty top bar.
  • Modified: Made .htaccess file working by default without need a change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.htaccess

    r512 r744  
    55
    66RewriteEngine On
    7 RewriteBase /
    8 
    9 # Pretty urls on localhost with alias
    10 RewriteCond %{HTTP_HOST} localhost
    117RewriteCond  %{REQUEST_FILENAME}  !-f
    128RewriteCond  %{REQUEST_FILENAME}  !-d
    13 RewriteRule   ^(.*)$ centrala/index.php?$1
    14 
    15 # Pretty urls
    16 RewriteCond %{HTTP_HOST} centrala.zdechov.net
    17 RewriteCond  %{REQUEST_FILENAME}  !-f
    18 RewriteCond  %{REQUEST_FILENAME}  !-d
    19 RewriteRule   ^(.*)$ index.php?$1
    20 
     9RewriteRule   ^(.*)$ %{CONTEXT_PREFIX}/index.php?$1
    2110
    2211#ErrorDocument 403 "index.php?page=403"
Note: See TracChangeset for help on using the changeset viewer.