GetSimple Support Forum
[SOLVED] Requirements? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: [SOLVED] Requirements? (/showthread.php?tid=1139)



[SOLVED] Requirements? - littlebigman - 2010-11-19

Hello

The Download page says that GS requires PHP 5.2+ and Apache. I'd like to check...
1. if GS really requires Apache, or if any PHP-capable web server will work (Lighttp, Nginx, etc.)
2. if any extra PHP modules are needed, or it'll work with a basic 5.2+ setup

Thank you.


[SOLVED] Requirements? - yojoe - 2010-11-19

1. You can use other webservers but GS relies on apache's mod rewrite module. So if you want to take advantage of friendly urls, and directory protection you will have to rewrite module for lighttp, or don't use it at all.

2. you need simplexml, and curl module for php as stay in requirements


[SOLVED] Requirements? - littlebigman - 2010-11-19

Thank you. I'll check if the other web servers support URL rewriting + directory protection.


[SOLVED] Requirements? - yojoe - 2010-11-19

As I've said, lighthttpd offers modrewriting, but it has different syntax than apache's mod rewrite, thus you will have to rewrite the rules by your own.

Basically you have to rewrite the index.php?id=first-page-name to a www.website.tld/first-page-name type (assuming you will turn off furls in GS admin panel), and edit all .htaccess files placed in GS directories, to prevent from direct access.

you can start here: http://redmine.lighttpd.net/wiki/1/Docs:ModRewrite
I'm not sure, as I've never used it, but lighthttpd's rewriting seems to be even easier than apache's. If you choose lighttpd, don't forget to share your solutions Wink


[SOLVED] Requirements? - littlebigman - 2010-11-22

Thank you.


[SOLVED] Requirements? - marrco - 2010-12-11

works great with nginx
when you set "Use Fancy URLs - Requires that your host has mod_rewrite enabled." you must modify /etc/nginx/sites-enabled/www.yoursite.com.conf

server {
server_name www.yoursite.com;
root /var/www/www.yoursite.com;
include /etc/nginx/fastcgi_php;
location / {
index index.php;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$id=$1 last;
}
}
}