mod rewrite and addon domains

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

mod rewrite and addon domains

Post by s.dot »

I am trying to add a domain to my existing hosting and point it to the directory /support.

It wasn't working, so I opened a support ticket, and this is what the guy said.
The rewrite rules from your .htaccess file in the public_html directory are interfering. From the error log in cPanel:
File does not exist: /home/scottttt/public_html/support/home/scottttt/public_html/showme.php
It's trying to send users to that page.
This is my rewrite rule:

Code: Select all

RewriteRule ^([a-zA-Z0-9_-]+)(/)?$ showme.php?u=$1
Is there anyway I can modify that to not interfere, or am I pretty much stuck? :-P
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply