Addon domain problem

New to mod_rewrite? This is a good place to start.

Addon domain problem

Postby Me » Mon Oct 04, 2004 11:04 pm

Hi all,

I have an addon domain,, parked to
When i try to access a gallery i installed on the addon domain (cpanel server), as, it got redirected to the subdomain -
I resolved this by addign modifying my httpd.comf - serveralias *
Now, if i take in a browser, it does not redirect me to
But if i try this without the trailing slash,, it gets redirected to the subdomain.

What i want is, when a user types in or, he should be taken to the url
But if he types in, he should not be redirected.
Can this be implemented using mod_rewrite, if so, can anybody provide the code?

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 10 guests