• esason

    (@esason)


    Hi

    I have a fresh installation of wordpress on a new Linux Redhat 5.5 virtual machine , MU is enabled .

    The site is running and I am able to create new sites , whenever I visit a new site the theme is disabled and I am able to see the text only .

    I have gave the .httaccess 777 permissions an wp-content has 755 permissions .

    Any ideas

Viewing 11 replies - 1 through 11 (of 11 total)
  • This is a common issues and I think we outlined it in the sticky.

    Check the Apache config, it’s still not reading the htaccess file correctly.

    AllowOverride FileInfo Options

    Thread Starter esason

    (@esason)

    Hi

    I did add that line as you can see here

    <VirtualHost *:80 >
    ServerName wordpress_test
    ServerAlias wordpress_test
    RewriteEngine On
    RewriteOptions Inherit
    
    DocumentRoot    /var/www/html/wordpress
    <Directory "/var/www/html/wordpress/wp-content">
    AllowOverride FileInfo Options
    Options FollowSymLinks
    DirectoryIndex index.php
    Order allow,deny
    Allow from all
    </Directory>
    
    </VirtualHost>

    but it dosent work !

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you recycle your http service?

    And sometimes it has to be

    AllowOverride FileInfo All

    tinker with it.

    Thread Starter esason

    (@esason)

    I did restart the service

    Thread Starter esason

    (@esason)

    Sorry but it dosent work after this change “AllowOverride FileInfo All


    Any other ideas ?

    Thanks

    Note you won’t be able to access the subfolder admin areas either.

    make sure you have the right htaccess file.

    make sure it’s being read.
    other than that, that’s all we can tell ya.

    Thread Starter esason

    (@esason)

    Hi

    I am going to try to explain everything I did :

    First installed WordPress 3.04 on a new virtual machine

    Then I enabled the MU ,I copied the lines from the site to wp-config.php file then I created a .httaccess file with the lines posted inside the network installation :

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    The I did some editing on the httpd.conf file as follow :

    <VirtualHost *:80 >
    ServerName wpress.il.nds.com
    ServerAlias wpress.il.nds.com
    RewriteEngine On
    Options All
    DocumentRoot    /var/www/html/wordpress
    
    <Directory "/var/www/html/wordpress/">
    AllowOverride All
    Options All
    #DiirectoryIndex index.php index.html
    Order allow,deny
    Allow from all
    </Directory>
    
    </VirtualHost>

    I have restarted the httpd service an mysqld service even did a restart to the host .
    When I create a new site under Super admin -> sites or Dashboard my site and I try to access the page a can access it but all I see is text without the theme .
    I have looked into all the logs : /var/log/messeges , /var/log/httpd/access_log & /var/log/httpd/error_log log and I don’t see anything unusual .

    This is from the /var/log/httpd/access_log :

    ==> /var/log/httpd/access_log <==
    10.63.30.95 - - [09/Mar/2011:13:15:52 +0200] "GET /wp/test1/ HTTP/1.1" 200 6726 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; Tablet PC 2.0)"
    10.63.30.95 - - [09/Mar/2011:13:15:52 +0200] "GET /wp/test1/wp-content/themes/twentyten/style.css HTTP/1.1" 404 3439 "https://wpress/wp/test1/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; Tablet PC 2.0)"
    10.63.30.95 - - [09/Mar/2011:13:15:52 +0200] "GET /wp/test1/wp-content/themes/twentyten/images/headers/path.jpg HTTP/1.1" 404 3439 "https://wpress/wp/test1/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; Tablet PC 2.0)"

    Am I missing something ?
    I know I am able to read the httaccess file because when I changed the file name and the file is not accessible I get a blank page with HTTP 404 not found error message .

    It looks like it has to do with permissions but I Cannot think of something .

    Does anyone have a clue

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you know that Options All doesn’t actually allow … all?

    Try this:

    Options Indexes FollowSymlinks MultiViews
    AllowOverride All
    Thread Starter esason

    (@esason)

    I have changed the configuration according to your recommendations :

    <VirtualHost *:80 >
    ServerName wpress
    ServerAlias wpress
    RewriteEngine On
    #Options All
    DocumentRoot    /var/www/html/wordpress
    
    <Directory "/var/www/html/wordpress/">
    AllowOverride All
    Options Indexes FollowSymlinks MultiViews
    Options All
    DiirectoryIndex index.php index.html
    Order allow,deny
    
    </Directory>
    
    </VirtualHost>

    It is still the same no images or theme is being displayed

    Eliad

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Use the CODE tags, eh? Not strong or blockquote ?? Makes it easier to read.

    Try this .htaccess.

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Unable to see theme on MU new sites’ is closed to new replies.