Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th June 2007, 16:11
ADM ADM is offline
Junior Member
 
Join Date: Apr 2007
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default www.domain.com/folder redirect to www.domain.com/users/webNN_XYZ

As for subject may you help to create this kind of folder redirect:

www.domain.com/folder

redirects to:

www.domain.com/users/webNN_XYZ

I know that there is a default redirect such as:
www.domain.com/~webNN_XYZ
But I would like to create the redirect using co-domains.

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 20th June 2007, 08:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,669
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
 
Default

You can do the redirect with apache rewrite rules. Plaese have a look here for examples:

http://httpd.apache.org/docs/1.3/misc/rewriteguide.html

The examples will work with apache 2 too. You can put the rewrite rules in the apache directives field of the website in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spam Strategy...No redirect??? faraday G Feature Requests 12 19th June 2007 13:21
Redirect question {SERVERNAME} for webmail Herbert Installation/Configuration 15 15th January 2007 14:05
Apache 301 redirect - file names with spaces hairydog2 General 2 8th January 2007 00:29
Upgrade to 2.2.6 puts # Redirect # NOT SUPPORTED ppettigrew Installation/Configuration 3 29th September 2006 10:52
Can you advice for Redirect and web home name? datayoung Installation/Configuration 6 13th August 2006 19:44


All times are GMT +2. The time now is 13:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.