Viewing 15 replies - 1 through 15 (of 19 total)
  • Do you have an ‘index.php’ in /wp-admin ?

    Thread Starter tom704

    (@tom704)

    yes

    It may be that for some reason your server is not recognising that .php is a proper extension ?
    Can you ask your host if this is the case ?

    Thread Starter tom704

    (@tom704)

    will ask them- wouldnt be surprised it its that…

    Thread Starter tom704

    (@tom704)

    The host answered and said they,”have tested PHP by creating a test PHP document found here: https://mysite.com/test.php and it is working without issue.”
    Is the https://mysite.com/wordpress/wp-admin/ suppose to pick up the index.php ? How to correct that?

    What OS / Browser are you using ?

    Thread Starter tom704

    (@tom704)

    windows xp and IE When I click on index.php in Index of /wordpress/wp-admin it goes to https://mysite.com/wordpress/wp-admin/post.php is the problem?
    https://mysite.com/wordpress/ also goes to: Index of /wp

    Going to post.php is the correct behaviour.
    I think index.php just checks for the cookie that shows you are you, so if someone else tried to login, they would get sent to the login screen.
    I never log out of my site, but when I click the bookmark, I go straight to post.php

    Thread Starter tom704

    (@tom704)

    So when I login with name: admin and password it opens to https://mysite.com/wordpress/wp-admin/ and shows my files. (Index of /wordpress/wp-admin) and https://mysite.com/wordpress/ also goes to: Index of /wordpress
    Any solutions? I also don’t like the files showing as well as the login doesn’t go the right page. Is there a redirect to fix it? Id so how is it done? Or permissions to hide the files?

    So what you have is this:
    mysite.com/wordpress shows a list of all files
    mysite.com/wordpress/wp-admin/ also shows a list of all files
    Which means that the index.php file in each case is not being recognised.
    So … this could be specific to you and your browser, or it could be something to do with the server.
    The former is easier to test – can you share your url with someone (by email if you don’t want to post it here) and see what that person experiences. If they have the same problem as you, then that’s information to throw at tech support. If they don’t .. well, it narrows it down a bit ??

    tom – any news on this ?

    Thread Starter tom704

    (@tom704)

    I had someone try the links on their new computer and got the same Index of files.
    Could it be that the files are in the wrong place? Everything else works as it suppose to but https://www.mysite.com/wordpress goes to the Index of files.

    Two computers see an Index of / … I still think it’s a server setup thing, and for some reason a file called ‘index.php’ is not being handed to the browser – which it should be. I also think it’s serverside because I can’t recall a problem like this before.
    So to test it.
    In WordPad, paste this:
    <? print(“Hi, I am index.php”) ?>
    Save it as ‘index.php’
    In your webspace, make a new directory – say ‘test’
    Upload your new index.php in that directory.
    Now go to that directory using your browser – but do not specify index.php as the file you want, ie. https://www.tom704.com/test
    If you see the “Hi ..” then index.php is being handed over and I am wrong on this theory.

    Anyone ?
    Is this looking to be along the right lines ? I really don’t want to be leading Tom the wrong way on this ……..

    podz,
    You are correct in at least one instance. I installed wordpress for the first time last night on my own server (running Microsoft Windows, running IIS). I didn’t receive a file list but that is only because my server is configured to disallow file listings. I received an error 403 page instead, which is what displays whenever one of the default file names is not found in the specified path. I added index.php as one of the default files that the server recognizes and that fixed it.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘login goes to file page’ is closed to new replies.