• 比如我的二级目录有个独立的相册程序,从首页点不进去了,是不是在写httpd.ini的时候要把这些手动添加的二级链接目录禁止缓存写进去,求写法,谢谢大家了
    下面是我现在的。

    [ISAPI_Rewrite]
    
    # 3600 = 1 hour
    CacheClockRate 3600
    RepeatLimit 32
    # Protect httpd.ini and httpd.parse.errors files
    # from accessing through HTTP
    # Rules to ensure that normal content gets through
    
    RewriteRule /sitemap.xml /sitemap.xml [L]
    RewriteRule /favicon.ico /favicon.ico [L]
    # For file-based wordpress content (i.e. theme), admin, etc.
    RewriteRule /wp-(.*) /wp-$1 [L]
    # For normal wordpress content, via index.php
    RewriteRule ^/$ /index.php [L]
    RewriteRule /(.*) /index.php/$1 [L]

  • 话题 ‘使用httpd.ini伪静态后二级目录不能访问’不再接受新回复。