129 reputation
7
bio website
location
age
visits member for 4 years, 11 months
seen Feb 23 at 17:13

Dec
24
comment Raid1 disk degraded after reboot
I've updated the original post with more information after testing and talking to Rackspace support. Still can't nail down the problem unfortunately.
Dec
24
comment Raid1 disk degraded after reboot
@DaveM Sorry for the delayed response. But yes, the reboot is clean.
Oct
21
comment Unable to upload to tmp directory
I don't know why it didn't show up in the tmp directory when I was testing with the move_uploaded_file() commented out, but I just tried again this time specifying the $_SERVER['DOCUMENT_ROOT'] and leaving the move_uploaded_file() function intact and it worked on both! Thanks for your help.
Oct
21
comment Unable to upload to tmp directory
I tried commenting out the move part completely and doesn't seem to be uploading to the tmp/http-upload directory at all.
Oct
9
comment Virtual host for subdomain overriding default virtual host
Ok, thanks for the help again!
Oct
9
comment Virtual host for subdomain overriding default virtual host
Sorry about the bad formatting. I edited the the original post with the output.
Oct
8
comment Virtual host for subdomain overriding default virtual host
After running that command I get "/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)" followed by "*:80 is a NameVirtualHost" and then a default server pointing to /sites-enabled/default and two namevhost listings (for default and subdomain that I mentioned in the original post). The <VirtualHost> blocks are configured in sites-enabled folder as two separate files (default and subdomain).
Oct
8
comment Virtual host for subdomain overriding default virtual host
Thank you, that did it. One follow up question, I tried adding NameVirtualHost *:80 to httpd.conf and the actual vhost file in /sites-available/ but I keep getting an error that says no vhost configured for NameVirtualHost *:80 when I restart Apache. Where should that line go?
Sep
9
comment Use shared 404 page for virtual hosts in Nginx
Bingo! Thanks for the actual example code.
Sep
9
comment Use shared 404 page for virtual hosts in Nginx
I tried try_files $uri $uri/ /index.php /var/www/shared/404.html =404; and try_files $uri $uri/ /var/www/shared/404.html =404;. Both of them just served index.php and tried to download the page if if specified a .html extension.
Sep
9
comment Use shared 404 page for virtual hosts in Nginx
But that would conflict with the index.php catch so if someone tried to visit foo.com/ they'd either get the a 404 page or index.php with a 404 code.
Sep
9
comment Add www-data to group
Can't he just change the group to www-data and add the dev group to www-data to give access to www-data and avoid the security risk?
Sep
9
comment Use shared 404 page for virtual hosts in Nginx
Not sure I understand. Is there something wrong with the try_files line? It should only serve index.php if I try to visit a directory. If I try to visit foo.com/doesnotexist.html, it shouldn't return index.php. If I remove the last location block after error_page and move 404.html into one of the site folders, it correctly return the 404 page.
Jan
18
comment Subdomain doesn't work without www in front of it
Thanks, I posted my .htaccess file and revised my problem description.