The MU forums have moved to WordPress.org

weired index.html problem (6 posts)

  1. feretris
    Member
    Posted 17 years ago #

    Ok my whole installation process was painless. it's the installation got successful too, got email also. but a weired glitch pooped up.

    I am installing in root directory: feretris.com/
    used subdomain installation. Now the blog is running fantastic. But i can't access it when i type---
    http://feretris.com/ or
    www:feretris.com/

    instead i can access when i type full path http://feretris.com/index.php

    Any clue any one what seems to be the issue here.

  2. andrea_r
    Moderator
    Posted 17 years ago #

    Is there a blank index.html in the folder on the server? If so, nuke it.

    (it was probably plunked there by your host)

  3. mozey
    Member
    Posted 17 years ago #

    Feretris,

    Your webserver does'nt recognize index.php file as the main page of a directory. SO to fix that, make sure that the following lines is in your httpd.conf

    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>

  4. drmike
    Member
    Posted 17 years ago #

    Strange as I could have sworn that Apache lists about a dozen file types in order as a default.

  5. feretris
    Member
    Posted 17 years ago #

    I already nuked the default index.html, but still don't know from where that ghost file is appearing. By the way as you can see the site is hosted in lunarpages, together with another addon domain. Surprising in that addon domain where i already run a normal WordPress(not MU) index.php is recognize (since in that domain my site is up for nearly 3 months).

    mozey member my server already recognize index.php; my adon domain is the example. any other advice guys?

  6. feretris
    Member
    Posted 17 years ago #

    Oh forgot here is my .htaccess file


    php_flag register_globals 0
    php_flag display_errors 0
    RewriteEngine On
    RewriteBase /
    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]
    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]
    DirectoryIndex index.html index.php

About this Topic

  • Started 17 years ago by feretris
  • Latest reply from feretris