1 Reply Latest reply on Jun 3, 2005 4:57 PM by Darran Lofthouse

    Redirecting /~* to an external server

    Ryan Ogaard Newbie

      Hello All...

      This posting is an act of desperation! :-) My company is within 1 hour of its expected launch time for its new Web site, and we have discovered that we need to accomplish the following to make this a successfull launch!...

      We need to configure JBoss to redirect all requests to /~* (* implies any name) to an external Web server. My partner and I have read through many, many pages within the forums, wiki, and other Web sites and have tested many different configurations without success. Does anyone have any specific instructions on how to make this work? We are running JBoss 4.0.1.

      Again, an answer that resolves this issue would be fantastic and is desperately needed! Thank you in advance for your time and consideration...

      The following block of text was being used in our apache conf file to accomplish this same task prior to our usage of JBoss.

      -----
      <VirtualHost ...>
      ServerAdmin ...
      DocumentRoot /export/home/www/.../.../
      ServerName ...
      ServerAlias ...
      ErrorLog /usr/local/www/Logs/srt-error_log
      CustomLog /usr/local/www/comftp/testsrt/logs/srt-access_log combined
      ScriptAlias /cgi-bin/ /export/home/www/.../.../cgi-bin/
      ScriptAlias /_vti_bin/_vti_adm/ /export/home/www/.../.../_vti_bin/_vti_a
      dm/
      ScriptAlias /_vti_bin/_vti_aut/ /export/home/www/.../.../_vti_bin/_vti_a
      ut/
      ScriptAlias /_vti_bin/ /export/home/www/.../.../_vti_bin/
      RedirectMatch /~(.*) http://www.site.com/~$1

      --------