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

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

 



> Start here:
> http://httpd.apache.org/docs/2.2/urlmapping.html
>
> What you want is probably a simple Alias.
>
> But note that it is best not to have two permanent URLs mapping to the
> same place.  So you should make one URL or the other be a Redirect.

Thanks for the quick response.  What if I need
http://www.dept.some.edu/group to go to the overview.html rather than the
index.html in the /var/www/html/long/path/to/group directory, if adding
'overview.html' to DirectoryIndex in the httpd.conf file is not an option?
 I'd try Alias first. Failing that, I would try mod_rewrite next.  So I
tried

Alias /group/index.html /var/www/html/long/path/to/group/overview.html

When I go to http://www.dept.some.edu/group, I got page not found.

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