[users@httpd] Newbie problem: Redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm trying to get Redirect to work under Apache 2.0.50 on a Linux
system.  I'm new at this, so I have every reason to believe that this
is something really stupid that I just don't see in the documentation.

I have built Apache from source; the mod_alias module comes up in
httpd -l.

The following snippets from my httpd.conf seem relevant.

#
# Redirect allows you to tell clients about documents which used to
# exist in
# your server's namespace, but do not anymore. This allows you to tell
# the
# clients where to look for the relocated document.
# Example:
# Redirect permanent /foo http://www.example.com/bar
Redirect temp /public/current/file/0/benfell/dish http://www.vmcsatellite.com/channels/dish_splash.cfm?aid=157038

<VirtualHost dish.greybeard95a.com>
    ServerAdmin benfell@xxxxxxxxxxxxxxxx
    ServerName dish.greybeard95a.com
    DocumentRoot /public/current/file/0/benfell/dish
    ErrorLog logs/dish.greybeard95a.com-error_log
    CustomLog logs/dish.greybeard95a.com-access_log common
    Redirect temp /public/current/file/0/benfell/dish http://www.vmcsatellite.com/channels/dish_splash.cfm?aid=157038
</VirtualHost>

Instead of redirecting, it came up with a directory listing.  I have
since inserted a web page there and that appears, but I'm still
wondering why the Redirect didn't work.

-- 
David Benfell, LCP
benfell@xxxxxxxxxxxxxxxxx
---
Resume available at http://www.parts-unknown.org/resume.pdf

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux