I'm using Magento 184.108.40.206 on a CentOS VPS.
I'm trying to copy my Magento store from a web hosting server to my backup server(The VPS)
I ensured mod_rewrite was on for apache, the front-end now works properly. But now i'm unable to access the admin. Or i can but under really weird circumstances.
For instance, i'll access the admin panel typing in
and the panel loads up. I try in credentials but then the web url goes to
To fix this, i manually add a / between website and index.php. Appearing like /website/index.php. It works for that single page, but if you click on something else, the intialy error will appear.
I looked into the apache Error_log and it just mentions
script '/var/www/html/websiteindex.php' not found or unable to stat
Things I've tried:
- Ensured Mod_rewrite is working. Works on the front end.
- Applied MYSQL Query search mentioned here Error 404 - Can't access backend after moving to new server
- .htaccess has AllowOverride all at
- Access admin panel by typing
/IP ADDRESS/website/index.php/admin.Initial error occurs