Caddy: Hosting Shopware

Created on 13 May 2016  路  3Comments  路  Source: caddyserver/caddy

Hey,

I'm trying to host a shopware site with caddy.
Now here comes the problem: shopware is using a very extensive .htaccess file to run.
Now my knowledge in .htaccess files is limited so im not able to translate everything, especially not the rewrite rules, into caddyfile directives so I hoped you could help me out.
See the .htaccess file as attachment.

htaccess.txt

help wanted invalid

Most helpful comment

For documentation purposes:

example.org {
    fastcgi / 127.0.0.1:9002 php
    rewrite / {
        to /maintenance.html {path} {path}/ /shopware.php
    }
}

This does the trick with our shopware installation

All 3 comments

Hello @PhilmacFLy,

this is not an issue! -- Please go to https://gitter.im/caddyserver/support for support

Mea culpa. I didnt know that this exists. Thank you very much.

For documentation purposes:

example.org {
    fastcgi / 127.0.0.1:9002 php
    rewrite / {
        to /maintenance.html {path} {path}/ /shopware.php
    }
}

This does the trick with our shopware installation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

la0wei picture la0wei  路  3Comments

klaasel picture klaasel  路  3Comments

whs picture whs  路  3Comments

billop picture billop  路  3Comments

wayneashleyberry picture wayneashleyberry  路  3Comments