Re: Newbie! How to set alias with Apache configuration GUI

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

 



On Fri, Oct 03, 2003 at 11:20:02PM +0100, Rui Miguel Cruz wrote:
> Hi!
[...snip...]
> I'm using Apache as web server, and i don't know how to implement a
> directory alias in the Apache (like a virtual directory in the Win IIS).
> Suppose my web server has the following base name: "/www.my_server.com/"
> and it is associated with the directory "/my_dir/www_dir".
> 
> My problem is that i need to associate the following directory
> "/misc_dir/food_dir" with the link "/www.myserver.com/food". 
> 
> I'm using the Apache GUI provided with Linux RedHat 9.
Well, what you need to do is check out the mod_rewrite.
It should work like this:

    RewriteEngine On
    RewriteRule ^/food/ /misc_dir/food_dir/

> 
> Can any one help me, please.
I hope I did... ;o)
> 
> 
> Thanks
> 
> Rui Cruz

best regards
Klaus

> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
Klaus Zahradnik
Systemadministrator iNet Gruppe
T: +43 2622 244 8032
H: +43 6991 444 8006
I: www.inetgruppe.at


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux