Open mnshankar opened 10 years ago
Oh thank you @mnshankar
And this is your config, but for case when phpsqlitecms placed in the root
location ~ /[^.]+$ { rewrite ^/(.)$ /index.php?qs=$1; location ~/cms/[^.]$ { rewrite ^/cms/(.*)$ /cms/index.php?qs=$1; } }
Hi, Thanks for your work on this! I love the simplicity and features offered by this CMS and I use it on my personal VPS. I was able to get it working with Nginx webserver using the following nested location directives in my config script:
So, in my setup, /blog (containing phpsqlitecms) is nested under my root webspace (/)
Also, another tip: It is quite easy (and fun) to swap out themes from bootswatch (http://www.bootstrapcdn.com/#bootswatch_tab) by editing the /cms/templates/default.tpl file and replacing the default bootstrap cdn url :-)