The newest problem is: php-fpm is mixing configs of different vhosts. let me explain, I have a vhost section like: server { listen 80; server_name sub1.something.com; ..... fastcgi_param PHP_ADMIN_VALUE "open_basedir=somedir11"; } and another section similar but different server_name: server {ne listen 80; server_name sub2.something.com; ..... fastcgi_param PHP_ADMIN_VALUE "opeby bvidinli - Php-fpm Mailing List - English
php can still read files when system("ls -l /") is executed inside php. the only affect of doc_root or open_basedir: php cannot include files outside doc_root, (and possible cannot open files with fopen) however, system(".....") command works directly, without doc_root in effect.by bvidinli - How to...
I have this config: Ubuntu, nginx, php-fpm; nginx speaks to php-fpm through tcp. related config part of nginx: server { listen 80; server_name *.sample.net; access_log /var/www/sample/logs/access_log; error_log /var/www/sample/logs/error_log; access_log /var/log/apache_common_access_log; root /var/www/sample/httpdocs/somedby bvidinli - How to...
wauww.. thanks. teşekkürler dostum.. On Tue, Nov 2, 2010 at 12:21 PM, Anıl Çetin <anil@saog.net> wrote: >>>> Having a tool to capture 80% of the easy Apache configs might be really >>>> helpful for folks. > http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ > > On 11/2/2010 12:14 PM, bvidinli wrote: >> >> Agree, >> >> laziby bvidinli - Nginx Mailing List - English
Agree, laziness, we are lazy, most of computer users/programmers lazy.. :) lazy, stupid, asshole, whatever you call it, thats it.. what they say: "KISS, keep it simple stupid", but I say also "KISC: keep it simple clever." anyway, an "automatic translater, as a program, or web service, or optionally, same rewrite works on nginx" is mostly preferable.. On Mon, Novby bvidinli - Nginx Mailing List - English
I think, apache rewrite module is used heavily in many php based websites, so, nginx developers should make it easy to convert apache rewrite rules so that people can swtich to nginx more easily. On Mon, Nov 1, 2010 at 2:06 PM, Edho P Arief <edhoprima@gmail.com> wrote: > On Mon, Nov 1, 2010 at 6:44 PM, dong <nginx-forum@nginx.us> wrote: >> Anybody can help? Please... >>by bvidinli - Nginx Mailing List - English
in fact, URI should not contain /mybb/ in php handling part, it is re-written to be /mybb/$1 to let php find that file in dir /mybb/ with my tests, I came to this point: if I add this on top of conf: location ~ \.html$ { rewrite ^/forum-([0-9]+)\.html$ /forumdisplay.php?fid=$1; rewrite ^/Forum-([0-9]+)\.html$ /forumdisplay.php?fid=$1; } when Iby bvidinli - Nginx Mailing List - English
Hi, I have a forum site, (with multi-forum) this is working: http://destek.10tl.net/forumdisplay.php?fid=40 but this is not working: http://destek.10tl.net/Forum-40.html my nginx conf related part is: location / { rewrite ^/mybb/((?i)Forum-([^./]+))$ /mybb/forumdisplay.php?google_seo_forum=$2; if ($host !~* server2\.10tl\.net) { rewriteby bvidinli - Nginx Mailing List - English
those seems to be headers sent by your MTA, such as postfix. set servername related parameters of postifx accordingly. On Fri, Sep 24, 2010 at 12:48 PM, Frank R. <fandaremail@gmail.com> wrote: > I am using CakePHP framework, so I set this variables: > $this->Email->from = Configure::read('Site.noreplyemail'); > $this->Email-by bvidinli - Nginx Mailing List - English
php code: mail("toemail@domain.com","subject","messagecontents","From: who@me.com"); so, headers is a php issue, and can be set in php mail function. http://php.net/manual/en/function.mail.php Bahattin, ehcp Developer On Fri, Sep 24, 2010 at 12:06 PM, Frank R. <fandaremail@gmail.com> wrote: > Hello, all emails, which I send from PHP mail() haveby bvidinli - Nginx Mailing List - English
ehcp will support two modes: * only apache + php * only nginx + php-fpm (not through a proxy) will be able to switch between two modes easily, for beginners and who wants to experiment. converting .htaccess to nginx rewrite rules is not supported now, maybe in future. nginx rewrite rules will be written to config files through webbased panel interface. I hope to release it in a few weeks. the neby bvidinli - Nginx Mailing List - English
I am new to nginx, but, as far as I know, nginx is known to be a fast light webserver. So, having each rewrite to be looked up in a mysql table seems something very slow idea. rewrite is something to be done on the fly, as fast as possible. and putting a mysql layer in this process seems not a good idea. On Mon, Aug 30, 2010 at 1:31 PM, bvidinli <bvidinli@gmail.com> wrote: > I amby bvidinli - Nginx Mailing List - English
I am new to nginx, bug, as far as I know, nginx is known to be a fast light webserver. So, having each rewrite to be looked up in a mysql table seems something very slow idea. rewrite is something to be done on the fly, as fast as possible. and putting a mysql layer in this process seems not a good idea. On Mon, Aug 30, 2010 at 6:20 AM, agentzh <agentzh@gmail.com> wrote: > On Sat, Augby bvidinli - Nginx Mailing List - English
ehcp (Easy Hosting Control Panel) is going to support nginx as a webserver, directly inside it. it is being tested. you may also test it using http://ehcp.net/ehcp_yeni.tgz file download and start install.sh it will install panel, nginx and all hosting related files. (note that this is a testing version, may contain bugs.) On Sun, Aug 29, 2010 at 6:46 PM, Vi Ktor <lists@ruby-forum.com> wrotby bvidinli - Nginx Mailing List - English
1. In robotstxt.org site, it says: "robots can ignore your /robots.txt. Especially malware robots that scan the web for security vulnerabilities, and email address harvesters used by spammers will pay no attention." 2. I am expeirencing nginx and learning its rewrite features. So, I try to write rewrite statements. still i have no luck. 2010/7/19 Nuno Magalhães <nunomagalhaes@eu.by bvidinli - Nginx Mailing List - English
i have following config: if ($http_user_agent ~* Opera ) { return 444; } but, even if I try to access pages using Opera, Opera can open pages. What is wrong with my config ? (for Operat lovers: normally I do not want to block opera, just testing something ) Thanks. _______________________________________________by bvidinli - Nginx Mailing List - English
I dont know the difference, but, I used php5-fpm, while integrating nginx into ehcp. the links that I gave before contains info. Currently, I am using/testing ngnix in one of my production servers. very nice at the moment. not much load yet. will see the true power after the load. On Thu, Jul 15, 2010 at 2:17 AM, Gilles Ganault <gilles.ganault@free.fr> wrote: > On Wed, 14 Jul 2010 17:58:by bvidinli - Nginx Mailing List - English
Hi, I want to block some robots such as google, to access some urls. here is my config: # robotlarin gezdigi luzumsuz adresleri blokla... zirt pirt giriyorlar sanki bisey varmis gibi set $test ""; if ($request_filename ~* calendar) { set $test "blo"; } if ($http_user_agent ~* google\.com ) { set $test "${test}ck1"; } if ($tby bvidinli - Nginx Mailing List - English
three config files for nginx attached 1- nginx main config file 2- nginx default webserver config file 3- (template) vhost configuration file replace domainname in that. On Wed, Jul 14, 2010 at 7:05 PM, Gilles Ganault <gilles.ganault@free.fr> wrote: > On Wed, 14 Jul 2010 17:58:20 +0300, bvidinli > <bvidinli@gmail.com> wrote: >>http://www.howtoforge.com/installing-nginx-wiby bvidinli - Nginx Mailing List - English
http://www.howtoforge.com/installing-nginx-with-php-5.3-and-php-fpm-on-ubuntu-lucid-lynx-10.04-without-compiling-anything http://thehook.eu/tools/nweb/ ehcp is also going to release an easy installer for nginx. On Wed, Jul 14, 2010 at 4:36 PM, Gilles Ganault <gilles.ganault@free.fr> wrote: > Hello > > This is my first try at Nginx, and I would like to also install PHP5by bvidinli - Nginx Mailing List - English
Hi, I hope somebody reads this i have a subdomain that is redirected to my server: server2.10tl.net when I try to access the page http://server2.10tl.net/mybb/create in the browser, it always redirect me to http://10tl.net/mybb/create (which is located on another server.. ) why this redirection happens? I tried a few things before, about redirection, but currently, there isn't any directiveby bvidinli - Nginx Mailing List - English
more info: i am almost sure that redirection occurs because of nginx, since the directory /var/www/vhosts/bvidinli/10tl.net/httpdocs does not contain any redirection code, only index.php that has not any redirection. one more clue: the redirection occurs only I enter no php file at end of url. if I enter http://server2.10tl.net/mybb/create/dene.php for example (a file that has sample outpuby bvidinli - Migration from Other Servers
Hi, i have a subdomain that is redirected to my server: server2.10tl.net when I try to access the page http://server2.10tl.net/mybb/create in the browser, it always redirect me to http://10tl.net/mybb/create why this redirection happens? I tried a few things before, about redirection, but currently, there isn't any directive about redirection in any nginx configs. here is my vhostby bvidinli - Migration from Other Servers
![]() |
![]() |
![]() |
![]() |
![]() |