Recent content by Shadow121

  1. S

    cPanel httpd moving domain to another users homedir

    Greetings! I just changed to cPanel from a free control panel alternative and it appears my main domain is pointing to the default web site page and not to the accounts public_html I have no idea how to fix it and I'm quite frankly fed up with it hence me posting this. I've tried...
  2. S

    Mod Rewrite Help

    I got it to work. For some reason, removing the ? from the Rewrite cond and changing it to SCRIPT_FILENAME all three options above work. Current Rewrite Syntax: RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !^/$...
  3. S

    Wordpress and PHP prepend_file

    So you're saying I should issue a new header such as 307 moved temporarily rather than leaving it as 302?
  4. S

    Wordpress and PHP prepend_file

    I didn't try it before, but I added it and it started working.
  5. S

    Wordpress and PHP prepend_file

    Yes I have tried to and the test.php will redirect while the regular wordpress will not.
  6. S

    Wordpress and PHP prepend_file

    All I've explained is exactly how it works. Apache includes the file. The file checks a variable defined in a Vhost file. If the variable is 1 redirect to a new site. Nothing else. httpd.conf php_value auto_prepend_file /mnt/secondary_hd/apache_sites/global/inc/suspended.php A vhost file #...
  7. S

    Wordpress and PHP prepend_file

    In httpd.conf I have: php_admin_value auto_prepend_file /mnt/secondary_hd/apache_sites/global/inc/suspended.php Which will append the suspension check file to all websites. Wordpress completely ignores it and acts like there's nothing there whereas another website that isn't running Wordpress...
  8. S

    Wordpress and PHP prepend_file

    I'm basically making a website suspension type thing using a prepended file set in the apache httpd.conf file. The only problem is, it won't redirect to the page I want after I set the site to be suspended. There are no errors. It just won't redirect.
  9. S

    Wordpress and PHP prepend_file

    Hey there! I have posted on the wordpress support site and another website for coding and have had no response. But, I have several wordpress sites and I have PHP set for a prepend file. But, when I make it do something to affect all sites, it doesn't affect the wordpress sites. Can anyone...
  10. S

    Minecraft server on D3 VPS?

    Hey there, I ran a minecraft server on D1 I think it was I can't remember but it worked well. Little bit of lag but it was nice. Ran using Bukkit with a fair few plugins. You should be fine to run a minecraft server whether it be bukkit or vanilla.
  11. S

    cPanel E-mail Filter

    Hey there, Still having an issue with an E-mail filter. I tried an Account Level filter and a user level filter but the email address is still getting through. Would be awesome if it could be checked out.
  12. S

    E-mail filter not working

    Greetings! I have tried to set up an account level filter and user level filter for an e-mail address who is sending me a mass amount of crap. Neither of them are working. Any advice on what to do to stop the mail? Thanks and Merry Christmas.
  13. S

    Ubuntu 11.10 and Postfix

    Hey there, I recently reinstalled Ubuntu 11.10 server on a box beneath my desk that I use for various testing websites and I can't seem to get Postfix working again. I've tried posting on Howtoforge but to no prevail. The original problem I was having was fixed but a couple days later if not a...
  14. S

    [C#] SQLite not working correctly.

    This is part where I say thank you a lot and claim this topic as resolved.
  15. S

    [C#] SQLite not working correctly.

    I'm working on a bot for something and I keep hitting blanks and getting an error. I asked a friend of mine for help but he couldn't find the issue. The code is: sqlConn = new SQLiteConnection("Data Source=botinfo.db;Version=3;New=False;Compress=True;Journal Mode=Off;")...