Reputation
566
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 13 26
Impact
~81k people reached

Feb
5
comment Reply with 200 from Nginx config without serving a file
304 seems like it would send all the wrong signals for things like debugging and temporary returns.
Oct
29
comment PHP session files unable to save after a mass deletion
@ceejayoz Yep, turned out that I hadn't just deleted the session files, I had stupidly deleted the whole directory, and of course it was thus unable to recreate sessions, and even when I recreated the directory, it had to be world writable. Whoops.
Sep
7
comment PHP exceptions cause nginx to leak virtualhosts into each-other
Thanks, I used your suggestion to set php.ini settings for particular hosts at the end of php-fpm's php.ini file and that seems to have worked. (didn't really want to split into multiple configs for each vhost at this stage)
Sep
7
comment PHP exceptions cause nginx to leak virtualhosts into each-other
@MichaelHampton What is the alternative to auto_prepend_file? Obviously in an environment with a front-controller, one can just include directly, but the custom php codebase I'm working with does not have a single front controller in place.
Sep
4
comment PHP exceptions cause nginx to leak virtualhosts into each-other
Right, they're long, but I pasted 'em now.
Jul
21
comment Nginx not logging PHP errors
Related: stackoverflow.com/questions/8677493/…
Mar
11
comment Logwatch configured for nginx with custom log format gives empty output
This post was a good resource: blog.shlrm.org/blog/2012/05/09/adding-nginx-to-logwatch-output
Mar
10
comment MAILTO is not working for CRON. How can I fix this?
possible duplicate of How to change "From:" field for emails from Cron?
Feb
23
comment How do I configure the default email sender properties on a debian server?
Part of what ended up causing my problem is that only authorized users are allowed to send out via my rackspace smarthost, so I had to make sure that whoever the default send-out user was, the /etc/email-addresses alias mentioned below by coredump handled that fake user, and re-aliased it to a real user who the smarthost would truly accept. In my case it was being sent out as www-data@mydomain.com because the www-data user was in control of the php scripts that were trying to send email. Alias www-data to webadmin@mydomain.com and they started being delivered.
Feb
11
comment No space left on device error, but df reports as more space available
I wasn't able to delete /tmp directly, same as I wasn't able to ls /tmp, but I was able to mount the filesystem temporarily elsewhere and -then- it allowed me to delete & remake the /tmp directory. I just mv'ed the old directory to /tmp_damaged since I actually wasn't able to rm & delete it either.
Feb
1
comment No space left on device error, but df reports as more space available
nods I'll try this approach sometime next week.
Feb
1
comment No space left on device error, but df reports as more space available
@kasperd Added that info to the original post. And it is indeed ...insane in terms of comparitive size. I'm not really sure what to do with that information, though.
Jan
30
comment No space left on device error, but df reports as more space available
@utrecht Ah, yes, apache2 on this server.
Jan
30
comment No space left on device error, but df reports as more space available
@utrecht This is on a Debian server.
Jan
30
comment I set up a web application server, and a separate server for postgres on the same network. How should I secure the connection?
Ah, yes! So I can just use username & password authentication with a ufw firewall set to reject all connections not validly made from one of my two web servers. This sounds like the easiest to deal with, as ufw makes firewall administration easy for me. Thanks.
Jan
30
comment I set up a web application server, and a separate server for postgres on the same network. How should I secure the connection?
Is setting the dbserver1 postgresql.conf to listen only to the ips of appserver1 (and any future additional app servers) not enough?
Jan
30
comment I set up a web application server, and a separate server for postgres on the same network. How should I secure the connection?
Yes, exactly so, it's an "internal network" for rackspace servers, which means god knows who could be on there! Damn, I have to set up a VPN just to securely connect to my database on a separate server? sighs I've never messed with a VPN before.
Jan
30
comment I set up a web application server, and a separate server for postgres on the same network. How should I secure the connection?
Ah, right, I'm using rackspace, and I'm connecting via a rackspace internal network IP, but since rackspace is, like, a cloud-server provider with some million users or servers or whatever, I'm not sure that it's best practice to trust even such an internal connection.
Nov
14
comment nginx / fpm and PHP_VALUE not working
Based on that bug, it may be an escaping issue for some reason.
Oct
16
comment How to set a favicon.ico for a specific Virtual Host on Nginx?
The permissions issue fixed it for me as well!