homepage Welcome to WebmasterWorld Guest from 54.196.18.51
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
WildCard Redirect subdomain issue.
chetanmadaan




msg:4680365
 5:10 pm on Jun 16, 2014 (gmt 0)

Hi -

i have a web server with plesk control panel where it has wild card redirect setup for all existing subdomains.

The wild card redirect to my knowledge only works for subdomains that are created through the control panel.

What i am trying to do:

is setup the wild card redirect in a manner so that it could not redirect oneof the domains but would redirect all others.

 

phranque




msg:4680385
 8:08 pm on Jun 16, 2014 (gmt 0)

precede the relevant RewriteRule for the hostname canonicalization redirect with a RewriteCond to exclude the one subdomain.

lucy24




msg:4680387
 8:26 pm on Jun 16, 2014 (gmt 0)

Reading between the lines, the OP has not yet made the acquaintance of his actual .htaccess file (I assume the control panel creates one). So there may be a lot of other things that require cleanup at the same time.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved