The MU forums have moved to WordPress.org

An another Mu instalation .... (10 posts)

  1. neurone
    Member
    Posted 16 years ago #

    I have probleme I think million people have, installation was working fine but when i creat a new blog the redirection doesn't work.
    I read a lot about wildcard in .htaccess, but still don't fine the good one.
    I write here because i know that lot of yours have it and maybee i can earn a lot of time with your help.
    Nice to enter in your community :o)

  2. neurone
    Member
    Posted 16 years ago #

    if i put : define('VHOST', 'no');
    everythink is working fine, the probleme is just for the wildcard.
    My host don't provide me a shell, so i have to all do in .htaccess, thanks to help me :o)

  3. mohamednazmi
    Member
    Posted 16 years ago #

    You should request for your host to provide the correct settings (eg. wildcards et al) before trying installation again. Good luck.

  4. neurone
    Member
    Posted 16 years ago #

    It what i was thinking, my admin was nice, it's done , thanks a lot :o)
    Just a last question, i wanted to put a forum to this adress : forum.mydomain.com . How can i do now ?

  5. mohamednazmi
    Member
    Posted 16 years ago #

    There are a couple of threads floating around in the forum on subdomains working hand in hand with WPMU. Look around.

  6. trickmandan
    Member
    Posted 16 years ago #

    Hey mohamednazmi thanks for the look around :)

    I am having the same issue. I can install and run the directory method, but not sub domain method.
    I just get a not found for my new sub domain blogs??
    My vhost file looks like this:

    ServerAlias *.mysite.com
    <Directory /path/to/my/home/directory>
    AllowOverride FileInfo
    </Directory>

    My DNS looks like this:
    *.mysite.com. A ipnum.ipnum.ipnum.ipnum

    I have been all over the web for the last several days.
    Do you have any suggestions?
    Do you have any stepped tests?

    trickmandan
    http://BizBlogPro.com/blog

    I am using build 2006-03-29 in the Plesk Environment for Apache Linix

  7. neurone
    Member
    Posted 16 years ago #

    Just add it to your public_html and your subdomain .htaccess :

    RewriteCond %{HTTP_HOST} subdomain.maindomain.com
    RewriteCond %{REQUEST_URI} !subdomain/
    RewriteRule ^(.*)$ subdomain/$1 [L]

    Working fine for me

  8. neurone
    Member
    Posted 16 years ago #

    Just add it to your public_html and your subdomain .htaccess :

    RewriteCond %{HTTP_HOST} subdomain.maindomain.com
    RewriteCond %{REQUEST_URI} !subdomain/
    RewriteRule ^(.*)$ subdomain/$1 [L]

    Working fine for me

  9. trickmandan
    Member
    Posted 16 years ago #

    #fixed
    Configuration for Plesk in Apache Server on a Linix Box
    I have been working on this for days and found a solution that worked.
    *tear of joy*

    add DNS entry: *.mysite.com. CNAME mysite.com.
    (you should have access to DNS entries in your Plesk interface)
    If you don't have access, contact your server administrator.

    log into box with Putty
    PuTTY: A Free Telnet/SSH Client
    Find Putty Telnet/SSH Client

    enter: su
    + password again

    change directory to /
    change directory to /home/httpd/vhosts/mysite.com/conf

    Find How to use VI Editor

    --- enter: vi httpd.include
    1. find the <VirtualHost tag. (the area where you see "ServerName"
    1a. add this line in the tag: ServerAlias *.mysite.com

    2. find the <Directory tag that points to your document root
    2a. add this line just before the tag end: AllowOverride FileInfo

    Finish by restarting your server. You can do this in the Plesk from the System/Server menu or Host Manager

    Note: Plesk documents state that you can use vhost.conf, but I had no luck with this.
    How to configure MU in Plesk

    Thanks for all the help here,
    trickmandan
    BizBlogPro
    http://BizBlogPro.com/blog

  10. trickmandan
    Member
    Posted 16 years ago #

    bambam4479 had this to add:

    You should not make any changes to httpd.include because they won't stick when upgrading Plesk. Your best bet is to just create a vhost.conf and vhost.ssl.conf and enter the information here.
    http://mu.wordpress.org/forums/topic.php?id=539&replies=4#post-2848

    Then reconfigure the domain in Plesk by calling "$PRODUCT_ROOT_D/admin/bin/websrvmng -a -v" where $PRODUCT_ROOT_D is where Plesk is located on the server, in my case its /usr/local/psa so complete path is "/usr/local/psa/admin/bin/websrvmng -a -v". I'd then restart Apache just to make sure it gets restarted.

    Also, remember, if you just added the wildcard to your DNS, it might take up to 48 hours to propogate around the 'net so just be patient

    ===============================

    trickmandan
    BizBlogPro
    http://BizBlogPro.com

About this Topic

  • Started 16 years ago by neurone
  • Latest reply from trickmandan