• Resolved rutherfordj2

    (@rutherfordj2)


    First, let me say that I am not an expert… my experience is limited to very basic HTML and what I have taught myself in order to host an educational website. So, if you’re kind enough to respond, and I respond with a “I have no idea what that means”, please be patient with me…

    Also, I have no clue exactly what kind of information you need, so I’ll provide as much as I can.

    First, I am trying to run WP off of 50webs.net, a paid account. I tried installing 2.7 (50webs.net offer install only for 2.6), following the instructions (as I understood them) to the letter. But here’s what I did, anyway:

    1. Created file /blog on http://www.englishfortheirish.com, and downloaded the WP ZIP file to my computer.
    2. Unzipped it into a new directory on my computer.
    3. Altered wp-config-sample.php to wp-config.php with these settings:
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘apsucheer_blog’); // The name of the database
    define(‘DB_USER’, ‘apsucheer_blog’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …and password
    define(‘DB_HOST’, ’50webs.net’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);
    *note: I do have a password, it is entered correctly. I also feel that the other information I entered is correct (see ** below).
    4. Uploaded everything using FTP to ftp://www.englishfortheirish.com/blog.
    5. Ran /wp-admin/install.php
    6. It said it was already installed.
    7. Opened up http://www.englishfortheirish.com/blog/index.php
    8. Got the directory.
    9. Uninstalled everything, deleted /blog.
    10. Repeated steps 1 – 9 two more times (I follow the rule of 3 before seeking help) with the same result.

    Went to 50webs.net PHP Scripts, let it install WP 2.6, with the intent of upgrading. Wanted to make sure it worked. It did, except when I log in, it sends me to the directory file page for the administrator, and not to an actual webpage. I have to click on index.php before the actual webpage for the administrator will come up. Furthermore, when I type in the URL http://www.englishfortheirish.com/blog/index.php it takes me to the file directory, and I have to click on index.php to bring up the actual page.

    ** I am confident the setting are correct for the 2.7 I manually installed because I saved the config.php file from 2.7 and compared it to the auto-installed 2.6, and the information was the same.

    So… I know I am messing something up, and any help that you can provide would be appreciated! Again, I am not a professional. I just run a basic educational website, and follow step-by-step instructions to get the job done.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here’s the solution to what I think this is your problem:

    Solution 1
    If allowed by your host, putting this in an .htaccess file will solve the problem:
    DirectoryIndex index.html index.htm index.php

    Solution 2
    Some hosts allow you to make a change, via their hosting control panel, to the DirectoryIndex. It’s typically described as Indexes or Index documents, but may also require you to type something like
    DirectoryIndex index.html index.htm index.php
    or specify index.php as an index type file.

    Solution 3
    Instruct Apache to treat index.php as an index file. If you own the server, or have access to the http.conf file, simply modify the DirectoryIndex line in httpd.conf to:
    DirectoryIndex index.html index.htm index.php

    This search of the forum found the solutions described above:
    http://wordpress.org/search/displays+directory?forums=1

    Thread Starter rutherfordj2

    (@rutherfordj2)

    Thanks! This is where I may frustrate you…

    It looks like Solution #1 would be the first step I should look at, because it seems to be the most simple (for me). This is what I do not understand about Solution #1:

    1. “putting this in an .htaccess file”
    What is “this”? Should I know, or does this = DirectoryIndex index.html index.htm index.php

    2. If this = DirectoryIndex index.html index.htm index.php
    Should I open the .htaccess file in a notepad and type >> DirectoryIndex index.html index.htm index.php << in?

    This is what my current .htaccess file looks like:

    DirectoryIndex index.html
    AuthUserFile /home/users/apsucheer/www/englishfortheirish.com/.htpasswd
    AuthGroupFile /home/users/apsucheer/www/englishfortheirish.com/.htgroup

    AuthName “Site Studio”
    AuthType Basic

    <FILES .htpasswd>
    deny from all
    </FILES>

    <FILES .htgroup>
    deny from all
    </FILES>

    Should I change it to look like this:

    DirectoryIndex index.html index.htm index.php
    AuthUserFile /home/users/apsucheer/www/englishfortheirish.com/.htpasswd
    AuthGroupFile /home/users/apsucheer/www/englishfortheirish.com/.htgroup

    AuthName “Site Studio”
    AuthType Basic

    <FILES .htpasswd>
    deny from all
    </FILES>

    <FILES .htgroup>
    deny from all
    </FILES>

    I would just try it, but I’m afraid I’ll mess something up… although the entire website has been completely erased, because I’m rebuilding it from scratch.

    Thank you for your help (from myself, and from the students and educators who will use this site)!

    Thread Starter rutherfordj2

    (@rutherfordj2)

    Okay… I took (what for me was) a risk, and typed those commands into the line they seemed to belong to. I really apreciate your help. I was unsure of what search terms to use, and I had promised the dean I would have the website up by the end of the week, so we can start testing its uses.

    Thank you! Everyone on this campus will sing your praises!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems After Log-in’ is closed to new replies.