Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Redirect
Results 1 to 9 of 9

Thread: Redirect

  1. #1

    Redirect

    apache-1.3.23

    When users access web site they type in http://intranet/legal/advise/apps/booklet/info.html

    Is it possible to make it more usr-friendly.....I tried in httpd.conf:

    Redirect /legal http://intranet/legal/advise/apps/booklet/info.html (in one line)
    but it doesn't work.
    legal - is just a logical name, not existing directory.

    Is there any way to make it work?
    thx.

  2. #2

    Re: Redirect

    [s]DNS entry? giving "legal" the same IP as intranet? just a guess tho'[/s]

    Sorry, reread the question, and actually read it right the second time :

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re: Redirect

    Why not put a index.html page in /legal that meta refreshes to the full path of the file you want?

  4. #4

    Re: Redirect

    [s]hey! i did not know i could stricke out stuff[/s]
    groovy !

  5. #5

    Re: Redirect

    I'm not that good with apache management. All I want is let's say simplyr redirect http://myserver/index.html to http://myserver/legal/booklet/info.html.

    In IIS I can simply say that index html is a redirection to http://myserver/legal/booklet/info.html.
    For well known reason I don't wanns use IIS, I've got everything running on apache and this redirection thing is the last thing I have to configure ...

  6. #6

    Re: Redirect

    Set the DocumentRoot in your httpd.conf to be /usr/local/apache/htdocs/legal/booklet (or whatever the absolute path to apache is), then add info.html to the DirectoryIndex line.

    That will do the trick, but will also change the location of your document root to legal/booklet.

  7. #7

    Re: Redirect

    I'll try that . thx.

  8. #8

    Re: Redirect


    Why not put a index.html page in /legal that meta refreshes to the full path of the file you want?
    Wow, don't scary the apache newbie with 'meta refreshes to the full path' things
    I think you're talking html editing of the page but not sure....
    Even if my guess is right it is way over my head, unless you provide me with exact syntax :-)

  9. #9

    Re: Redirect

    <META works!. I did some digging on the internet...after all it is pretty simple. Thanks for the tip.

Similar Threads

  1. redirect traffic inside NAt to appear to come from outside.
    By frostbolt in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-09-2010, 04:08 PM
  2. How to redirect to the other server
    By re3bo0t in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 11-18-2009, 02:30 AM
  3. ProxyPass or Redirect in Apache
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-02-2007, 04:12 AM
  4. how to redirect traffic from one server to another
    By orko in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-10-2006, 04:15 PM
  5. Redirect using MSPL
    By edwardgonen in forum Windows - General Topics
    Replies: 0
    Last Post: 09-19-2005, 12:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •