mod_rewrite VS relative paths

前端 未结 5 2125
耶瑟儿~
耶瑟儿~ 2021-02-06 14:03

My mod_rewrite code is:

Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
Rewrite         


        
5条回答
  •  悲哀的现实
    2021-02-06 14:08

    Adding the line:

    
    

    to my page inside the tag works great for me. It can be coded even a PHP function to automatize this so you don't have to bother with copy/paste on other occasions.

    Update:

    
    
    
    ...
    
    ...
    
    

提交回复
热议问题