Support of other than Apache web server

13 views
Skip to first unread message

mitkola

unread,
Oct 25, 2011, 3:53:51 AM10/25/11
to Konstrukt
Hi,

I have read somewhere that Konstrukt supports only Apache web server.
Is it true?
Can I use Konstrukt with nginx web server and PHP as CGI?

Thank you in advance!

Regards,

Dimitar Angelov

Marius Rugan

unread,
Oct 25, 2011, 4:06:37 AM10/25/11
to kons...@googlegroups.com
Hi Dimitar,

the only constrains are .htaccess mod_rewrite rules


RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.*$ - [L]

RewriteRule ^.*$ index.php [L]

which is not complicated at all to put it in vhost config


--
You received this message because you are subscribed to the Google Groups "Konstrukt" group.
To post to this group, send email to kons...@googlegroups.com.
To unsubscribe from this group, send email to konstrukt+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/konstrukt?hl=en.


mitkola

unread,
Oct 26, 2011, 8:02:50 AM10/26/11
to Konstrukt
Thanks Marius,

I think that simple nginx config like this will enough
location / {
try_files $uri $uri/ /index.php$is_args$args;
}

Regards,

Dimitar Angelov
Reply all
Reply to author
Forward
0 new messages