Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter clockticks

    (@clockticks)

    I really can’t just run it in cron? I’m not using a control panel at all other than logging into the wp admin page, it’s a centos box I have root on.

    Thread Starter clockticks

    (@clockticks)

    Fixed it, turns out this was related to the earthquake in Japan.

    Thread Starter clockticks

    (@clockticks)

    Please note this website added the “http://” above, it just has ww w in my config.

    I’m kind of out of ideas at this point, if someone could really take a look I would be in your debt forever and you will probably have positive karma today resulting in your finding a 50 million dollar winning lottery ticket.

    Thread Starter clockticks

    (@clockticks)

    Thanks ClaytonJames,

    I’m now getting a blank white page on site2.com and 404 when I try to get to http://site2.com/wp-admin/install.php

    At least it’s not redirecting anymore to site1.com

    I have the following symlinks for each site under /var/www/html/site1 and /site2

    ln -s /var/www/html/site1.com/site1 index.html
    ln -s /var/www/html/site2.com/site2 index.html

    Here are my configs, also not the very first occurance in httpd.conf is still set to the following (if that matters):
    DocumentRoot “/var/www/html”

    Here is the virtualhost parts:

    NameVirtualHost *:80

    <VirtualHost *:80>
    ServerName default.only
    <Location />
    Order allow,deny
    Deny from all
    </Location>
    ErrorLog logs/default-error_log
    CustomLog logs/default-access_log combined
    </VirtualHost>

    <VirtualHost *:80>
    ServerName http://www.site1.com
    ServerAlias site1.com
    DocumentRoot /var/www/html/site1.com
    </VirtualHost>

    <VirtualHost *:80>
    ServerName http://www.site2.com
    ServerAlias site2.com
    DocumentRoot /var/www/html/site2.com
    </VirtualHost>

    Thread Starter clockticks

    (@clockticks)

    Ok I fixed it, this is how I setup my httpd.conf virtual hosts for anyone else that has this issue in the future.

    #<VirtualHost *:80>
    # ServerName http://www.mywebsite.com
    # ServerAlias mywebsite.com *.mywebsite.com
    # DocumentRoot /var/www/html/mywebsite.com
    #</VirtualHost>

    My wordpress install sits in a folder under /var/www/html/mywebsite.com

    I made this symlink:
    ln -n /var/www/html/mywebsite.com/mywebsite index.html

    The only problem right now is when I go to mywebsite.com it shows up as mywebsite.com/index.html

    How can I get rid of that?

    Thread Starter clockticks

    (@clockticks)

    Also, pretty important question as well. I’m going to host other WP sites on this server so in the WP Dashboard settings the following two options:

    WordPress address (URL): http://www.mywebsite.com/mywebsite
    Site address (URL): http://www.mywebsite.com/mywebsite

    Do I need to change the WP address URL to reflect the folder for each individual site, such as http://www.mywebsite.com/mywebsiteB etc..

    I know I asked a lot of questions but I’m really struggling here, I would really appreciate the help.

    Thread Starter clockticks

    (@clockticks)

    Solved!

    All I did was:

    chown -Rh apache /var/www/html/wordpress/

    Where /wordpress was my fresh WP install.

    Thread Starter clockticks

    (@clockticks)

    So I went back to a fresh install of everything, I am following the instructions here:

    http://codex.wordpress.org/Upgrading_WordPress

    It mentions all I need to do is click “Update Automatically” and I should be good to go but I am being prompted for an FTP connection method.

    Note that your files all need to be owned by the user under which your Apache server executes, or you will receive a dialog box asking for “connection information,” and you will find that no matter what you enter, you won’t be able to update.

    So I ran: ps auxw | grep -E ‘http|apache|www’

    and got the following:

    ## ps auxw | grep -E ‘http|apache|www’
    root 3710 0.0 1.1 25036 7216 ? Ss 16:21 0:00 /usr/sbin/httpd
    apache 3712 0.0 2.9 36996 18280 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3713 0.0 0.6 25036 4152 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3714 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3715 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3716 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3717 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3718 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    apache 3719 0.0 0.5 25036 3420 ? S 16:21 0:00 /usr/sbin/httpd
    root 3864 0.0 0.1 5352 648 pts/0 S+ 16:29 0:00 grep -E http|apache|www

    Also, I have tried chown -hR /var/www/html/wordpress/* (my wp install) as well as chmod 777 /var/www/html/wordpress/*

    I’m probably being retarded here but I would really like to get out of the special Olympics and be a real contender.

    Thread Starter clockticks

    (@clockticks)

    Thanks, aside from that though does anyone know why I may not be able to update? ftp user is root and like I said it creates the upgrade folder no problem (no files in it however).

    Thread Starter clockticks

    (@clockticks)

    bleeber,

    Thanks for the reply, could you elaborate a little though to help me understand?

Viewing 10 replies - 1 through 10 (of 10 total)