Forum Replies Created

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

    (@ethilanka)

    Thanks everybody…. after a long period of struggling with wordpress and with apache…. It worked for me….!

    Note my work out on this…!

    in httpd.conf i have edited the virtualhost as follows.

    <VirtualHost *:80>
    ServerAlias *.domainname.com
    
    <Directory /var/www/html>
        Options FollowSymLinks
        AllowOverride Fileinfo Options
    </Directory>
    </VirtualHost>

    again thanks for Ipstenu – who helps me to find the way
    dunxd – who gave me a clue
    Andrea_r – who enlighten my thread

    Cheers..!

    Thread Starter ethilanka

    (@ethilanka)

    no luck yet…. I have tried as you mention….

    As per to my observation…! when we request the image from sub-domain blog it doesn’t give the exact path / URL it just shows the broken path… i hope this will be a fault with the wordpress settings or config files… as you can see many of the ppl are frequently getting the issue….! cant we escalate this to a developer who involved with this project…??

    So that everyone can get the answer in a single thread and fix this issue and be able to publish it so that ppl will not be confused and they won’t open multiple threads for single issue…

    this is similar to my issue faced on little while ago and still exists without a solution… better you refer my thread and grab some useful to fix your issue…. Let us update if you got something…

    check this out

    Cheers..!

    Thread Starter ethilanka

    (@ethilanka)

    My VPS provider not supporting for me since it is a unmanaged service.

    I have to find a solution by my self… Could you please someone try to help me to sort out this….?? Only problem im facing is.. my subdomain images are not showing on the given path and it is missing some parts of it..

    Thread Starter ethilanka

    (@ethilanka)

    no.. this is a vps…! I have installed it and configured…. i just want to know what exactly we have to do in the httpd.conf

    In every document / forum using a sample path or a code… so that im unable to figure out the sample or the original code out of it… if you have the exact step by step guide that has the ability to make sub domain create a network for wordpress it will be a help..

    Cheers..!

    Thread Starter ethilanka

    (@ethilanka)

    done the same but no luck yet…

    any suggestions please…??

    Shall i post my whole httpd.conf file here..? so then you can tell me the exact error right..?

    Thread Starter ethilanka

    (@ethilanka)

    This is my httpd.conf virtual host area… do i need to add some more here..?

    <VirtualHost *:80>
    ServerAlias *.lkblogspot.com
    #    ServerAdmin [email protected]
    #    DocumentRoot /www/docs/dummy-host.example.com
    #    ServerName dummy-host.example.com
    #    ErrorLog logs/dummy-host.example.com-error_log
    #    CustomLog logs/dummy-host.example.com-access_log common
    </VirtualHost>

    I have added the below in httpd.conf where the default document path

    DocumentRoot "/var/www/html"
    
    #
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    #
    # First, we configure the "default" to be a very restrictive set of
    # features.
    #
    <Directory />
        Options FollowSymLinks
        AllowOverride Fileinfo Options
    </Directory>

    Could you please confirm is this correct or do i need to create the path on virtual host and what will be it..??

    Thread Starter ethilanka

    (@ethilanka)

    You need to make sure AllowOverrides is set correctly.

    I was in a confusion where to put this code in the httpd.conf since i dont have the mentioned “/var/www/vhosts/wordpress” folder exists in my server..? Do i need to create a folder there or is this a sample path…?

    can someone explain me please..!

    Cheers…!

    Thread Starter ethilanka

    (@ethilanka)

    then i can see the image…!

    What should i do now..?

    Thread Starter ethilanka

    (@ethilanka)

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    This is my .htaccess file.. Thanks for the time.

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