i***@gmail.com
2015-12-07 14:54:13 UTC
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,
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,