• How to do Per User alias/rewrite

    From iamjhlee@gmail.com@21:1/5 to All on Mon Dec 7 06:54:13 2015
    Hi:

    Our customers access our service like https://ourservice.com/customer1/orders/list, https://ourservice.com/customer1/books/read, https://ourservice.com/customer1/cars/loan,

    while /customer1/ can be /customer2/, /customer3/...

    We can let server write a text file to list customer names, or we have folder names in path like /opt/ourapp/app/config/customer1, so we can make apache check if customer name exist

    Our images, js, css locate in /customer1/img, /customer1/js, /customer1/css

    If url not our customer, like /invalidcustomer, we wish to redirect to another site, like http://ourweb.com

    How should I configure httpd.conf?

    Thanks,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From iamjhlee@gmail.com@21:1/5 to All on Mon Dec 7 07:06:32 2015
    iamj...@gmail.com於 2015年12月7日星期一 UTC+8下午10時54分15秒寫道:
    Hi:

    Our customers access our service like https://ourservice.com/customer1/orders/list, https://ourservice.com/customer1/books/read, https://ourservice.com/customer1/cars/loan,

    while /customer1/ can be /customer2/, /customer3/...

    We can let server write a text file to list customer names, or we have folder names in path like /opt/ourapp/app/config/customer1, so we can make apache check if customer name exist

    Our images, js, css locate in /customer1/img, /customer1/js, /customer1/css

    If url not our customer, like /invalidcustomer, we wish to redirect to another site, like http://ourweb.com

    How should I configure httpd.conf?

    Thanks,

    Need to do it without restart or reload apache

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)