Closed daveolon2063 closed 10 years ago
Did you start getting this error the moment that you added .htaccess?
I was playing around with the fantastico CMS software add on's they have before I found your tutorials. I have jacked something up for sure haha. Everything works great until I add the admin folder and index.php, then its just 404 error when you try to access the admin folder
Ah yes. If you do anything with Fantastico Delux, ALWAYS do it in a sub folder. Things like Wordpress being installed in the root folder will jack up the .htaccess all over the place.
Can you copy/paste the contents of the .htaccess file in your root folder for me? That would be the .htaccess within the public_html folder.
Haha oh nice..well learned that lesson the hard way
# Use PHP55 as default
AddHandler application/x-httpd-php55 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php55/lib
</IfModule>
This is the only code in the file. I removed the Fantasico CMS before starting your tutorial.
it would probably be a lot easier to just restore the account to original setup and start again now that I know playing around with software add on's is a bad idea in the root folder haha
try commenting out each line in that htaccess file. Just push a hash mark before each statement...
# Use PHP55 as default
#AddHandler application/x-httpd-php55 .php
#<IfModule mod_suphp.c>
# suPHP_ConfigPath /opt/php55/lib
#</IfModule>
Any luck with this?
Sorry for not responding, kinda got caught up working the issue. I did try commenting out the code in the .htaccess file, still wasn't working. I ended up just filing a ticket with hostgator to do a complete reset on my account after what you told me about always creating it in a sub folder. I started over created a subdomain and it all works like a champ now. Your tutorials are incredibly helpful, I look forward to your next videos. Thank you.
No worries. I am glad you worked it out. Sometimes starting with a clean slate is the best way to do it! More videos soon!
Does anyone know what you need to include in the .htaccess file for hostgator.com so you can access and edit the admin directory without getting a 404 server error?