ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem renaming index file on Media Temple site

August 03, 2010 4:10pm

Subscribe [3]
  • #1 / Aug 03, 2010 4:10pm

    E P Alton

    55 posts

    This question may be related to a resolved thread.

    I’m hoping someone has an idea for how to rename index.php on a site I have hosted at Media Temple. I have a different site on MT with the same hosting package for whom this works:

    DirectoryIndex home index.php index.shtml index.html index.htm
    
    <Files home>
    ForceType application/x-httpd-php
    </Files>

    But I can’t get it work on a new site. The site that WORKS is running EE 1.6.8 and the one that’s NOT working is running 1.6.9. Maybe that makes a difference?

    Also, I’m trying to get this to work in a subdirectory of the root. The htaccess file is within that same subdirectory along with the index.php file I’m trying to rename.

    Thanks,
    Ed

  • #2 / Aug 04, 2010 6:05am

    John Henry Donovan

    12339 posts

    Ed,
    Try editing your path.php file to reference the new name for the index.php file

  • #3 / Aug 04, 2010 12:14pm

    E P Alton

    55 posts

    That didn’t work, unfortunately. Getting a 404 error.

  • #4 / Aug 04, 2010 7:23pm

    Brandon Jones

    5500 posts

    Ed, what are you renaming index.php to? A 404 error is outside of EE’s jurisdiction, so we may need to move this over to the CodeShare Corner.

  • #5 / Aug 04, 2010 7:31pm

    E P Alton

    55 posts

    I’m trying to rename it as “home”.

    As I mentioned, I’m kind of flummoxed because I have the identical setup for a different site on the same host and it’s working perfectly.

  • #6 / Aug 05, 2010 12:05am

    Lisa Wess

    20502 posts

    All of what you are seeing happens before EE is even invoked.

    With that said, let’s see if we can help you get to the bottom of it.

    What URL are you visiting when you get the 404?  Are you going to example.com?  Or example.com/home? 

    While you work with us, you might just get a support ticket started with your host, that way you have multiple eyes and can get to the bottom of this faster.  We may need to involve them anyway since there may be a server issue here with the method of renaming, or the 404s.

    Thank you!

  • #7 / Aug 05, 2010 1:16am

    E P Alton

    55 posts

    I’m going to “example.com/dev/home” when I get the 404. Could it be an issue that I’m in a subdirectory of the site root?

    I tried to resolve this with MT first but they basically said the specifics of htaccess are beyond what they’ll support. I’m thinking I may need to bring in someone with more familiarity with Apache since that’s not my forte.

    Unless you have another idea? 😉

  • #8 / Aug 05, 2010 1:20am

    Lisa Wess

    20502 posts

    Hrm.  If you put a basic image into /dev - can you see it in your browser?

    .htaccess wouldn’t be involved then; let’s make sure that you can actually get to the contents of that directory. =)

  • #9 / Aug 05, 2010 1:26am

    E P Alton

    55 posts

    I can, yes. The site is under development and working fine as long as I’m using “index.php” as the home page.

  • #10 / Aug 05, 2010 1:58am

    Lisa Wess

    20502 posts

    What else is in your .htaccess, EP?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases