Support

Site Restoration

#21460 base url only works with index.php

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by dlb on Tuesday, 18 November 2014 08:57 CST

user40231
Kickstart and AGNIE installation were successful - backend works fine.
The problem it the front end. If I simply type in "index.php" after my domain, then everything is peachy. I can go through my whole website. But simply "bluthner.co.uk" without /index.php at the end returns a blank page.

enabling/disabling .htaccess: no change.
I've tried everything you've suggested in previous posts to get PHP errors to show. I've tried going through logs that say access logs - but the hosting support guy assures me they are combined error and access logs...? No other kind of turning off or on error reporting, debuggint, etc gives me any information on the homepage.

I thought perhaps the directory I installed to was a subdirectory for some reason - I've tried all variations of the RewriteBase / in .htaccess to try to direct the URL to the index.php. All variations of SEF URL's and URL rewriting in Globals. But my host assures me that the "public" file in my file manager is like "public_html" and it is my web root - so no sub directory redirect should be required. ?? he also assures me that apache mod-rewrite is on and all other items in the basic trouble shooting seem to be in order.

It seems like it should be so simple. The whole site is just one page away - It's right there!

FYI, yes this site was moved from another host/server to its current location. Also, we've got the domain on another server and pointing DNS entries to this web root on BT, which I've never done before. It's and IP address so it must be pointing to "Public" as the web root - right?

Thanks,
Kristina

dlb
Kristina,

Is there an index.html file in the root of your site? By default, the server will usually execute index.html before index.php.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user40231
Hi - thanks for the reply. Yes, the index.php file is in this /public folder along with the rest of my Joomla installation. It is the same location I uploaded the site-jpa and kickstart.php files to to extract the backup. I am wondering if this /public folder is not the actual web root, or the actual location where the DNS server is pointing - perhaps I need to redirect the url to this /public location as a subfolder - but changing this in my .htaccess file with the Rewrite Base line does nothing.


user40231
oops - I didn't read that properly!

Yes - I have a file called index.phtml (not just .html, but .phtml) it isn't in my original backup, so it must have existed on the server initially?
I saved it to my desktop and then deleted it from my webroot - no change yet.
I am trying to lookinside but I can't login to my file manager at the moment

dlb
I think the .phtml file is the problem, but that extension has been used for multiple file types over the years. Make sure you clear your browser cache to be sure you aren't running on a ghost version.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user40231
The index.phtml is deleted (it was the host page holder), cache cleared multiple times.
No change.
What else could it be?

nicholas
Akeeba Staff
Manager
You will need to contact your host and ask them to change the default directory index files to index.php, index.html, index.htm in this order. If all else fails we can do that through the .htaccess file, but I'd rather leave that option as your last resort.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user40231
I hate to leave a ticket without a solution or success message, but I have finally simply changed hosts and tranferred the site elsewhere. It works fine in the other hosting environment. Thanks so much all the same.

dlb
You're welcome!

I think Nicholas is right. I was trying to eliminate all the stuff that we could fix before we got to something that your (former) host had to fix.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!