hostingboss Posted May 30, 2014 Report Share Posted May 30, 2014 Hello, I just noticed that in emails *SOME* of the links point to the wrong address. Like when paying an invoice from and email it would be like: http://my.hostingboss.net/chroot/home/hostingb/my.hostingboss.net/html/index.php/client/pay/method/10/ In other emails its fine, like the password reset email. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted June 1, 2014 Report Share Posted June 1, 2014 Yeah, I can put in a ticket through your system since I have my license from you. Sure can you do that for me please. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted May 30, 2014 Report Share Posted May 30, 2014 Hello mate, Looks like your using Interworx. please do the following: nano /home/username/domain-name.com/html/my/.htaccess ADD this line: RewriteBase / Eg: RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php Now go to Company Settings: Settings > System > General now go to: Root Web Directory Ensure it is: /chroot/home/username/domain-name.com/html/my/ Your cron must be: /usr/bin/php /home/username/domain.com/html/my/index.php cron --- on your Cron setting on InterWorx do the following: Hosting Features > Cron Jobs > Cron Options > Edit SHELL > /bin/bash > update Hope this helps mate. Quote Link to comment Share on other sites More sharing options...
0 hostingboss Posted June 1, 2014 Author Report Share Posted June 1, 2014 Hello, Did this and now the admin interface redirects to the home. Thanks! ######################################################## # package: minPHP # filename: .htaccess ######################################################## <Files ~ "\.(pdt)$"> order deny,allow deny from all </Files> # Protect against Clickjacking #Header append X-Frame-Options "SAMEORIGIN" RewriteEngine on # Force HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php Quote Link to comment Share on other sites More sharing options...
0 Michael Posted June 1, 2014 Report Share Posted June 1, 2014 Ok try it without the rewriteBase bit. :s If the links don't work then I don't know why it's playing up. Quote Link to comment Share on other sites More sharing options...
0 hostingboss Posted June 1, 2014 Author Report Share Posted June 1, 2014 Hello, Does the same without the rewrite base. (Hadn't used the htaccess before this) Quote Link to comment Share on other sites More sharing options...
0 Michael Posted June 1, 2014 Report Share Posted June 1, 2014 Hello, Does the same without the rewrite base. (Hadn't used the htaccess before this) Weird do you have teamviewer so I can check your installation for you? Quote Link to comment Share on other sites More sharing options...
0 hostingboss Posted June 1, 2014 Author Report Share Posted June 1, 2014 Yeah, I can put in a ticket through your system since I have my license from you. Quote Link to comment Share on other sites More sharing options...
Question
hostingboss
Hello,
I just noticed that in emails *SOME* of the links point to the wrong address. Like when paying an invoice from and email it would be like:
http://my.hostingboss.net/chroot/home/hostingb/my.hostingboss.net/html/index.php/client/pay/method/10/
In other emails its fine, like the password reset email.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.