Skip to content

Trouble with Apache setup #25

@ghost

Description

Uncached pages work fine, but anything which has been cached throws a 404. Here's my config

RewriteCond %{DOCUMENT_ROOT}/versant-homes/statcache%{REQUEST_URI}/~index.html -f
RewriteRule ^(.*)$ versant-homes/statcache/$1~index.html [L,QSA]

RewriteCond %{DOCUMENT_ROOT}/versant-homes/statcache%{REQUEST_URI} -f
RewriteRule ^(.*)$ versant-homes/statcache/$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ versant-homes/index.php?q=$1 [L,QSA,NC]

Any ideas would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions