var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
addon / redirect
Something (bug) in cpanel (nothing new in cpanel)
Have a main domain setup on the account. Added an addon domain. Want the MAIN domain to redirect to another link within the same main domain.
http://maindomain.com >> http://maindomain.com/folder/index.php
it works, but it causes the addon domain to redirect to that link also. It should now.
Anyone know about this?
This is not working (404)
Redirect /index.html http://www.domain.com/nk/index.php
This is not working either
Redirect / http://www.domain.com/nk/index.php
I need help on this...maybe a bug?
A few questions:
What is the local path to the main domain?
What is the local path to the addon domain?
Where is the .htaccess with the redirect located?
Local path to main domain would be the default /home/user/public_html
Local to addon is /home/user/public_html/addondomainfolder
.htaccess is in /home/user/public_html
.htaccess in root shows
Redirect permanent /index.html http://www.domain.com/addondomainfolder/index.php
This is aggravating!
addon.com is redirecting to main.doma
I deleted all instances of the addon from /var/cpanel/users, named.conf, httpd.conf, etc. and re-added it fresh. I deleted .htaccess file and redid the MAIN domain redirect via cpanel as
http://main.com to http://main.com/folder/index.php
now the main redirects fine, but addon STILL redircects to main domain???