I am creating a network of blogs (see: www.nbanewssite.com) At the bottom are links with subdomains to team specific blogs (see: nuggets.nbanewssite.com) The blog is within the public_html section, and each of the subsequent team blogs are located within a folder (public_html/nuggets). If the site isn't working, here is the error I'm getting: Help?
Hmm, not entirely sure as many servers, mainly dependent on whether they are Windows or Linux based servers. Navigate to your root folder (where you store your files), there should be a file called .htaccess (this isn't a file type, it's a file standard, so is called .htacces). Please PM me the contents of your htaccess file and I'll sort it and send it back.
Well I imagine the user is running suPHP or phpsuexec in their environment. In this case you cannot define php variables in a .htaccess file which some scripts love to include with their installers. The other common issue is improper permissions, so setting a php file to 777 instead of 644 or a folder to 777 instead of 755 for example.
I had set a PHP file to 777 earlier because it was the header file within my Wordpress theme, and it needed to have write permissions. How would I handle that?
Well change the permissions of the file to 644. If your host is using suPHP or phpsuexec 777 on a php file will cause 500 internal errors.
My client told me that his host changed security measures within his server and that caused the errors -- possible or not?
They probably switched to suPHP so as I said fix the permissions. PHP files should be 644 directories should be 755 PHP variables cannot be set in a .htaccess files so for example php_flags register_globals on is no longer valid it must be done in a php.ini as register_globals = on
Yep that is the case if you lack SSH access. If you have SSH I believe these would do the trick for permissions In each case replace username with the actual username of the account. I am also assuming this is under cPanel
SSH is a telnet client software which is used to remotely work on server . Using ssh we can control the server or administrate the server. if its a unix server then you must know unix to handle it better If you donot know unix you can learn unix commands and basics Regards Alex
Error 500 means that a script had an error. If you find the apache error log (NOT the access log!) for the website, there SHOULD be an error message in there telling you what is wrong. Of course, I'm assuming you are using Apache, and that the error logging is not turned OFF in the php.ini file. Good Luck!
error logs: [Wed Jan 2 18:23:47 2008] [alert] [client 68.253.33.207] /home/nbanewss/public_html/nuggets/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 18:23:47 2008] [alert] [client 68.253.33.207] /home/nbanewss/public_html/nuggets/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 18:23:47 2008] [alert] [client 68.253.33.207] /home/nbanewss/public_html/nuggets/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 18:23:47 2008] [alert] [client 68.253.33.207] /home/nbanewss/public_html/nuggets/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 16:49:35 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/raptors/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 16:49:35 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/raptors/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 15:26:26 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/hawks/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 15:26:26 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/hawks/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 14:21:02 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/bobcats/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration [Wed Jan 2 14:21:02 2008] [alert] [client 66.249.73.57] /home/nbanewss/public_html/bobcats/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration Code (markup):