Installazione su nginx

43 views
Skip to first unread message

AndDM

unread,
Oct 28, 2011, 8:15:37 AM10/28/11
to ShineISP
Salve, stavo facendo qualche prova di installazione su nginx (su
apache nessun problema) e riscontro questo output sulla index
(probabilmente causa rewrite):

doctype() ?> headTitle() ?> headMeta() ?> headLink() ?> headStyle() ?>
headScript() ?> blocks()->showblock('htmlhead');?> blocks()-
>showblock('startbody');?>
Hosting Company

webmenu();?>
searchbox();?> languageswitcher();?>
shopmenu();?>
blocks()->showblock('beforecontent');?>
cart();?>
Messages($this->mex)?> blocks()->showblock('contentstart');?> layout()-
>content ?> blocks()->showblock('contentend');?>
blocks()->showblock('beforefooter');?>
footer();?> blocks()->showblock('footer');?>
blocks()->showblock('endfooter');?>
Attendere prego. Elaborazione dei dati in corso...
blocks()->showblock('endbody');?>

Avete avuto modo di testare ShineISP su nginx? avete qualche
consiglio?

Vi ringrazio per il vostro lavoro su questo progetto.
Cordiali Saluti.

shinesoftware

unread,
Oct 28, 2011, 9:26:44 AM10/28/11
to ShineISP
Salve,

con molta probabilità il modulo PHP non è stato avviato ed il parser
non riconosce il tag "<?php ?>". Provate a fare dei tests controllando
che il webserver interpreti il PHP.

a presto

AndDM

unread,
Oct 28, 2011, 12:47:27 PM10/28/11
to ShineISP
Salve, errore mio, non avevo abilitato short_open_tag nel php.ini.

Grazie.
Cordiali Saluti.

Terence Milbourn

unread,
May 16, 2014, 6:35:56 AM5/16/14
to shin...@googlegroups.com
Hi,

I just downloaded ShineISP and I can see in the archive that its still being distributed with an .htaccess file.

So I was wondering if the project, in the foreseeable future, is sticking with Apache or maybe moving to Nginx or OpenLightSpeed?

I ask, of course, because I use Nginx on all my sites and it doesn't support .htaccess files. 

My take on it is that .htaccess files are a resource/performance hog and this is not good for your website/server speed. 

Every time Apache handles a request it first checks and processes any .htaccess file in the same directory as the file it is serving. Not everyone knows this but Apache also goes through all the parent directories, and in every single one of them it checks for .htaccess files.

Another issue with dynamic .htaccess files is the fact it is really insecure as it is providing a way to alter server and website settings from a single file that is located inside the home directory of each website. This won't happen if you have your rules inside your Nginx configuration, as only root permission is granted to access them.

And .htaccess files provide a convenient shortcut for the lazy admin (or developer ;-) ), but also kills performance, makes configuration issues more difficult to track down, and opens yet another attack vector on your site.

OK, I've stated my case.  Now I will shut up and wait for everyone to attack me ;-)

Terence.

shine software

unread,
May 16, 2014, 3:14:48 PM5/16/14
to shin...@googlegroups.com
Hi Terence,

we have wrote this application in order to solve one a simple need: handle the customers, and their documents. As you know, when you start to create a software you need a good "brightly lit street" and when we have started we were lighted only by our needs.

We use a Zend Framework in order to develop features into our ShineISP project and the version published in the Github service is a good start to show the potentials of the software. ShineISP is a free opensource BSD project and it aims is calls developers to join to a big new project.

In these two years we have stressed ShineISP with thousand of orders, customers, ticket issues, invoices, etc... and we are really surprised about our work. if you are not a developer, we do not suggest to use in production our ShineISP 1.0 because it needs the "owner's hand".

So ShineISP is already compatible with Nginx but you need some fix to your configuration: http://wiki.nginx.org/Zend_Framework#Time_for_nginx

Regards

Terence Milbourn

unread,
May 16, 2014, 7:19:03 PM5/16/14
to shin...@googlegroups.com
Hi,

Thank you so much for pointing me in the direction of that Nginx config file for Zend Server.

That will be very useful.

I have been using Nginx recently in front of Apache and PHP 5.5 OpCache, which seems to be working pretty well for me.

I appreciate the help and I'm looking forward to getting some time over the weekend to take a look at ShineISP.

Many thanks,

Terence.
Reply all
Reply to author
Forward
0 new messages