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

Apache Web Server Forum

IMPORTANT: Please Use Example.com For Domain Names in Posts
Please Read Before Posting

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4452736 posted 12:04 am on May 13, 2012 (gmt 0)

To start with, it's against the WebmasterWorld TOS [webmasterworld.com] and the Apache Forum Charter [webmasterworld.com] to use your own domain names in posts because of issues with self-promotion, spamming and site reviews.

However, there are also technical issues involved and example.com is filtered out from the way WebmasterWorld's software formats URLs.

Case #1 - Sample without example.com:

When you enter text like this using some other domain name:
Rewriterule ^somepath/(.*) http://www.webmasterworld.com/

WebmasterWorld will convert it to look as follows:
Rewriterule ^somepath/(.*) [webmasterworld.com...]

The above sample gets altered and is basically unusable Apache syntax.

Case #2 - Sample with example.com:

Rewriterule ^somepath/(.*) http://example.com/

Note that the sample using EXAMPLE.COM will produce correctly formatted URLs and is viable Apache syntax. When you copy and paste the code into your Apache conf file or .htaccess file, simply replace example.com with your specific destination or source domains as needed.

Thanks in advance for your cooperation.

IncrediBILL, Apache moderator


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