find . -name '*.php' -print > badfile.txt vi badfile.txt :s%/.\//rm -f .\/ grep -H -r -l '\$sF\=' /path/to/dir/to/check/ > badfile.txt
<IfModule mod_suphp.c> suPHP_ConfigPath /home/USERNAME/public_html </IfModule> <Files php.ini> order allow,deny deny from all </Files>
and ini must have chown for USERNAME
I keep a document of hosting recommendations to share with clients. This is one of those things that changes often, as companies come and go, get bought and sold, etc, so I’m simply going to link to the Google Doc that I share with clients.
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!
The workaround is here. Just add
to wp-config.php. Works a treat!
.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?
On Yahoo, the mysql server is called “mysql” not “localhost”, even though it’s on the localhost.