Re: [users@httpd] redirect without changing URL?

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

 



>> You could use
>> AliasMatch ^/group/$ /var/www/html/log/path/to/group/overview.html
>> Alias /group/ /var/www/html/log/path/to/group/
>>
>
> The above config triggers the following warning:
>
> [warn] The Alias directive in /etc/httpd/conf.d/dept.conf at line 19 will
> probably never match because it overlaps an earlier AliasMatch.
>
> Also I noticed IE (6) and Firefox handle it differently.  IE 6 shows
> http://www.dept.some.edu/group fine.  But FF returns page not found.
> Hmmm.

After changing it to

AliasMatch ^/group/$ /var/www/html/long/path/to/group/overview.html
Alias /group /var/www/html/log/path/to/group

the warning is gone and http://www.dept.some.edu/group behaves fine in all
the browsers I have.

Bing

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