Changeset 868 for trunk


Ignore:
Timestamp:
Feb 6, 2016, 11:52:41 AM (9 years ago)
Author:
chronos
Message:
  • Modified: URL independent pretty URL module rewrite setting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.htaccess.sample

    r848 r868  
    1 <Files ReadMe.txt>
    2   order allow,deny
    3   deny from all
    4 </Files>
    5 
    61RewriteEngine On
    72RewriteBase /
    83
    9 # Pretty urls on localhost with alias
    10 RewriteCond %{HTTP_HOST} localhost
     4# Pretty urls
     5RewriteEngine On
    116RewriteCond  %{REQUEST_FILENAME}  !-f
    127RewriteCond  %{REQUEST_FILENAME}  !-d
    13 RewriteRule   ^(.*)$ wowpreklad/index.php?$1
    14 
    15 # Pretty urls
    16 RewriteCond %{HTTP_HOST} wowpreklad.zdechov.net
    17 RewriteCond  %{REQUEST_FILENAME}  !-f
    18 RewriteCond  %{REQUEST_FILENAME}  !-d
    19 RewriteRule   ^(.*)$ index.php?$1
     8RewriteRule   ^(.*)$ %{CONTEXT_PREFIX}/index.php?$1
    209
    2110
Note: See TracChangeset for help on using the changeset viewer.