The MU forums have moved to WordPress.org

No acess to subdirectories (9 posts)

  1. mikeboy3
    Member
    Posted 15 years ago #

    Hi, I just installed wpmu 2.7 in a sub-directory on a new server for a project I am working on, and I see that there are some problems, for example, when you access the main site:
    http://www.tanfemenina.com/Blogs/

    you must add the final /index.php (www.tanfemenina.com/Blogs/index.php, if not, you get an access denied error:
    Directory Listing Denied
    This Virtual Directory does not allow contents to be listed.

    The same happens with /wp-admin/

    However, all permalinks and other blogs are inaccessible, like:
    http://tanfemenina.com/blogs/about/
    http://tanfemenina.com/blogs/blog/2009/02/03/entrada-de-prueba/
    http://tanfemenina.com/blogs/maria (this is a test blog)

    I ask, is this a problem with the .htaccess file
    http://pastebin.com/m77684fdb

    or is it a server issue? if so, how can I identify and correct the problem?

    Thanks in Advance, if you need any more info, please let me know

  2. VentureMaker
    Member
    Posted 15 years ago #

    Yup, it's a server issue :) It's Apache config - you haven't set directory indexes properly.

    Add
    DirectoryIndex index.php
    into your httpd.conf

  3. mikeboy3
    Member
    Posted 15 years ago #

    Thanks for your reply, however, the server is running: WINDOWS SERVER STANDARD 64 bits

    so I have been told there is no Apache, is there an equivalent for Windows servers?

  4. VentureMaker
    Member
    Posted 15 years ago #

    IIS (Windows) = Apache (Linux)

  5. grandslambert
    Member
    Posted 15 years ago #

    Windows Servers likely are running IIS and you will need to set the DirectoryIndex to include index.php in there. Ask your server administrator to do this for you if you don't have access to it. If they won't or can't, you may try to see if you can add this directive in an .htaccess file, though not sure if your server will read it since it doesn't seem to support PHP properly.

    Here is a page that might help you with this:

    http://rhcelinuxguide.wordpress.com/2006/07/02/all-htaccess-tips-and-tricks/

  6. tanvir
    Member
    Posted 15 years ago #

    Did u use any other php application previously in your server & got the same problem?

    Sometime if you use shared hosting, you have to add "index.php" as Default Pages in .htaccess file. you may find a .htaccess editor in your control panel.

  7. grandslambert
    Member
    Posted 15 years ago #

    if you are not using Apache then u are not supposed to run any php script.

    Really? Where did you get this from? PHP runs great on a Windows Server using IIS and many other web servers. There is NOTHING, anywhere that I have ever seen that says you should not run PHP on anything other than Apache.

  8. andrea_r
    Moderator
    Posted 15 years ago #

    While your point is valid, on the docs pages it does say you need an Apache server. :)

    mikeboy - if you just got a new hosting account and picked Windows, save yourself some headaches and get a new Linux-based one.

    Yes, MU can run on Windows. BUT I'd suggest only using it if you're stuck.

  9. mikeboy3
    Member
    Posted 15 years ago #

    Thanks for your replies, I cannot ask to change to Linux since this is a client's server, Ill ask the administrator to include the DirectoryIndex index.php in the ISS (I hope he know what that means, I have no clue).

    I tried adding DirectoryIndex index.php to the .htaccess file, but nothing happened, perhaps I have to add it in a specific location?

    They seem to have Wordpress 2.7 Working on one of their sub-domains: http://blog.tanfemenina.com/

    So they had to do a modification for that sub-domain, I'll ask them to set it up again. Does WPmu and WP require different setups?

About this Topic

  • Started 15 years ago by mikeboy3
  • Latest reply from mikeboy3