NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page .htaccess and addon problem

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-22-2006, 02:32 AM THREAD STARTER               #1 (permalink)
Hari ng Sablay
Join Date: Jun 2005
Posts: 3,529
bentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond reputebentong has a reputation beyond repute
 


VA Tech Memorial Ethan Allen Fund AIDS/HIV Save a Life Protect Our Planet Protect Our Planet

.htaccess and addon problem


Quote:
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
????: NamePros.com http://www.namepros.com/programming/199845-htaccess-and-addon-problem.html
RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.maindomain\.com [NC]
RewriteRule ^(.*)$ http://www.maindomain.com/$1 [L,R=301]
I have this 301 redirection on public_html for my main domain/acct however when I tried adding an addon, I always redirected to maindomain.com/addon when I type addon.com on the address bar.
bentong is offline  
Old 05-25-2006, 08:20 PM   #2 (permalink)
NamePros Legend
 
weblord's Avatar
Join Date: Dec 2005
Location: Philippines - www.Nabaza.com
Posts: 19,785
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
 


Autism Protect Our Planet
what if you remove the .htaccess file or disable it first by renaming it? what happens then?
__________________
Nabaza.com - Amaia
weblord is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:52 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger