php index file

by 7 replies
8
Can anyone tell me why my index.php file will not show

Shouldn't it work like this

http://mydomainname.com/path/

Instead...the only way it works is

http://mydomainname.com/path/index.php

I'm trying to do something with using TinyMCE...any ideas. The changes only show when I type the index.php in the url

I thought it would work with just the path name. I do not have an index.html file.

I'm confused

Thank you
#programming #file #index #php
  • OK I played around with this a bit, and realize that its only saving the changed information on my local machine.

    I am not familiar with all this...how do I get it to post the information so that it is seen by the server.
    • [1] reply
    • get what to post the information?
      • [1] reply
  • You can try to put the following into the ".htaccess" file in that sub-directory ('http://mydomainname.com/path/.htaccess'):

    Code:
    DirectoryIndex index.php
  • you need to copy it to the server.

    Do you have ftp or ssh access?

    this command is what you should be using, or something like it

    scp yourfile.php username@servername:/path/to/file/
  • If you have ftp client then copy the script and upload there.

Next Topics on Trending Feed