fuzmic Posted June 26, 2019 Posted June 26, 2019 Hi gurusI have no problem if i download files & mysql db from Hostgator and run it from wamp.However if i download from Heliohost.org, running the related 'Virtual Host', it will just cause a download as a file which is actually the index.php of webpage.I have already disabled the .htaccess which is have extra line of<IfModule mime_module>AddType application/x-httpd-ea-php56 .php .php5 .phtml</IfModule>Hope to learn why. Thank You
Krydos Posted June 26, 2019 Posted June 26, 2019 Usually if your index.php downloads instead of displaying it means you have an error in your .htaccess. What is the url of the page that isn't working?
fuzmic Posted June 26, 2019 Author Posted June 26, 2019 Krydos mate Thanks The .htaccess in the root directory has only one lineRewriteEngine on I have also have no .htaccess but still don't work There a few more .htaccess eg libraries\vendor\ .. but they are the same as other local .htaccess that work. by url i assume you mean the virtual host; i use the following in the conf <VirtualHost *:80>ServerName p2u.localDocumentRoot "c:/wamp64/www/p2u"<Directory "c:/wamp64/www/p2u/">Options +Indexes +Includes +FollowSymLinks +MultiViewsAllowOverride AllRequire local</Directory></VirtualHost>
fuzmic Posted June 27, 2019 Author Posted June 27, 2019 Guys One question: is any thing added to the files unique from HelioHost?
fuzmic Posted June 27, 2019 Author Posted June 27, 2019 (edited) Guys for some reason when i browse from ucbrowser it works, thereafter also work in chrome - on one day after.I don't know why perhaps i force clean cache in the site files. From old memory similar event did happen due to content in .htaccess. Edited June 27, 2019 by fuzmic
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now