The MU forums have moved to WordPress.org

Creating directory for new blog (12 posts)

  1. deerpark
    Member
    Posted 5 years ago #

    I have WPMU installed and mostly functioning. My current issue is that when a new blog is created, WPMU does not create a directory to match the one in the signup form. When you try to open the page, it gives you:

    Not Found

    The requested URL /testme/ was not found on this server.
    Apache/2.0.53 (Fedora) Server at blog.dpsd.org Port 80

    I tried creating an directory (steves) in the root directory of WPMU (/wordpress/docs), then creating the matching blog. When I try to open this page, it responds with:

    Forbidden

    You don't have permission to access /steves/ on this server.
    Apache/2.0.53 (Fedora) Server at blog.dpsd.org Port 80

    I even set the permissions to 777 (yes I know it should be 755.) I still get the same error.

    I have searched the forums and Google with no luck. Am I missing something obvious? I am using the latest nightly post RC4. Help!

  2. drmike
    Member
    Posted 5 years ago #

    Is 'testme' the username of the user in question? I ask because you then start talking about 'steves'. (Delete the subdirectory 'steves' that you created. That's going to mess things up worse)

    Where are the WPMU files installed? Are they in root?

    VHosts - on or off?

    What's in your Apache error logs?

  3. deerpark
    Member
    Posted 5 years ago #

    1. testme and steves are blog names, not users. They are just created to test two separate scenarios. steves has now been deleted!

    2. The WPMU files are installed in the root (/wordpress/docs.)

    3. VirtualHost is on and responding to IP addresses. There is one (10.0.0.3) set to respond to blog.dpsd.org (port forwarded through the PIX firewall to public.)

    4. blog_error_log for the test:

    [client 10.0.0.3] install_blog - ID: 9 URL: http://blog.dpsd.org/steves/ Title: Steves test blog , referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 11:06:15 2006] [error] [client 10.0.0.3] File does not exist: /wordpress/docs/steves, referer: http://blog.dpsd.org/wp-admin/wpmu-blogs.php
    [client 10.0.0.3] install_blog - ID: 10 URL: http://blog.dpsd.org/steves/ Title: Steves Test Blog , referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 11:08:57 2006] [error] [client 10.0.0.3] Directory index forbidden by rule: /wordpress/docs/steves/, referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 11:09:23 2006] [error] [client 10.0.0.3] Directory index forbidden by rule: /wordpress/docs/steves/, referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 11:33:28 2006] [error] [client 10.0.0.3] Directory index forbidden by rule: /wordpress/docs/steves/, referer: http://blog.dpsd.org/wp-admin/wpmu-blogs.php
    [client 10.0.0.3] install_blog - ID: 11 URL: http://blog.dpsd.org/testme/ Title: This is a test... , referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 11:34:50 2006] [error] [client 10.0.0.3] File does not exist: /wordpress/docs/testme, referer: http://blog.dpsd.org/wp-signup.php
    [Tue Aug 08 12:42:04 2006] [error] [client 10.0.0.3] File does not exist: /wordpress/docs/admin

  4. drmike
    Member
    Posted 5 years ago #

    3) VirtualHost != VHosts. VHosts is the setting with WPMU that determines where the user created blogs go. Are they going to subdomains of blog.dpsd.org (ie myblog.blog.dpsd.org) or subdirectories (ie blog.dpsd.org/myblog)? It was one of the options during setup.

    4) Is mod_rewrite turned on for Apache? Looks like it might not be.

  5. andrea_r
    Moderator
    Posted 5 years ago #

    In other words, you shoudl be looking for those test accounts at http://BLOGNAME.blog.dpsd.org/

    Also it looks like you changed your permalinks setup. That might cause a few issues.

  6. deerpark
    Member
    Posted 5 years ago #

    We decided to load the blogs from subdirectories. How do I check the setting? I have access to phpMyAdmin to check the database.

    The httpd.conf file has the following line:

    LoadModule rewrite_module modules/mod_rewrite.so

    so I presume it is loaded. This server started life as a pretty generic web server and has grown to support several virtual servers so I am reluctant to be too aggresive with the configuration.

  7. andrea_r
    Moderator
    Posted 5 years ago #

    AFAIK, if you want to swtich from virtual hosts to using subdirectories (or vice versa) you need to reinstall the whole thing. At least, that's what I would do.

  8. drmike
    Member
    Posted 5 years ago #

    No, I understand. You don't want to have VHosts on since you're using subdirectories.

    I wonder though if the firewall setup would affecting anything.

    Was there a .htaccess created upon setup? Is it filled out?

  9. deerpark
    Member
    Posted 5 years ago #

    Yes there is. I would be happy to email you a copy. I am not sure just what it is doing. I have not really programmed for quite a few years and am not familiar with the syntax etc. of .htaccess. What would happen if the VHost were set to ON when using subdirectories instead of subdomains?

  10. deerpark
    Member
    Posted 5 years ago #

    I am not accessing it through the firewall yet. All accesses have been form internal computers or the server itself. How do I check to see if VHost is turned on?

  11. carloschiar
    Member
    Posted 5 years ago #

    Hi everyone.
    I installed wordpress mu and everything went well. But when I tried to "Create a new blog", the system asked me for a username and email address. I select "Gimme a blog" and press next.
    The system displays this message:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in e:\phproot\wordpressmu\wp-includes\wpmu-functions.php on line 881

    There is no folder with the name of the blog carlos
    obelix.royalroads.ca/wordpressmu/carlos

    What am I doing wrong?
    The O/S is Windows 2003 and the web server is IIS.

    Can somebody help me please?

    Thanks,

    Carlos

  12. drmike
    Member
    Posted 5 years ago #

    Please do a search as it's been covered already.

About this Topic