Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    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

    Thread Starter esason

    (@esason)

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


    Any other ideas ?

    Thanks

    Thread Starter esason

    (@esason)

    I did restart the service

    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 !

    esason

    (@esason)

    Hi

    Thanks for the quick respond

    I am new in the field ,can you please tell me where should I put this line ?

    Thanks

    esason

    (@esason)

    Hi

    I am trying to get my network work ,but no luck ,i have followed all the steps and even installed every thing from scratch on a clean Linux machine ,I am able to create new sites but I am unable to access them , I get the page not found error message .
    Am i missing something ?

    Thanks Eliad

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