• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Looking For An Offshore VPS Under $40 a Month

DRE

Well-known member
This is the location 'block': location ~ \.php$
You need to add try_files $uri =404 on the first line after this to prevent execution of arbitrary files.
Generally, the file you'll be editing is in /etc/nginx/sites-enabled/ but it depends on your OS and configuration.
I don't have nginx installed yet. I'm asking about it first before I install ISPConfig 3.

http://www.howtoforge.com/forums/showthread.php?p=276111
http://ubuntuforums.org/showthread.php?t=1946277
http://www.linuxforums.org/forum/se...-already-installed-ispconfig3.html#post885337

^^^Those forums all suck btw
 

Kent

Active member

ChemicalKicks

Well-known member
This is the location 'block': location ~ \.php$
You need to add try_files $uri =404 on the first line after this to prevent execution of arbitrary files.
This is not recommended for XenForo, go take a look at the suggested nginx vhost config in the XenForo help section.
 

ChemicalKicks

Well-known member
No. You choose at time of install what webserver you want to use when installing ISPConfig for the first time, it's recommended that you disable whatever webserver you don't intend to use before installation. Ive installed ISPConfig a few times now, I'm still learning but if you wanted to switch from apache to nginx you would just uninstall ISPConfig disable Apache & enable nginx then run through the install again.
 

DRE

Well-known member
No. You choose at time of install what webserver you want to use when installing ISPConfig for the first time, it's recommended that you disable whatever webserver you don't intend to use before installation. Ive installed ISPConfig a few times now, I'm still learning but if you wanted to switch from apache to nginx you would just uninstall ISPConfig disable Apache & enable nginx then run through the install again.
I haven't installed ISPConfig3 yet. I stopped right before

21 Install ISPConfig 3

Now that I know, I will install nginx. At which step in the guide you used should I start since I've already done everything onward to 20 but not step 21 in the guide I'm using.
 

Kent

Active member
This is not recommended for XenForo, go take a look at the suggested nginx vhost config in the XenForo help section.
I wasn't trying to make a recommendation for XF config, I was just pointing out that that Linode tutorial had a gaping security flaw in the configuration.

From what you pointed out: http://xenforo.com/help/friendly-urls/
Doing try_files $uri /index.php within the PHP location block is a more elegant fix than what I suggested.
 

ChemicalKicks

Well-known member
I wasn't trying to make a recommendation for XF config, I was just pointing out that that Linode tutorial had a gaping security flaw in the configuration.

From what you pointed out: http://xenforo.com/help/friendly-urls/
Doing try_files $uri /index.php within the PHP location block is a more elegant fix than what I suggested.
Fair enough the only reason I pointed it out was because it took months to get that figured out and included in the help pages :)
 

DRE

Well-known member
You should be good to pick up from step 14, let me know if you run into any issues.
Thanks! Since this is some dangerous ish I'm gonna stick with shared hosting and only use this unmanaged vps as my pet project. I'll put a site I never use on it. Dumb question but there isn't a way to copy-n-paste text in command line is there?
 

Adam Howard

Well-known member
ISPConfig is OK. But it can be a little buggy.

If you really want a control panel.... May I suggest Direct Admin (directadmin.com). A lot like cPanel, but uses less resources and is cheaper. You can lease or buy (lifetime fee is $299).

Very easy to install and setup with friendly & quick support.

Install the minimal OS of your choice and install Direct Admin. It will configure it's self (may ask a few questions, but everything is straight forward).
 

DRE

Well-known member
ISPConfig is OK. But it can be a little buggy.

If you really want a control panel.... May I suggest Direct Admin (directadmin.com). A lot like cPanel, but uses less resources and is cheaper. You can lease or buy (lifetime fee is $299).

Very easy to install and setup with friendly & quick support.

Install the minimal OS of your choice and install Direct Admin. It will configure it's self (may ask a few questions, but everything is straight forward).
i like free
 

DRE

Well-known member
Had to use this guide to install php5-fpm
http://gerardmcgarry.com/blog/how-install-php-fpm-nginx-ubuntu-1004-server

When I switched to nginx I kept getting # = this line is depreciated error. Replacement is ;

Had trouble installing fcgiwrap. Had to get it from here:
http://groups.drupal.org/node/66898

pure-ftp kept giving me errors. I tried several different guides to install it but to no avail.

I asked customer support and they showed me a cent0s guide for proftpd.

So I'm switching back to centos again. This time I'm going to try eva from vb4's centmin mod guide.

http://centminmod.com/
FAQ http://centminmod.com/faq.html
Change Log http://centminmod.com/changelog.html


Installing this: http://vbtechsupport.com/1669/

Centmin Mod Nginx Auto Installer script has been updated to v1.2.2-eva2000.08. The latest version auto installs Nginx v1.1.11, PHP 5.3.8 PHP-FPM, MariaDB 5.2.10 with optional components to be automatically installed like, Xcache v1.3.2, APC v3.1.9, Memcached 1.4.10, Memcache v3.0.5, CSF Firewall, Python v2.7.2, Siege benchmark, and NSD a low memory foot print BIND replacement. All this is done via an interactive menu.

^^Gonna use it with both memcached and APC turned on according to this article http://stackoverflow.com/questions/1935240/can-i-use-apc-and-memcached-on-the-same-server