Browsing "Hosting Headaches"
Aug 27, 2015 - Hosting Headaches, WordPress    Comments Off on Goddamn hackers

Goddamn hackers

find . -name '*.php' -print > badfile.txt
vi badfile.txt
:s%/.\//rm -f .\/

grep -H -r -l '\$sF\=' /path/to/dir/to/check/ > badfile.txt

Aug 4, 2015 - Hosting Headaches, Notes    Comments Off on Local ini on Storm/CentOS

Local ini on Storm/CentOS

Needs:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USERNAME/public_html
</IfModule>
<Files php.ini>
order allow,deny 
deny from all 
</Files>

 

in .htaccess

and ini must have chown for USERNAME

Sep 2, 2014 - Domain Issues, Hosting Headaches, PlugIns, WordPress    Comments Off on Contact Form 7 and Bluehost

Contact Form 7 and Bluehost

Had some issues setting up a site developed by other developers. Aaaaaand this is why Gravity Forms is better. But, anyway, the solution was simple enough: http://wordpress.org/support/topic/contact-form-7-not-working-6

Update: Come to find the same issue with Gravity Forms on a Liquid Web VPS. I realized that (duh) this would always be an issue for clients who use a remote mail exchanger, as the server won’t even look outside itself if it thinks the mail exchanger is local. So, the steps for a cPanel host (which is most of my clients):

cPanel->Mail->MX Entry->Choose Domain-> Find MX Record and look for “Email Routing”->Change to Remote Exchanger.

Of course, ONLY do this for sites that aren’t using the web host to collect mail!

Jan 18, 2012 - Yahoo! Small Business    Comments Off on .htaccess on Y!

.htaccess on Y!

.htaccess (Hypertext Access)
The name .htaccess refers to the main configuration file for Apache, a popular open-source HTTP server. The .htaccess file can be used to create custom error pages and web page redirects, set up password protection, enable SSI, and more. Yahoo! does not currently allow you to upload .htaccess files to your account. For other customization options, we recommend the Custom Error Pages and password-protection features available in your Web Hosting Control Panel.

What is the point, Yahoo, of telling us all the great things you can do with .htaccess and then tell us it can’t be done on your crappy hosting?