Re: mod_rewrite question

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

 



Hi,
have you considered to use 'aliases' for simple URI?
http://httpd.apache.org/docs/2.2/mod/mod_alias.html
Regards,
Rado


On Tue, Sep 25, 2012 at 11:25 PM, Ashley M. Kirchner <kirash4@xxxxxxxxx> wrote:
> Hi folks,
>
> I'm hoping someone can help me figure this out.  We own the domain
> 'fairviewbands.org' which at the moment is a redirect to our school's
> page at 'fairviewhs.org/sites/band'.  If you visit that page, there
> are several menu items on the left.  All of them (except the Overview
> and Calendar ones) are pointing to /pages/<page-name>
>
> Here's what I'd like to do:
>
> http://www.fairviewbands.org/   should display
> http://www.fairviewhs.org/sites/band
> http://www.fairviewbands.org/marching   should display
> https://www.fairviewhs.org/sites/band/pages/marching
> (there are no pages with an actual extension)
>
> Basically, any of those menu items can be called directly if you typed
> in the actual URL: www.fairviewhs.org/sites/band/pages/<page-name>
> So we'd like to, in addition to that, have it so that one can tack the
> <page-name> to the other URL as well, but without needing the 'pages'
> part, so: www.fairviewbands.org/<page-name>
>
>
> Is this possible?  And is it possible to somehow make the Calendar
> link also function the same way, even though it does not point to a
> /pages/calendar, but simply /calendar
>
> And lastly, can this be done while keeping the displayed URL (in the
> browser window) as 'fairviewbands.org' as opposed to what we're doing
> now, which is a plain redirect to the actual URL?
>
> Thanks!
>
> KirAsh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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