[users@httpd] Problem with Redirect

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

 



I have not been able to get Redirect to work.  Particulars
are below.  Advice would be much appreciated.

Thanks,
Mike.

--
Michael D. Berger
m.d.berger@xxxxxxxx 
--

DNS has cnames www.mysite.net and test.mysite.net

Linksys routes port 80 to 192.168.1.10

On 192.168.1.10, running RH-E-WS-3:
   (I will soon install WS-4, but it is 235 days since the
    last reboot, and I loathe to stop it.)

rpm -q httpd httpd-2.0.46-25.ent

In /etc/hosts:

192.168.1.11   test.mysite.net

In httpd.conf:

<VirtlHost 192.168.1.10>
   ServerName www.mysite.net
   DocumentRoot "/var/www/html/www"
</VirtualHost>

<VirtlHost 192.168.1.10>
   ServerName test.mysite.net
#   DocumentRoot "/var/www/html/www"      # I tried with and without this
   Redirect /index.html http://test.mysite.net/index.html
</VirtualHost>

# I tried numerous versions of Redirect and RedirectMatch.

#From a remote site, http://test.mysite.net finds nothing, although
#192.168.1.10 shows 302 in its log.

#From 192.168.1.10, telnet test.mysite.net 80 followed
#by GET succeeds as expected.



---------------------------------------------------------------------
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